Hi

I had a problem with suPHP after upgrading to Squeeze. I managed to solve the problem, maybe I can help somes.

After the upgrade the suPHP-ed sites on my server wrote permission-related error messages. I found that the no suPHP logs were created after the upgrade, so I started to find the answer why.

Solution:
In the previous versions, the php5.conf apache configuration file had something like this:
    AddType application/x-httpd-php .php .php3 .php4 .php5 .phtml

After the upgrade. it changed to this:
<FilesMatch "\.ph(p3?|tml)$">
    SetHandler application/x-httpd-php
</FilesMatch>
<FilesMatch "\.phps$">
    SetHandler application/x-httpd-php-source
</FilesMatch>

This overrode the "AddType application/x-httpd-suphp .php" in the suphp.conf, that's why suphp never started.

So after all I removed the new lines, and added the old once again, to look like this:
# <FilesMatch "\.ph(p3?|tml)$">
#    SetHandler application/x-httpd-php
# </FilesMatch>
# <FilesMatch "\.phps$">
#    SetHandler application/x-httpd-php-source
# </FilesMatch>
    AddType application/x-httpd-php .php .php3 .php4 .php5 .phtml

Now it works perfectly for me :)

Hope I can help someone

Best regards:
Dénes Sebestyén
[email protected]

_______________________________________________
suPHP mailing list
[email protected]
https://lists.marsching.com/mailman/listinfo/suphp

Reply via email to