php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #35167 array_filter: support for additional callback arguments
Submitted: 2005-11-09 11:10 UTC Modified: 2005-11-09 13:44 UTC
From: tjerk dot meesters at gmail dot com Assigned:
Status: Closed Package: Reproducible crash
PHP Version: 5CVS-2005-11-09 (snap) OS: Windows XP
Private report: No CVE-ID: None
 [2005-11-09 11:10 UTC] tjerk dot meesters at gmail dot com
Description:
------------
When a PHP script is set as an error document (404) in Apache, the designated Apache thread crashes. The apache log says:

[notice] Apache/2.0.54 (Win32) PHP/5.0.6-dev configured -- resuming normal operations
[notice] Server built: Apr 16 2005 14:25:31
[notice] Parent: Created child process 6068
[notice] Child 6068: Child process is running
[notice] Child 6068: Acquired the start mutex.
[notice] Child 6068: Starting 250 worker threads.
[error] [client 127.0.0.1] File does not exist: D:/www/revamp/images

#### all normal until here
[notice] Parent: child process exited with status 3221225477 -- Restarting.


Reproduce code:
---------------
in .htaccess:
ErrorDocument 404 /path/to/script

php code:
<?php

echo 'file not found?'

?>

Expected result:
----------------
file not found


Actual result:
--------------
Apache child crashes, see description for logs

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-11-09 11:15 UTC] iliaa@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php5-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5-win32-latest.zip


 [2005-11-09 13:44 UTC] tjerk dot meesters at gmail dot com
I don't know how that strange summary came in .. thought I typed something else :-)

Never mind ... it works with the latest php5_1 snapshot, thanks!
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 17 19:01:32 2024 UTC