The fix was easy; I just commented out the indicated lines in
/etc/apache2/mods_enabled/php5.conf
, and everything works again! The trick was finding any file that even mentions "re-enabling php..." (Sheesh, I'd RTFM if it were as up to date as the software it's supposed to document!)dave@Skoojewa:/etc/apache2/mods-enabled$ cat 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>
# To re-enable php in user directories comment the following lines
# (from <ifmodule ...> to </IfModule>.) Do NOT set it to On as it
# prevents .htaccess files from disabling it.
### commented out 7/31/2010 dco
###<ifmodule mod_userdir.c>
### <directory /home/*/public_html>
### php_admin_value engine Off
### </Directory>
###</IfModule>
</IfModule>
Still, I do wonder what happened to
apache2-mpm-prefork
... Documentation? What documentation? "The code is obvious."Or not.
Thanks, just ran into the same issue.
ReplyDeleteThanks, you resolved my problem under Debian squeeze.
ReplyDelete