[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#571714: apache 2.2.14 doesn't parse php5 in public_html



Package: apache2
Version: 2.2.14.5

After an update of apache2 and php5 by aptitude, apache2 stopped to
parse php scripts in ~/public_html/ : apache just let to download the
related .php files.
I tryed to change /etc/apache2/mods-available/php5.conf :
<IfModule mod_php5.c>
    <FilesMatch "\.ph(p3?|tml)$">
        SetHandler application/x-httpd-php
    </FilesMatch>
    <FilesMatch "\.phps$">
        SetHandler application/x-httpd-php-source
    </FilesMatch>
    <IfModule mod_userdir.c>
        <Directory /home/*/public_html>
            php_admin_value engine Off
        </Directory>
    </IfModule>
</IfModule>

I switched "php_admin_value engine Off" to On, but after restarting
apache, nothing changes.

Here are mods enabled on my system:
ls mods-enabled/
alias.conf            authz_user.load  dir.load          php5.load
alias.load            autoindex.conf   env.load          setenvif.conf
auth_basic.load       autoindex.load   mime.conf         setenvif.load
authn_file.load       cgi.load         mime.load         status.conf
authz_default.load    deflate.conf     negotiation.conf  status.load
authz_groupfile.load  deflate.load     negotiation.load  userdir.conf
authz_host.load       dir.conf         php5.conf         userdir.load

uname -a
Linux roadwarrior 2.6.32-trunk-686 #1 SMP Sun Jan 10 06:32:16 UTC 2010
i686 GNU/Linux


other configuration files are the same from package mantainer.





Reply to: