I build php 5.3.5 with FPM, but when I trien to started the php-fpm daemon this way :
sudo /usr/local/sbin/php-fpm start
nothing happens (the programs show me the help)
and when I did this
sudo /usr/local/sbin/php-fpm -t
Jan 25 09:54:59.634168 [ALERT] [pool www] pm.min_spare_servers(0) must be a positive value
Jan 25 09:54:59.634293 [ERROR] failed to post process the configuration
Any clue? I need to make this php work with nginx
What kind of help do you receive?
You should set pm.min_spare_servers to something like pm.min_spare_servers = 5 also check pm.max_spare_servers in php-fpm.conf
php-fpm does not take "start" "stop" arguments, it is not an init script. You kill it like this: "killall php-fpm" and you just start it like any simple script: /usr/local/sbin/php-fpm (without the "start" parameter)