Hello,

On 10/01/2004 09:41 AM, Olaf Van Der Spek wrote:
What is the PHP policy regaring crashes and fatal errors?
Are scripts allowed to cause a crash or fatal error of Apache/PHP itself?



A PHP served request can only crash if there is a bug that makes it crash.


Sure. But what is the answer to my question?
Is a (bug in a) script allowed to cause such a crash?

Not bugs in a script but rather in the PHP engine. In theory, the PHP engine should never crash but there is no such thing as bug free software.




Under Apache pre-fork model only the current process that is serving a PHP request will die when the PHP engine crashes. This is why Apache in the pre-fork model is more robust than multi-threaded servers like IIS.


Or Apache with the threaded MPM.

If you crash one thread, you kill all threads under the same process. That is why that is less robust than using one process to serve only one request.


--

Regards,
Manuel Lemos

PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/

PHP Reviews - Reviews of PHP books and other products
http://www.phpclasses.org/reviews/

Metastorage - Data object relational mapping layer generator
http://www.meta-language.net/metastorage.html

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



Reply via email to