#1  
Old 7th April 2007, 20:27
lincolnpixel lincolnpixel is offline
Junior Member
 
Join Date: Apr 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Newbee - HOW CAN I REMOVE suPHP

Hi,
I'm new to all this... my problem is trying to install Ispconfig on a server, everything was working before, but later i tried to install suPhp packet and i screwed everything!!! i want to go back to my initial install but i've this error in the shell "Syntax error on line 12 of /etc/apache2/conf.d/virtual.conf:
Invalid command 'php_admin_value', perhaps misspelled or defined by a module not included in the server configuration"

The only thing i think i want to do is to remove suPhp, so please anyone ready to help should just try and give me a solution about removing it.
PLEASE!!!
Reply With Quote
Sponsored Links
  #2  
Old 8th April 2007, 00:57
Hans Hans is offline
Moderator
 
Join Date: Dec 2005
Location: Montfoort, The Netherlands
Posts: 2,256
Thanks: 212
Thanked 648 Times in 294 Posts
 
Default

To disable suPHP and enable php as a module again, please take the following steps:

Remove the line:
LoadModule suphp_module /usr/lib/apache2/modules/mod_suphp.so
Within /etc/apache2/httpd.conf.

Enable php4 as a module again.
(I asume that you've php in this example).
Command:
a2enmod php4

Now, within ISPConfig make a small modification to one of your webs, so that ISPConfig writes a new vhost file. For example enable cgi-scrips for one of your websites or so.

After that restart Apache2 with the command:

/etc/init.d/apache2 restart
__________________
Hans

MrHostman | Master in managed hosting
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
suPHP file permission catalyst General 14 7th March 2010 01:16
suPHP -couldn't create child process error tipsy HOWTO-Related Questions 10 26th November 2007 00:56
suPHP and mod_vhost_alias Wiesemarc HOWTO-Related Questions 0 6th November 2006 16:45
OpenSuSE 10 suphp and apache2? doom4 Installation/Configuration 1 19th September 2006 15:19
Problem with suphp danf.1979 Installation/Configuration 3 24th March 2006 09:21


All times are GMT +2. The time now is 18:15.


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