search
HomeBackend DevelopmentPHP ProblemWhat 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.

What to do if the php configuration file does not work

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:

What to do if the php configuration file does not work

Finally, add attributes directly to php-fpm.conf like assignment, and the effect is achieved, Zabbix inspection passed.

What to do if the php configuration file does not work

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!

Statement
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

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

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

Hot Tools

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 English version

SublimeText3 English version

Recommended: Win version, supports code prompts!

EditPlus Chinese cracked version

EditPlus Chinese cracked version

Small size, syntax highlighting, does not support code prompt function

ZendStudio 13.5.1 Mac

ZendStudio 13.5.1 Mac

Powerful PHP integrated development environment

MantisBT

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.