Who supports who? PHP and Web Server.

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.

Comments:

Post a Comment:
  • HTML Syntax: NOT allowed
About

jmccabe

Search

Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today