In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly explains "how to modify php.ini and restart". The content in the article is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn "how to restart after modifying php.ini".
The method of restarting php-fpm after modifying php.ini: 1, open "php-fpm.pid" and get id;2, execute the command "kill-USR2 42890"; 3, restart php-fpm.
This article operating environment: linux5.9.8 system, PHP5 version, DELL G3 computer
How to modify php.ini and restart?
Restart php-fpm after modifying php.ini
It is recommended to open / usr/local/php/var/run/php-fpm.pid to get id 42890.
Direct kill-USR2 42890
Best
Php-fpm shuts down:
Kill-INT 'cat / usr/local/php/var/run/php-fpm.pid'
Php-fpm restart:
Kill-USR2 'cat / usr/local/php/var/run/php-fpm.pid'
Move files | rename |
Mv file name new path file name
Test whether the configuration is correct
Nginx-t
Nginx restart
Nginx-s reload
After installing the extension, modify php.ini to add extension=/ path / shmop.so
Unlimited restart of php,nginx just won't work.
After viewing phpinfo, it is found that the value of Loaded Configuration File is none.
The original php-fpm startup, did not specify php.ini, so it has not been effective.
/ usr/local/php5/sbin/php-fpm-y / usr/local/php5/etc/php-fpm.conf-c / usr/local/php5/etc/php.ini Thank you for reading, the above is the content of "how to modify php.ini and restart". After the study of this article, I believe you have a deeper understanding of how to modify php.ini and restart, and the specific usage needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.