The stability of a modules (actually used) on a specific website have impact
on the stability of PHP.

The CGI version has a short life span, it services one request then
vanishes.

The SAPI version lives much longer.  On IIS it may live the entire lifespan
of the IIS process.  Apache can be set to a specific number of requests
before a child is terminated.

The re-use among other things is why the SAPI versions are much faster then
CGI and also contributes to why they are less stable.  When a bug is
encounter in SAPI, if it does not generate a Segmentation Fault (or Illegeal
Operation) memory corruption may occur causing subsequent page requests to
have unexpected results and more likely to then incurr a Segmentation Fault.

Even though CGI may not perform as many Illegeal Operations, SAPI modules
and CGI share the same code base, they share the same bugs.  CGI runs
through program initialization for each page request, so it is less likely
to suffer from a bug encounter last page request, that does not save it from
a bug encountered during it's page request.

SAPI modules don't initialize from scratch every page request, so a bug
encounterd last time around may affect this or the next page request.

Although CGI implementations may not be affected as frequently by a bugs, as
page sources grow, so does the chance of encountering bugs.

The hardest part is to determining what is causes a bug to appear.  Once
that has been accomplished, the bug will likely be exterminated by bringing
it to a developers attention or fixing it yourself (gotta love open-source
for this ability).

-Joe

""Phil Driscoll"" <[EMAIL PROTECTED]> wrote in message
00a001c0d930$880bb4a0$0c01a8c0@philsntserver">news:00a001c0d930$880bb4a0$0c01a8c0@philsntserver...
> Your experiences with the CGI version under IIS are not typical - I've
been
> running PHP on several production NT boxes since version 4.0 without a
> single problem.
>
> Cheers
> --
> Phil Driscoll
> Dial Solutions
> +44 (0)113 294 5112
> http://www.dialsolutions.com
> http://www.dtonline.org
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to