[Nottingham] Debian/apache2/suphp problems

Richard Hayes ricky at domainarena.net
Mon Mar 12 11:42:48 GMT 2007


> Richard,

Hello. Thanks for the reply!

> Try putting the following into the VertualHost for the time being:

>  AddHandler x-httpd-php .php .php3 .php4 .php5
>  suPHP_AddHandler x-httpd-php

I tried this, and when I restart apache, it says:

ns:/etc/apache2# /etc/init.d/apache2 force-reload
Forcing reload of web server: Apache2Syntax error on line 40 of 
/etc/apache2/sites-enabled/domainarena.com:
Invalid command 'suPHP_AddHandler', perhaps mis-spelled or defined by a 
module not included in the server configuration

So I made sure (again!) that mod_suphp is installed:

ns:/etc/apache2# a2enmod suphp
Module suphp installed; run /etc/init.d/apache2 force-reload to enable.

And after restarting apache, I am given the same error ....

I've been tinkering all morning, and still no luck yet!

-- Ricky

$stress_level++;

^^ 




More information about the Nottingham mailing list