Get the App
SLTechnology News&Howtos  ›  Development  › 

The solution that does not take effect after modification of php.ini

Shulou Source: shulou.com Published: 2022-06-03 16:25:25 11月14日 Update

Editor to share with you the solution that does not take effect after the revision of php.ini, I believe that most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!

Php.ini modification does not take effect after the solution: 1, restart php-fpm;2, view "phpinfo ();"; 3, kill "php-fpm"; 4, restart loading php.ini.

This article operating environment: windows7 system, PHP7.1 version, DELL G3 computer

What if the modified php.ini does not take effect?

Problems that do not take effect after modification of php.ini

There is no more to say that modifying php.ini requires restarting php-fpm.

But it still doesn't work. Check phpinfo ()

Not loaded into? I don't know why, but there's a php.ini file.

After an attempt

Kill php-fpm

Ps aux | grep php-fpmkill # pid

Reopen loading php.ini

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

It's working.

The above is all the contents of this article entitled "the solution that does not take effect after php.ini revision". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Tags: Articles methods content not much methods most what to do documents more environment computers knowledge systems industry information information channels or questions channels references Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Information Shulou Technology vpn Redmi Linux