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!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Dreamweaver CS6
Visual web development tools

SublimeText3 English version
Recommended: Win version, supports code prompts!

EditPlus Chinese cracked version
Small size, syntax highlighting, does not support code prompt function

ZendStudio 13.5.1 Mac
Powerful PHP integrated development environment

MantisBT
Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.
