From: ressourceweb at hotmail dot com
Operating system: Windows XP Home Edition
PHP version: 5.0.0
PHP Bug Type: Apache2 related
Bug description: Apache crash when trying to include non-existant files
Description:
------------
Every time I tried to include into a PHP script, by accident, a file that
didn't exist, Apache crashed and displayed a dialog box saying
�Apache2 caused an unhandled exception error. Do you wish to debug?�
instead of logging the error in the PHP error log.
This error did not happen when I tried to include a file that existed.
I tried to correct the problem by disabling, one by one, my php extensions
and I discovered that php_pspell.dll was causing the repeated crashes.
I am using PHP 5.0.0 with Apache Web Server 2.0.50 on Windows XP Home
Edition, Service Pack 1.
Extensions used by PHP
php_bz2.dll, php_cpdf.dll, php_curl.dll, php_dba.dll, php_dbx.dll,
php_fdf.dll, php_gd2.dll, php_gettext.dll, php_imap.dll, php_ldap.dll,
php_mbstring.dll, php_mcrypt.dll, php_mhash.dll, php_ming.dll,
php_mysql.dll, php_pdf.dll, php_snmp.dll, php_sockets.dll, php_tidy.dll,
php_xmlrpc.dll, php_xsl.dll, php_zip.dll, php_perl.dll, php_xmlreader.dll,
php_pspell.dll, php_lzf.dll, php_mailparse.dll
Reproduce code:
---------------
<?php
include("nonexistent.inc.php");
?>
Expected result:
----------------
PHP Warning : Cannot include file nonexistent.inc.php (or something
similar)
Actual result:
--------------
�Apache2 caused an unhandled exception error. Do you wish to debug?�
--
Edit bug report at http://bugs.php.net/?id=29603&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=29603&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=29603&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=29603&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=29603&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=29603&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=29603&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=29603&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=29603&r=support
Expected behavior: http://bugs.php.net/fix.php?id=29603&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=29603&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=29603&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=29603&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=29603&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=29603&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=29603&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=29603&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=29603&r=float