Phpinfo () Why are there two paths about php.ini in the page shown???
Which of these two determine the location of the php.ini file?
PHP Code
Configuration file (php.ini) Path C:\WINDOWS Loaded configuration file D:\MyEnv\php5\php.ini
I removed the php.ini from the two paths, and it was shown as:
PHP Code
Configuration file (php.ini) Path C:\WINDOWS Loaded Configuration file (none)
And then using the Phpinfo () function to find out what's going on with the normal output, what's going on? Is it not already read from the configuration file? Why not error?
Thank you!!!
------Solution--------------------
The PHP runtime in the Windows environment first looked for the configuration file in the C:\WINDOWS, could not find it in the PHP installation directory to find, two directories can not find to use PHP default configuration environment. So you just have to have at least one PHP configuration file in the C:\WINDOWS or PHP installation directory.
------Solution--------------------
There's no need to show it, right?
I don't know, not tested.