php script as fcgi handler
Posted: Fri Jun 15, 2007 2:58 am
Hi,
I'm trying to find out whether a script similar to Python's fcgi.py exists that would be run as a fastcgi handler instead of the php-executable itself. The main reasons are that I want to have a running php process that would hold an open connection to the database and some sockets (messaging), along with some cleanup stuff (these could be handled separately).
The way I see it I need a php implementation of fastcgi. Has anyone of you encountered such a thing, should I reconsider my approach to design or just switch to another language?
thanks
I'm trying to find out whether a script similar to Python's fcgi.py exists that would be run as a fastcgi handler instead of the php-executable itself. The main reasons are that I want to have a running php process that would hold an open connection to the database and some sockets (messaging), along with some cleanup stuff (these could be handled separately).
The way I see it I need a php implementation of fastcgi. Has anyone of you encountered such a thing, should I reconsider my approach to design or just switch to another language?
thanks