[nycbug-talk] setting php.ini from httpd.conf

Charles Sprickman spork at bway.net
Tue Feb 27 02:17:42 EST 2007


On Tue, 27 Feb 2007, jeffrey.arnold wrote:

> On Tue, 27 Feb 2007, Charles Sprickman wrote:
>
>> However I want to run php in both and I want to have each read a different
>> php.ini.
>
> In your apache config file:
>
> PHPIniDir '/path/to/php/conf/php-foo.ini'
>
> I usually stick these in my <VirtualHost> config segments.

Thanks!  Works like a charm.

May I ask you where you found that?  Searching "phpinidir" on php.net 
turns up nothing...

Thanks,

Charles

> Best,
> -jba
> __
> [jba at analogue.net] :: analogue.networks.nyc :: http://analogue.net
>



More information about the talk mailing list