What should I do if the modification of php.ini does not take effect?

藏色散人
Release: 2023-03-12 12:10:01
Original
2962 people have browsed it

Solution to the problem that php.ini modification does not take effect: 1. Restart php-fpm; 2. Check "phpinfo();"; 3. Check and kill "php-fpm"; 4. Restart loading php .ini is enough.

What should I do if the modification of php.ini does not take effect?

The operating environment of this article: windows7 system, PHP7.1 version, DELL G3 computer

After modification of php.ini What should I do if it doesn’t take effect?

The problem that modification of php.ini does not take effect

You need to restart php-fpm to modify php.ini. I won’t say much about this.

But it still doesn’t work, check phpinfo();

Isn’t it loaded? I don’t know why, but there is obviously a php.ini file.

After trying

check and kill php-fpm

ps aux | grep php-fpm kill #pid
Copy after login

restart loading php.ini

/www/server/php/80/sbin/php-fpm -c /www/server/php/80/etc/php.ini
Copy after login

Effective

Recommended study: "PHP Video Tutorial"

The above is the detailed content of What should I do if the modification of php.ini does not take effect?. For more information, please follow other related articles on the PHP Chinese website!

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 Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!