note 125200 rejected from install.pecl.windows by cmb
| From: | cmb@php.net | Date: | Wed, 10 Nov 2021 14:55:15 +0000 |
| Subject: | note 125200 rejected from install.pecl.windows by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-217177@lists.php.net to get a copy of this message | ||
Note Submitter: peteb at airpost dot net
----
This is not really true all the time:
"However, some web servers are confusing because they do not use the php.ini located alongside
your PHP executable. To find out where your actual php.ini resides, look for its path in phpinfo():
Configuration File (php.ini) Path C:\WINDOWS"
Ignore the path being C:\windows
This issue goes back over a decade.
Php is hardwired to display "C:\windows" even though there is not any php.ini at that
location.
Moving php.ini to C:\windows will accomplish nothing.
I have seen many posts about folks complaining that they can't get it to stop displaying
"Path C:\windows". I have not seen anything posted that fixes this and a few posts that
claim it is hardwired to display this.
I have both working and broken php setups on various windows machines and they all say this same
"c:\windows" even though my php.ini file is in c:\php.
I know apache is using the file c:\php\php.ini and not the windows directory because there is no
php.ini in windows directory and changes to my php.ini file work fine even though the info from
phpinfo is wrong on this line.