Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 15th April 2007, 16:03
pne pne is offline
Member
 
Join Date: Feb 2007
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts
Default Syntax error? Vhosts_ispconfig.conf

Syntax error on line 48 of /etc/apache2/vhosts/Vhosts_ispconfig.conf:
Invalid command 'php_admin_flag', perhaps mis-spelled or defined by a module not included in the server configuration

Same with php_admin_value and so :/ The webserver is down


EDIT:

It started when i added this to apache2.conf
# Use for PHP 4.x:
LoadModule php4_module /usr/lib/apache2/modules/libphp4.so
AddHandler php-script php

But gave theese errors:
* Starting web server (apache2)...
[Sun Apr 15 16:29:02 2007] [warn] VirtualHost *:80 overlaps with VirtualHost *:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Sun Apr 15 16:29:02 2007] [warn] VirtualHost *:80 overlaps with VirtualHost *:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Sun Apr 15 16:29:02 2007] [warn] VirtualHost *:80 overlaps with VirtualHost *:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Sun Apr 15 16:29:02 2007] [warn] VirtualHost *:80 overlaps with VirtualHost *:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Sun Apr 15 16:29:02 2007] [warn] VirtualHost *:80 overlaps with VirtualHost *:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Sun Apr 15 16:29:02 2007] [warn] VirtualHost *:80 overlaps with VirtualHost *:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Sun Apr 15 16:29:02 2007] [warn] VirtualHost *:80 overlaps with VirtualHost *:80, the first has precedence, perhaps you need a NameVirtualHost directive



Last edited by pne; 15th April 2007 at 16:30.
Reply With Quote
Sponsored Links
  #2  
Old 15th April 2007, 17:33
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,461
Thanks: 813
Thanked 5,245 Times in 4,111 Posts
Default

Quote:
It started when i added this to apache2.conf
# Use for PHP 4.x:
LoadModule php4_module /usr/lib/apache2/modules/libphp4.so
AddHandler php-script php
How was PHP configured before you edited this? Are you sure that the apache PHP module is loaded correctly?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 15th April 2007, 22:41
pne pne is offline
Member
 
Join Date: Feb 2007
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Quote:
Originally Posted by till
How was PHP configured before you edited this? Are you sure that the apache PHP module is loaded correctly?
I got no idea.. :/
Atleast it works now .. sorta good, no errors yet
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help Stats Webalizer jfruano Installation/Configuration 2 27th February 2007 13:03
Frustrated with ISPConfig install! woozyerdaddee Installation/Configuration 4 19th May 2006 03:38
Installation Fails... :( cyberstorm Installation/Configuration 1 15th January 2006 18:07
Could not make OpenSSL yontengyatso Installation/Configuration 3 3rd November 2005 10:50
Install stop at uuwish, UUDeview SeaWolf Installation/Configuration 6 4th October 2005 23:53


All times are GMT +2. The time now is 11:29.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.