#24751 [Opn->Csd]: PHP CGI : Premature end of script
| From: | sniper@php.net | Date: | Thu, 24 Jul 2003 03:18:43 +0000 |
| Subject: | #24751 [Opn->Csd]: PHP CGI : Premature end of script | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-44635@lists.php.net to get a copy of this message | ||
ID: 24751
Updated by: sniper@php.net
Reported By: cthomas at cybersurfeur dot com
-Status: Open
+Status: Closed
Bug Type: *General Issues
Operating System: Linux Debian
PHP Version: 4.3.1
New Comment:
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
AFAIK, this is fixed, or you're just doing something wrong.
(works fine with latest CVS snapshot here)
Previous Comments:
------------------------------------------------------------------------
[2003-07-22 07:59:38] cthomas at cybersurfeur dot com
Description:
------------
I'm using php 4.3.1 in cgi mode with Apache 1.3.27 with suexec
When I try to retrieve some url which exceed 85 char. (with http://)
I've got an "Internal Server Error" and a "Premature end of script" in
error log.
Reproduce code:
---------------
the php code is not important. Let's do a
echo "hello";
If I store this code in file for which the url is:
http://evrest.cdr.fluxus.net/ctcms2/test/unitaire/Gui/Html/HTML_InputTextarea.test.php
it fails.
Now if you just remove 1 char. anywhere in this url, for exemple the
filename (I remove the 'L' near "HTML" in the filename )
http://evrest.cdr.fluxus.net/ctcms2/test/unitaire/Gui/Html/HTM_InputTextarea.test.php
It works.
Expected result:
----------------
I expect the "Hello" string.
Actual result:
--------------
I've got a 500 Internal Error in my Browser
and a "Premature end of script" in Apache's error.log file.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=24751&edit=1