Re: Supporting version specific INI files as well as SAPI specific INI files.
| From: | Richard Quadling | Date: | Tue, 18 Jul 2006 08:17:42 +0000 |
| Subject: | Re: Supporting version specific INI files as well as SAPI specific INI files. | ||
| References: | 1 2 3 4 5 6 7 8 9 10 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-24454@lists.php.net to get a copy of this message | ||
My main focus is on the Windows environment. I'm not in a position to
make any judgements about non windows platforms. As such, my patches
are to extend the capabilities of the windows precompiled binaries.
Most webservers should be able to map different extensions to
different handlers.
As I've said previously within this thread, I use Sambar Server with
PHP4 and PHP5 concurrently - .php4 files are handled via
c:\php4\php.exe (as a CGI) and .php/.php5 are handled via
c:\php5\php5isapi.dll (as an ISAPI module). In neither case can I
supply a config and I need PHP to determine its own appopriate file -
hence the patches.
On 17/07/06, Brian Moon <brianm@dealnews.com> wrote:
While the php.ini system is under consideration... and with an eye to the far future... what about an import directive to include another ini file? Not that it is exactly the same, but you have this in configure: --with-config-file-scan-dir=PATH Set the path where to scan for configuration files It is very useful for loading optional modules and such. I had never used it until I started using an emerged PHP build on Gentoo. Its quite nice. -- Brian Moon ------------- http://dealnews.com/ Its good to be cheap =) -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php-- ----- Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731