How do you specify which php.ini file the Symantec Endpoint Protection Manager website uses?
Multiple PHP versions are installed to the same web server.
PHP (PHP Hypertext Processor) will check several locations for instructions on how to load php.ini in a specific order. Depending on how many other websites are being hosted on the SEPM server, and what versions of PHP (PHP Hypertext Processor) they use, some of these methods may interfere with the working of other PHP installations on the server. The best method to use will vary depending on individual scenarios.
How PHP determines where to load php.ini from (this method is used for versions 5.2 and newer):
Configuring where php.ini is loaded from using the command-line:
Note: To find the 8.3 short name of a folder, use the dir /X command switch on a command prompt.
Note 2: It is possible that a folder does not have a 8.3 path if the HKLM\SYSTEM\CurrentControlSet\Control\FileSystem\NtfsDisable8dot3NameCreation has been set to 1 before installing the Symantec Endpoint Protection Manager. Check http://support.microsoft.com/kb/121007 for more information on this registry key.
Configuring where php.ini is loaded from using the registry:
This method can affect how other versions of PHP load the php.ini on this system. If other versions of PHP are installed on this system, please use the version-specific method. Please make sure to back up the registry before making any changes
Version independent method:
Version dependent method:
Subscribing will provide email updates when this Article is updated. Login is required to Subscribe
Thanks for your feedback. Let us know if you have additional comments below. (requires login)
This will clear the history and restart the chat.