PHP FastCGI daemon dies with code 65280

Yassen Damyanov
21 May 2011, 21:22
Hiawatha version: 7.4.1 (downloaded from
Operating System: ubuntu 10.04 lucid chroot(!)

Hello Hugo and community,

For a long time I used to run hiawatha and fast-cgi within ubuntu lucid chroot environment. It was some old version and today I upgraded to 7.4.1, .deb downloaded from When I restarted php-fcgi deamons, at first I got failures with the following line in php-fcgi.conf:

PHP FastCGI daemon exited with code 65280

I sometimes got one of the configured daemons to work and the other not.

Strange, as after some time the restart began to work fine.

My php-fcgi.conf looks like this:
PidFile = /var/run/
Forks = 12
MaxRequests = 384

Server = /usr/bin/php5-cgi;; www-data
Server = /usr/bin/php5-cgi ; ; www-data ; /var/www/vhosts/

Any suggestions? I am afraid, in case of server reboot I ma not get the web service running ...
Thanks in advance!

24 May 2011, 21:04
Strange, sometimes it still crashes the same way upon restart ... Suggestions? What is exit status 65280?
Hugo Leisink
24 May 2011, 23:00
Does PHP run when started manually? To do so, run "php5-cgi -b <port>". Don't forget to set the environment variables PHP_FCGI_CHILDREN (5) and PHP_FCGI_MAX_REQUESTS (100).
This topic has been closed.