The pool of PHP-FPM1. View Files:[[email protected] ~]# cd /usr/local/php-fpm/etc[[email protected] etc]# lspear.conf php-fpm.conf php-fpm.conf.default[[email protected] etc]# cat php-fpm.conf[global]pid =
51, php-fpm Pool, php-fpm slow execution log, Open_basedir, PHP-FPM process ManagementFirst, the pool of PHP-FPMPool: Right. The right-most column of PS aux. It's the pond.# CD/USR/LOCAL/PHP-FPM/ETC# cat php-fpm.conf//supports defining multiple
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
One, PHP-FPM pool (configure multiple pools with multiple isolation sites)#cd/usr/local/php-fpm/etc/#vim php-fpm.conf//Add configuration file to the second site aming.com, [www] and [aming.com] in the configuration file are equivalent to two
Php-fpm startup ?????? Php5.3.3 the source code starts to contain php-fpm. you don't need to fix it any more. you just need to unlock the source code and directly configure it, for php-fpm compilation parameters,-enable-fpm-with-fpm-user =
To agree on several directories
/usr/local/php/sbin/php-fpm/usr/local/php/etc/php-fpm.conf/usr/local/php/etc/php.iniI. PHP-FPM startup parameters
#测试php-FPM
PHP-FPM start parameters and important configuration of the detailed, this needless to say, do PHP development students need to use.Contract several directories/usr/local/php/sbin/php-fpm/usr/local/php/etc/php-fpm.conf/usr/local/php/etc/php.iniOne,
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
Deep understanding based on php-fpm parameters. Psaux | grepphp-fpm | more View php-fpm total number php-fpm.conf configure pidstringPID file location. default is empty. error_logstring error log location. default: Installation Path # INSTA
Ps aux |
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.