php script as fcgi handler

Not for 'how-to' coding questions but PHP theory instead, this forum is here for those of us who wish to learn about design aspects of programming with PHP.

Moderator: General Moderators

Post Reply
User avatar
dbevfat
Forum Contributor
Posts: 126
Joined: Tue Jun 28, 2005 2:47 pm
Location: Ljubljana, Slovenia

php script as fcgi handler

Post by dbevfat »

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
User avatar
dbevfat
Forum Contributor
Posts: 126
Joined: Tue Jun 28, 2005 2:47 pm
Location: Ljubljana, Slovenia

Post by dbevfat »

This may be the answer to my question: http://blog.milkfarmsoft.com/?p=51.
Post Reply