启动php时出现pm.max_spare_servers(0) must be a positive value错误

Jul 25 12:32:24.870810 [ALERT] [pool www]pm.max_spare_servers(0) must be a positive value

Jul 25 12:32:24.870899 [ERROR] failed topost process the configuration

解决办法:

# vi /usr/local/php/etc/php-fpm.conf

pm.start_servers=20

pm.min_spare_servers=5

pm.max_spare_servers=35

将这三行前面的;注释符去掉就行了


你可能感兴趣的:(failed,process,positive)