#1  
Old 24th March 2006, 08: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
  #2  
Old 24th March 2006, 08:28
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 35,487
Thanks: 813
Thanked 5,256 Times in 4,121 Posts
Default

You can change the function make_vhost in the file /root/ispconfig/scripts/lib/config.lib.php
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 24th March 2006, 08:34
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

Thanks Till,
Argh!! It is not working right. I tested it with system("id"); and it worked, but now my portal is a nice blank page... Any clue?? I was beginning to like this suphp mod
Reply With Quote
  #4  
Old 24th March 2006, 09:21
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

The problem was that php.ini was reset to default. As I uninstalled php4, a new php.ini (/etc/php4/cgi/php.ini) was created, so mysql.so was commented out. Thats why I got a blank page on the portal.
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
Strange email problem for one of my domains... any help appreciated paulrobert_a Installation/Configuration 5 9th August 2010 14:15
Problem with https and IE on Mac os and safari DarkBen Installation/Configuration 11 29th September 2006 17:45
SMTP TLS Problem with Mail Client dschmid Installation/Configuration 1 9th December 2005 01:56
Problem with UebiMiau sodapop General 4 25th November 2005 09:51
Problem with webmail MyLinux General 10 17th September 2005 14:31


All times are GMT +2. The time now is 09:17.


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