[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Testing apache1.3 and apache2 in parallel with PHP

Adam Kessel wrote:
> I understand php_flag is not supported in apache2,

It sure is!!!

> and thus it won't
> serve content from any directory where that instruction is in the
> .htaccess file.

I just recently fixed couples of site's setup by adding some php_flag
session.auto_start Off directives. IIRC for broken Joomla setup of some
customers after our migration. This was few days ago, running Lenny
(where only apache2 is available). So, 100%, it's supported.

> I haven't been able to figure out how to duplicate the
> setup we have with apache2--namely, PHP disabled by default, by
> overriden on a per-directory basis. I've tried php_value engine 1, but
> that doesn't seem to work.

AFAIR, there's no php_value, but php_admin_value instead.

> In any event, I'm concerned anything I do to
> make the htaccess files compatible with apache2 will break compatibility
> with apache1.3, so I won't be able to have everything running in
> parallel for testing.

With all the above being said, I'm not sure you could enable the php
engine in a .htaccess. That would need some testings, I guess.


Reply to: