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 24th November 2006, 17:37
denmaus denmaus is offline
Member
 
Join Date: May 2006
Posts: 42
Thanks: 0
Thanked 0 Times in 0 Posts
Default Apache do not start after egroupware install and remove

Hello,

i have debian (php5 and mysql5 from backports.org) and ispconfig running good for some time, but after i have made following:

installed egroupware with apt-get (it installs some of php4 packages)
then i removed egroupware

Now apache did not start anymore, the error code is:
Quote:
Apache2Syntax error on line 45 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
httpd -t says:
Quote:
Syntax error on line 45 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
What was happen, anyone have a idea?
Reply With Quote
Sponsored Links
  #2  
Old 24th November 2006, 17:43
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,457
Thanks: 813
Thanked 5,230 Times in 4,099 Posts
Default

It looks like the removal of egroupware has removed mod_php too, so your apache webserver does not support PHP anymore. Please redo the php installation steps from the perfect setup for your linux distribution to reanable PHP5. I guess its debian or ubuntu?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 24th November 2006, 18:05
denmaus denmaus is offline
Member
 
Join Date: May 2006
Posts: 42
Thanks: 0
Thanked 0 Times in 0 Posts
Default ...problem still remains

Hello Till, thank you for fast reply

I hve reinstalled all of the php5 stuff and removed the php4 stuff with apt-get.

But the Problem still remains, httpd -t says the same and then i search for modphp i have:
Quote:
slocate libphp
/usr/lib/apache2/modules/libphp5.so
/root/ispconfig/httpd/libexec/libphp5.so
Reply With Quote
  #4  
Old 24th November 2006, 18:06
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,457
Thanks: 813
Thanked 5,230 Times in 4,099 Posts
Default

Please have a look at the directory /etc/apache2/mods-anabled/ if the mod_php5 module is enabled and loaded there.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 24th November 2006, 18:17
denmaus denmaus is offline
Member
 
Join Date: May 2006
Posts: 42
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default You Are The Best !!!

Thanks very much! php now running.

i have done the following:
Quote:
root@webserv2:/etc/apache2/mods-enabled# ls
cgi.load include.load rewrite.load ssl.conf ssl.load suexec.load userdir.conf userdir.load
root@webserv2:/etc/apache2/mods-enabled# ln -s /etc/apache2/mods-available/php5.conf .
root@webserv2:/etc/apache2/mods-enabled# ln -s /etc/apache2/mods-available/php5.load .
root@webserv2:/etc/apache2/mods-enabled# /etc/init.d/apache2 start
Starting web server: Apache2.
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
fastcgi and php with ispconfig tosser Installation/Configuration 14 18th January 2009 13:41
HowTo install ISPConfig on a STRATO-Server with Debian 3.1 TobiasTM Tips/Tricks/Mods 12 15th July 2008 10:08
About to install Debian Sarge 3.1 edge Server Operation 3 18th September 2006 21:53
fastcgi and php with ispconfig tosser Tips/Tricks/Mods 3 25th June 2006 21:01
Install question/issue wr19026 Installation/Configuration 8 12th January 2006 09:44


All times are GMT +2. The time now is 22:33.


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