The impression I get both from Microsoft's discussions about FastCGI and PHP, and also from Coast R&D's site, is that php-cgi.exe is able to detect whether it is being used in either a CGI or FastCGI context. If so, how does it do it, as I'd like to have similar functionality in my own product.
+1
A:
Why not look at the PHP source code? As long as you don't copy their code line for line, there's no risk of IP issues.
Joeri Sebrechts
2009-07-22 19:08:36
D'oh! (blush) should've thought o' that, it being open source 'n' all.
boost
2009-07-23 01:35:57