note 52910 deleted from install.windows.apache2 by cmb
| From: | cmb@php.net | Date: | Sun, 12 May 2019 15:55:18 +0000 |
| Subject: | note 52910 deleted from install.windows.apache2 by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-211028@lists.php.net to get a copy of this message | ||
Note Submitter: Isaac dot Brown at ArvinMeritor dot com
----
Some XP machines are having troubles with the PHPIniDir derective not finding the php.ini (or so
they think). Directories that do contain a php.ini file are returned as empty and it defaults to the
next method of finding php.ini (often C:/windows or C:/winnt).
This is likely caused by read permissions not being set correctly on NTFS file systems, however, it
has occurred when no cause could be identified. If setting correct file permissions doesn't
work, the easiest way around this problem is moving php.ini to the Apache directory or adding the
HKEY_LOCAL_MACHINE\SOFTWARE\PHP\IniFilePath string to your registry and setting it to the correct
directory.