Who supports who? PHP and Web Server.
By jmccabe on May 12, 2006
A criticism that we often get for our web server is that it “does not support PHP, but Apache does.” This has made me spend a lot of time explaining that Apache does not support PHP, but that PHP supports Apache and many other web servers (including ours) via native APIs (MOD, NSAPI, ISAPI, etc) in addition to more generic APIs (CGI, FastCGI, etc) and that the problems often associated with PHP and multi-threaded servers have to do with thread safety issues in PHP's core and/or modules, not with the multi-threaded environment that the PHP core and/or modules is running in.
In 2003 I wrote a document to help explain the pros and cons of the various APIs that PHP and Web Server share, and the pros and cons of each of them. I'm delighted that the document has made a leap from my private server to live on developers.sun.com here.