Topic: config suphp

A placer dans / etc / apache2 / conf.d

LoadModule suphp_module /usr/lib/apache2/modules/mod_suphp.so

<IfModule mod_suphp.c>

AddHandler x-suphp-cgi .pl .cgi .py
AddType application/x-httpd-php5 .php .php3 .php4 .php5 .pinc.p3

RemoveHandler .php .php3 .php4 .php5 .phtml

<FilesMatch "\.(php|php3|php4|php5|phtml|pinc|p3)$">
    SetHandler x-httpd-php5
</FilesMatch>

<Directory />
         suPHP_AddHandler x-httpd-php5
         suPHP_AddHandler x-suphp-cgi
</Directory>

suPHP_Engine on
suPHP_ConfigPath /usr/local/etc

</IfModule>