Re: cvs: php4 /sapi/apache2filter apache_config.c php_apache.h sapi_apache2.c

From: Date: Thu, 18 Apr 2002 22:20:00 +0000
Subject: Re: cvs: php4 /sapi/apache2filter apache_config.c php_apache.h sapi_apache2.c
References: 1  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-11204@lists.php.net to get a copy of this message
On Thu, Apr 18, 2002 at 10:10:58PM -0000, Aaron Bannert wrote: > aaron Thu Apr 18 18:10:58 2002 EDT > > Modified files: > /php4/sapi/apache2filter sapi_apache2.c php_apache.h > apache_config.c > Log: > This patch implements a new Apache2 directive called PHPINIDir that > allows the specification of the php.ini directory from within the Apache > configuration. If left unset, the default is to defer to the hard-coded > php paths. When set, the supplied path is made relative to Apache's > internal ServerRoot setting. > > Example: > PHPINIDir "conf" > # PHP will now look in the ServerRoot/conf directory for the php.ini file I've only committed this against HEAD, shall I merge it into the 4.2.0 branch as well? It is very useful for easing cross-platform issues (environment variables for Win32 services are a hassle) and also allows for relocatable installation directories. I personally want it so I can set up a php.ini in my apache's conf/ directory and reenable the "register_globals" parameter. -aaron

« previous php.cvs (#11204) next »