From:             [EMAIL PROTECTED]
Operating system: Win2000
PHP version:      4.3.0
PHP Bug Type:     Reproducible crash
Bug description:  Apache crashes when require_once has array in directory name

I had
$common = 'common/';
at the top of the script and
require_once($common . 'x.html');
in the middle of the script and it worked.

Later I accidentally set $common to a multidimentinal array prior to it's
use in require_once. Apache 2.0.43 crashed when I used the script. PHP did
not produce an error message.

Apache is not producing any other errors. Everything else in my scripts
work including Sablotron. 4.3.0 is stable with Apache 2 on both my NT and
Win2000 systems. I have not tried this script error on Apache 1.

A search of the bug database found some old entries from the year 2000
marked "Fixed in CVS" so I guess they are not refering to PHP 4.3.0.

The Apache log contained the following entry. The status code of
3221225477 is listed on web pages against a dozen different errors.

[Wed Jan 22 11:31:36 2003] [notice] Parent: Created child process 2128
[Wed Jan 22 11:31:36 2003] [notice] Child 2128: Child process is running
[Wed Jan 22 11:31:36 2003] [notice] Child 2128: Acquired the start mutex.
[Wed Jan 22 11:31:36 2003] [notice] Child 2128: Starting 250 worker
threads.
[Wed Jan 22 11:32:02 2003] [notice] Parent: child process exited with
status 3221225477 -- Restarting.


-- 
Edit bug report at http://bugs.php.net/?id=21812&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=21812&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=21812&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=21812&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=21812&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=21812&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=21812&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=21812&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=21812&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=21812&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=21812&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21812&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=21812&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=21812&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=21812&r=gnused

Reply via email to