Re: Re: PHP 4.0 Bug #6302 Updated: php.ini will only getread when apache is started with -X (single-process)
| From: | Hartmut Holzgraefe | Date: | Wed, 23 Aug 2000 12:28:52 +0000 |
| Subject: | Re: Re: PHP 4.0 Bug #6302 Updated: php.ini will only getread when apache is started with -X (single-process) | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-30335@lists.php.net to get a copy of this message | ||
Stanislav Malyshev wrote:
>
> HH>> > I don't know how it worked you for -X...
> HH>>
> HH>> manifestation of a heisenbug ?!?
>
> No, I think it's because PHP tries to look in current directory and couple
> of other places for php.ini if it doesn't find it in specified place.
:-O yes, indeed!
maybe we should add a "Configuration read from: >filename<" line
immediately after "Configuration File Path" and change "File Path"
into something like "Search Path"?
one of the things that confused me yesterday was that it showed
"/usr/local/lib/php-4.0/php.ini" in there and i thought:
"Well, it sais _File_ Path, so it's ok it shows a filename"
or maybe startup code could check for is_dir(config_file_path) and
issue a message to the error log if it isn't ?
--
Hartmut Holzgraefe
hartmut@six.de http://www.six.de +49-711-99091-77 fax:-99