#26568 [Fbk->NoF]: file_get_contents causes Apache crash
ID: 26568
Updated by: sniper@php.net
Reported By: kyle at kylemaxwell dot com
-Status: Feedback
+Status: No Feedback
Bug Type: Reproducible crash
Operating System: WinXP Pro
PHP Version: 4.3.4
New Comment:
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
Previous Comments:
------------------------------------------------------------------------
[2003-12-09 18:25:40] sniper@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
I can not reproduce this with the latest CVS snapshot.
(make sure you replace php4ts.dll with the one from the snapshot
package)
------------------------------------------------------------------------
[2003-12-09 16:46:57] kyle at kylemaxwell dot com
Description:
------------
I have Apache 1.3 and PHP 4.3 set up on a WinXP Pro laptop for testing.
Asking for the file_get_contents($file) when $file points to an empty
text file causes Apache to crash.
Reproduce code:
---------------
<?
$string = file_get_contents("path/to/empty_text_file.txt");
?>
Expected result:
----------------
$string == ""
Actual result:
--------------
One of those MS dialog boxes telling me Apache has experienced an
error, and to report it to MS. Also, a 404 in the page called.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=26568&edit=1
Thread (3 messages)