Issue
I use wamp server and windows 10 OS, When i see the phpinfo() information, it shows Loaded Configuration File Which is different than Loaded Configuration File displayed when i run php --ini command.
It's normal to have loaded files are not the same?
And how can i change my Loaded Configuration File?
Thank you in advance
Solution
php --ini is the cli version of php.ini
phpinfo is the php.ini from the webserver
there is a reason that these are separated. Most of the times you want more privileges on one or the other.
to change the version, left click (1 time) system tray wamp icon > php >version And select your wanted version. It might give errors but if you really need you might copy one php.ini to the other, but i really advice against this.
Hope this helps
Answered By - Motxila dev Answer Checked By - Dawn Plyler (WPSolving Volunteer)