Re[4]: how do I do FCGI_Accept() loop?
jlist9-FFYn/[email protected]
| Newsgroups | gmane.comp.web.fastcgi.devel |
|---|---|
| Message-ID | <[email protected]> |
I don't think you can. If you want to persist some global variables, you may have to use a database :) > Well that certainly explains it! Yes, I've already got it to the point > where all .php files are run as fastcgi. What still throws me off is this: > when I look at what processes are running I see many copies of the php > binary. However, I have a particular php file that is special. I wanted > *it* to be a long-running process that all the users contacted - and I > expected to see multiple copies of it. > -----Original Message----- > Hello Ron, > I think the reason is that it's not necessary for PHP. > With PHP, you don't have to implement the FCGI_Accept() loop. > Instead, it can be built in into PHP. Run php -v to see if it supports > fastcgi already. If it says cgi-fcgi, then it does. > Otherwise, you'll need to build PHP from source with --enable-fastcgi > option. ___________________________________ fastcgi-developers mailing list http://fastcgi.com/fastcgi-developers/