PHP 4.0 Bug #7822 Updated: system crash
| From: | wuxinan at 263 dot net | Date: | Fri, 12 Jan 2001 17:27:08 +0000 |
| Subject: | PHP 4.0 Bug #7822 Updated: system crash | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-43896@lists.php.net to get a copy of this message | ||
ID: 7822
User Update by: wuxinan@263.net
Status: Open
Bug Type: Apache related
Description: system crash
cynic: This is a Great Idea!
Previous Comments:
---------------------------------------------------------------------------
[2001-01-12 10:26:41] cynic@php.net
indeed. a temporary workaround, if I may:
<LocationMatch "/php/php(.exe)?">
deny from all
</LocationMatch>
This at least denies direct access to the executable, and thus gets you rid of the crashes.
---------------------------------------------------------------------------
[2001-01-08 02:32:47] wuxinan@263.net
In 4.0.4, This bug still exists.
(Win32, php.ini) Conditions for this bug:
safe_mode=Off
doc_root=; the root of the php pages, used only if nonempty
(doc_root is empty)
In such configured PHP, system will crash if I type the URL:
http://localhost/php/php.exe
(Note: no "/" at the end of the URL)
I may consult the source code if I have time later.
---------------------------------------------------------------------------
[2001-01-06 02:29:03] cynic@php.net
does this problem exist in PHP 4.0.4
---------------------------------------------------------------------------
[2000-11-14 19:06:55] wuxinan@263.net
I config PHP for Apache 1.3.14 for Win32 as almost all people do: in apache configuation file:
ScriptAlias /php/ "C:/Program Files/PHP/"
<Directory "C:/Program Files/PHP/">
AllowOverride None
Options None
</Directory>
AddType application/x-httpd-php .php
Action application/x-httpd-php "/php/php.exe"
All the things go well and apache is able to process .php files. However, I type: http://localhost/php/php.exe, then my system crashes...
Windows says that php.exe: program error.
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=7822