Get the App
SLTechnology News&Howtos  ›  Development  › 

The solution to the ineffectiveness of php configuration file

Shulou Source: shulou.com Published: 2022-06-03 19:51:51 10月02日 Update

This article mainly explains "the solution that the php configuration file does not work", interested friends may wish to take a look. The method introduced in this paper is simple, fast and practical. Now let the editor to take you to learn the "php configuration file does not work the solution" it!

Operating environment of this article: Windows7 system, PHP5.4.22 version, Dell G3 computer

Php profile doesn't work? Modifying php.ini doesn't work?

When I compile and install Zabbix, I modify the php.ini, and I specify that configuration file when I start php-fpm. All the services to be restarted are restarted. Php- I | grep 'corresponding properties' can also display the modified values.

However, the initialization check of Zabbix still reports an error:

Finally, add attributes directly to php-fpm.conf like assignment, which also achieves the effect, and the Zabbix check passes.

Add to php-fpm.conf

Friends who have the same problem can try to see if they can solve the problem.

At this point, I believe you have a deeper understanding of the "solution that the php profile does not work". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!

Tags: Functions files configurations methods contents properties times friends questions learning checking practicality interest practicality practicality simplicity of operation effects more version Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Xiaomi Shulou Tech Info macOS Apple Huawei