Le -10/01/-28163 20:59, Daniel Llewellyn a écrit :
On 20 Feb 2011, at 17:41, Michelle Konzack wrote:

Hello Sebestyén Dénes,

Am 2011-02-18 12:17:53, hacktest Du folgendes herunter:
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 not a Bug in Squeeze but also in Lenny which I have reported
to the BTS long time ago!

That's not a bug at all. You can't expect to run the mod_php5 plugin
and mod_suphp at the same time. The former is what is configured by
the file /etc/apache2/mods-available/php5.conf. disable that config
file and enable the suphp one (if it isn't already) and bob will be
your proverbial uncle.

Actually, you can! I have already shared my config on using mod_php and
mod_suphp at the same time. I think it is required (on debian at least) because phpmyadmin and all other system wide web apps would be run as root... and then must be handled by mod_php and not suphp.

The whole point is about activating mod_suphp *before* mod_php, because
mod_suphp can be disabled at runtime, not mod_php; if mod_php is
configured first, it will handle all x-application-php types. But you
can configure suphp to be enabled for vhosts only.

Please read
https://lists.marsching.com/pipermail/suphp/2010-March/002322.html

PS : One more tip is available : run php4 AND php5 (or 6 or 7 or ...) at
the same time thanks to suphp !


Regards, The Honeymonster aka Daniel Llewellyn - [email protected]





<<attachment: guilhem.vcf>>

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

Reply via email to