Re: Testing apache1.3 and apache2 in parallel with PHP
Adam Kessel wrote:
> Sebastian Rose wrote, on 3/23/2009 1:39 PM:
>> Adam Kessel <firstname.lastname@example.org> writes:
>>> Thomas Goirand wrote, on 3/23/2009 12:40 PM:
>>>>> I understand php_flag is not supported in apache2,
>>>> It sure is!!!
>>> I was basing that on this:
>>> "Note that php_flag does not work with Apache 2. Neither does on /
>>> off — you
>>> must use 0 (off) or 1 (on)."
>>> Not correct?
>> No. It works.
>> NOTE the `IfModule' has to look like this:
>> <IfModule mod_php5.c>
>> php_value zend.ze1_compatibility_mode 0
>> php_value upload_max_file_size 50M
>> php_value max_execution_time 800
>> php_value register_globals 0
> Even with these settings, I still get this in error.log:
> .htaccess: php_flag not allowed here
First, you need to have a look at the AllowOverride directive of apache,
second, it seems that you are confusing php_flag and php_admin_value.
Are these 2 exactly the same? I don't think so. It's a kind of mess for
me to see all these:
I used to use only:
- php_admin_value (in my apache2.conf)
- php_flag (in my .htaccess)
Can anyone tell what's the truth about it? I'm puzzled now... :)