Re: suPHP vs. Squeeze
Achikbache Guilhem <
guilhem@...>
2011-02-25 13:58:43 GMT
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
(Continue reading)