Bug #13045 Updated: PHP crashes when it can't find the *.exe or other binary specified within ``'s
ID: 13045
Updated by: dbeu
Reported By: saturn@dotslashsaturn.org
Old Status: Open
Status: Closed
Bug Type: Reproducible crash
Operating System: Windows ME (kernel 4.9.3000)
PHP Version: 4.0.6
New Comment:
this should be fixed in 4.0.7rc1, please try http://www.php4win.com/~daniel/php-4.0.7rc1-win32.zip
reopen if the problem still occurs.
Previous Comments:
------------------------------------------------------------------------
[2001-08-30 06:48:27] sander@php.net
Reproduced with Windows 2000 Professional, PHP-4.0.6 and Apache 1.3.20 (running PHP as an Apache
module).
A simple script:
<?php
echo c:\crashtest.exe;
?>
If you run PHP from te commandline, the following output IS generated:
Warning: Unable to execute 'c:\crashtest.exe' in crashtest.php on line 2
Changing the backslash to \\ or / has no effect.
On Linux (tested with Debian, Potato), trying to execute a non-existant file produces no output, and
no error... strange...
------------------------------------------------------------------------
[2001-08-29 17:11:20] saturn@dotslashsaturn.org
also note: using Apache 1.3.20 Win32
------------------------------------------------------------------------
[2001-08-29 17:10:06] saturn@dotslashsaturn.org
using proname -option -etc (where progname is any executable, such as PING) in PHP, you
can run a program and parse it's output with a PHP script
on Windows 9x, when the program isn't found (either a bad link or it just plain doesn't
exist), PHP crashes.
I can reproduce this error on Windows ME, kernel 4.9.3000 (the final release of win ME -- not a beta
or anything goofy like that)
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=13045&edit=1
Thread (4 messages)