Why is there no change after modifying php.ini but phpinfo()
I checked the address is /etc/php5/apache2/php.ini, modified and saved it, and then restarted apache, but it still didn’t work. This is Why? ?
Confirm whether the php.ini loaded by your php is the php.ini you modified.
There is a line in the page using phpinfo() that explains the location of the currently loaded php.ini file. Please check it accordingly. , it is most likely that you changed the php.ini file in another directory
The above is why php.ini was modified but phpinfo() did not change. For more related content, please pay attention to the PHP Chinese website (m.sbmmt.com)!
Related articles:
How to block the phpinfo() function
Use PHPINFO to implement the PHP configuration statistics process
The difference between Local Value (local variable) and Master Value (main variable) in phpinfo