Newbee - HOW CAN I REMOVE suPHP

Discussion in 'Installation/Configuration' started by lincolnpixel, Apr 7, 2007.

  1. lincolnpixel

    lincolnpixel New Member

    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!!!
     
  2. Hans

    Hans Moderator Moderator

    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
     

Share This Page