You can also try FastCGI.

I would suggest you get a load test program, and test your scripts under 
various loads.  Microsoft has a free one 
(http://webtool.rte.microsoft.com), and there is one by the Apache group.

Both the Apache and IIS sapi modules are multithreaded, and you may run 
into issues with stability in those modules depending on what extensions 
you use.  They will be the fastest, but most prone to problems.  The 
rock solid solution is CGI, but it is very slow.

Now a plug for the 'other' alternative, FastCGI.  Not quite as fast as 
the Apache or IIS modules 'could be', but MUCH faster than CGI, and 
gains the stability of CGI since it does not rely on threads and runs 
completely 'out-of-process' from the webserver.  The downside to FastCGI 
right now, it hasn't received as much use and attention yet, so there 
may still be some bugs in the server side modules (but not on the php 
end).

You can find the executables for FastCGI/IIS/iPlanet/PHP at 
www.caraveo.com/fastcgi/, and the Apache mod_fastcgi at fastcgi.com. 
Another plug for the IIS version, Apache doesn't have any support for 
IIS/NTFS security that I am aware of, the IIS/FastCGI plugin does.

Shane

Alan McKay wrote:
> Folks,
> 
> This is kind of frustrating.
> 
> I'm reading the install.txt and near the top it explains about the 2 versions,
> those being PHP.EXE and the SAPI modules.  It then says that the SAPI
> version is not considered production grade, and is still unstable
> "especially on platforms older than W2K".
> 
> Then later on in the same document it says :
> 
> "Now that version 4.1 introduces a safer sapi module, we recommend
> that you configure PHP as a module in Apache."
> 
> OK, so which is it?  I am to be using this in a commercial product, and
> absolutely have to have the most stabile version.  I'd prefer to run the
> SAPIs because they are apparantly faster, but the document contradicts
> itself on which is most stabile.
> 
> Can someone help clarify this?  (And if someone responsible for that
> document is listening, could you please update it accordingly?)
> 
> thanks,
> -Alan
> 
> 
> 




-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to