Re: php.ini under Windows

From: Date: Fri, 24 Mar 2000 09:26:39 +0000
Subject: Re: php.ini under Windows
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-17191@lists.php.net to get a copy of this message
Zeev Suraski wrote: > > For historical reasons (in other words, I have no idea why it's like > that), under Windows, PHP will refuse to start up if it doesn't find the > php.ini file. Especially under ISAPI when this error cannot be conveyed > to the user, this can be quite problematic. > Does anyone see the point in this behavior? I want to change it so that > PHP will happily start up under Windows, regardless of the availability of > the php.ini file, like it does under other platforms. Given the current implementation (which we already said we'll change in the future, and I'm planing on giving it a look sometime during the next month or so), I personaly think it is a bad idea. Remember : if no php.ini file is parsed, configuration_hash is empty, so get_cfg_var() always returns an empty string, and that's _very_ confusing. Flavien Lebarbe --- Open Care.

« previous php.dev (#17191) next »