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

14 sec read

:: 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

How to fix problem with…

Facing a Git error with the 'vi' editor? Discover how to easily fix it by checking your Vim path and configuring Git to use...
Sysadmin.ID
10 sec read

Apache :: MP4 Streaming

Learn how to enable MP4 streaming in Apache with the installation of the mod_h264 streaming module, making your video content accessible and efficient. Follow...
Sysadmin.ID
18 sec read

Apache :: Flash / FLV…

Learn how to effortlessly configure Apache for FLV streaming by installing the mod_flvx module and updating your httpd.conf file. Discover the simple steps to...
Sysadmin.ID
15 sec read

Leave a Reply

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