Home >Backend Development >PHP Problem >What to do if the php configuration file does not work
Solution to the problem that the php configuration file does not work: 1. Find and open the php-fpm.conf file; 2. Add attributes directly in "php-fpm.conf" by assigning values.
The operating environment of this article: Windows7 system, PHP5.4.22 version, Dell G3 computer
php configuration file does not work? Modifying php.ini doesn't work?
When I compiled and installed Zabbix, I modified php.ini. When starting php-fpm, I also specified the configuration file, and all services that should be restarted were restarted. Now, php -i | grep 'corresponding attribute' can also display the modified value.
But Zabbix's initialization check still reports an error:
Finally, add attributes directly to php-fpm.conf like assignment, and the effect is achieved, Zabbix inspection passed.
Add
to php-fpm.conf. Friends who have the same problem can try it to see if it can solve the problem.
Recommended learning: "PHP Video Tutorial"
The above is the detailed content of What to do if the php configuration file does not work. For more information, please follow other related articles on the PHP Chinese website!