Home > Backend Development > PHP Tutorial > ubuntu - I modified php.ini but there is no change in phpinfo();, why?

ubuntu - I modified php.ini but there is no change in phpinfo();, why?

PHP中文网
Release: 2023-03-01 08:12:01
Original
2050 people have browsed it


I have modified php.ini but the information in phpinfo(); has not changed.
I checked the address is /etc/php5/apache2/php.ini, modified and saved it, and then restarted apache Why is it still useless? ?

Reply content:

I have modified php.ini but the information in phpinfo(); has not changed.
I checked the address is /etc/php5/apache2/php.ini, and also modified and saved it. Then restarted apache, but it still didn't work. Why? ?

Confirm whether the php.ini loaded by your php is the php.ini you modified

The above is ubuntu - I have modified php.ini but phpinfo(); has not changed the content. Please ask for more related content Follow the PHP Chinese website (www.php.cn)!


Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Articles by Author
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template