View Single Post
  #1  
Old 24th March 2006, 09:10
danf.1979 danf.1979 is offline
Senior Member
 
Join Date: Dec 2005
Location: Chile
Posts: 247
Thanks: 4
Thanked 3 Times in 2 Posts
Send a message via MSN to danf.1979
Default Problem with suphp

Hi:

I have installed and configured suphp. It is running flawlessly, BUT, I had to remove this line from the vhosts, because it gave me errors:
Code:
php_admin_flag safe_mode Off
I installed lib-apache-mod-suphp, but had to uninstall lib-apache-mod-php4 and php4. Also I had to remove the LoadModule php4_module from modules.conf.
Then when restarting apache I got the following errors:
First one:
Syntax error on line 31 of /etc/apache/vhosts/Vhosts_ispconfig.conf:
Invalid command 'php_admin_flag', perhaps mis-spelled or defined by a module not included in the server configuration

Second one:
Syntax error on line 31 of /etc/apache/vhosts/Vhosts_ispconfig.conf:
Invalid command 'safe_mode', perhaps mis-spelled or defined by a module not included in the server configuration


I know ISPConfig is going to enter those config lines again, so what can I do to prevent this? Thank you for your time.

For anyone who wants to run suphp: http://www.debian-administration.org/articles/84
Reply With Quote
Sponsored Links