How do you specify the path to the php.ini
file in PhpStorm?
I am trying to build run configurations for Built-in Web Server and PHPUnit, but I cannot figure out how to specify the path of the php.ini file.
The only resource that I can find is this, but it does not appear to work for current versions of PhpStorm.
I have set the interpreter options to --php-ini C:\PHP\php-5.6.7\php.ini
. This is the correct path to the file. However, when I get the phpinfo()
, it reports:
Configuration File (php.ini) Path C:\Windows
Loaded Configuration File (none)
Scan this dir for additional .ini files (none)
Additional .ini files parsed (none)
(This is related to another question that I asked, but it is specific enough, I think, that a new thread is warranted.)