Tutorials

:: pm.min_spare_servers(0) must be a positive value

:: error starting php-fpm

 [pool www] pm.min_spare_servers(0) must be a positive value

 
:: How to fix php-fpm error
+ edit php-fpm.conf

vi /etc/php5/fpm/php-fpm.conf
## uncomment / change on these line
pm = dynamic
pm.max_children = 50
pm.start_servers = 10
pm.min_spare_servers = 5
pm.max_spare_servers = 35
user = www-data
group = www

+ restaring php-fpm

/etc/init.d/php-fpm restart

 
:: Links
+ Google
+ SupportSages

Hi, I’m Sysadmin.ID

Leave a Reply

Your email address will not be published. Required fields are marked *