PHP-FPM Restart, abort Operation command in PHP 5.4:
View php Run Directory command: which PHP/usr/bin/php
To view the number of PHP-FPM processes:PS aux | Grep-c PHP-FPM
View running Memory/usr/bin/php-i|grep Mem
Restart PHP-FPM/ETC/INIT.D/PHP-FPM
Qq return (http://fanli.qq.com) and elong (http://www.elong.com) cooperative development of the joint login scheme in the process of joint debugging found a strange phenomenon: the same QQ number jump to the elong site multiple times, sometimes we
OriginalHttp://laravelacademy.org/post/1867.htmlErrors and exceptions are an unavoidable issue in the development of handlers, and in local development we often want to capture the exceptions thrown by the program and print it out so that we can
PHP-FPM Restart, abort Operation command in PHP 5.4
PHP-FPM using signal control:
The master process can understand the following signals
INT, term immediately terminates
QUIT Smooth Termination
USR1 Reopen log file
USR2 smoothly overloads all
Compiling the source package requires./configure then compile a. so fileOne less error packetInstall packageNormal displayThe LS directory has a./configure fileQuerying module LocationsEditing a configuration fileEditing a configuration fileIncrease
This article is mainly to stop the JavaScript implementation of the method is introduced, the need for friends can come to the reference, I hope to help you
JS does not have PHP exit, there is no Java return.
If the JS code is not a function, you
To agree on several directories
/usr/local/php/sbin/php-fpm/usr/local/php/etc/php-fpm.conf/usr/local/php/etc/php.iniFirst, the PHP-FPM start parameter
Copy Code code as follows:
#测试php-FPM Configuration
On several offline servers that are not very busy, the number of PHP-FPM processes is found to be more than 500, and some processes run for several months.
The following troubleshooting was performed to determine if there is a problem with the
To agree on several directories
/usr/local/php/sbin/php-fpm
/usr/local/php/etc/php-fpm.conf
/usr/local/php/etc/php.ini
First, the PHP-FPM start parameter
#测试php-FPM Configuration
/usr/local/php/sbin/php-fpm-t
/usr/local/php/sbin/php-fpm-c/usr/
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.