note 117648 added to configuration.file
| From: | edgardoboj at hotmail dot com | Date: | Tue, 14 Jul 2015 12:48:11 +0000 |
| Subject: | note 117648 added to configuration.file | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-203107@lists.php.net to get a copy of this message | ||
If you have multiple installations of PHP, and "php --ini" keeps loading the same
configuration file for every version instead of the configuration file on the installation path, it
might be worthy to check the windows registry.
I found a key on "HEKY_LOCAL_MACHINE\SOFTEARE\Wow6432Node\PHP\IniFilePath" that override
any installation, which cause "php --ini" to crash stating a version mismatch with the
extensions being loaded.
Deleting the key "HEKY_LOCAL_MACHINE\SOFTEARE\Wow6432Node\PHP" solved the problem.
I guess the key was created with a windows installer for IIS on FastCGI, but just guessing.
For the record, some of the errors thrown are:
"The procedure entry point php_sys_stat could not be located in the dynamic link library
php5.dll. "
"The procedure entry point php_checkuid could not be located in the dynamic link library
php5.dll. "
Hope someone with such a mess will find this useful.
----
Server IP: 72.52.91.14
Probable Submitter: 177.245.3.137
----
Manual Page -- http://php.net/manual/en/configuration.file.php
Edit -- https://master.php.net/note/edit/117648
Del: integrated -- https://master.php.net/note/delete/117648/integrated
Del: useless -- https://master.php.net/note/delete/117648/useless
Del: bad code -- https://master.php.net/note/delete/117648/bad+code
Del: spam -- https://master.php.net/note/delete/117648/spam
Del: non-english -- https://master.php.net/note/delete/117648/non-english
Del: in docs -- https://master.php.net/note/delete/117648/in+docs
Del: other reasons-- https://master.php.net/note/delete/117648
Reject -- https://master.php.net/note/reject/117648
Search -- https://master.php.net/manage/user-notes.php