[php-maint] Bug#594571: libapache2-mod-suphp: conflicts with libapache2-mod-php5

Roger Pettersson noname at tele2.se
Wed Sep 15 01:16:28 UTC 2010


Hi!

Isnt it easier to just disable php engine with php_admin_flag engine off.

<IfModule mod_suphp.c>
    AddType application/x-httpd-php .php .php3 .php4 .php5 .phtml
    suPHP_AddHandler application/x-httpd-php

    <Directory /var/www>
        suPHP_Engine on
        php_admin_flag engine off
    </Directory>

    <Directory /var/vhosts>
        suPHP_Engine on
        php_admin_flag engine off
    </Directory>

    # By default, disable suPHP for debian packaged web applications as files
    # are owned by root and cannot be executed by suPHP because of min_uid.
    <Directory /usr/share>
        suPHP_Engine off
        RemoveHandler .php
        php_admin_flag engine on
    </Directory>

# # Use a specific php config file (a dir which contains a php.ini file)
#   suPHP_ConfigPath /etc/php4/cgi/suphp/
# # Tells mod_suphp NOT to handle requests with the type <mime-type>.
#   suPHP_RemoveHandler <mime-type>
</IfModule>





More information about the pkg-php-maint mailing list