#24751 [NEW]: PHP CGI : Premature end of script
From: cthomas at cybersurfeur dot com
Operating system: Linux Debian
PHP version: 4.3.1
PHP Bug Type: *General Issues
Bug description: PHP CGI : Premature end of script
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 bug report at http://bugs.php.net/?id=24751&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=24751&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=24751&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=24751&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=24751&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=24751&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=24751&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=24751&r=support
Expected behavior: http://bugs.php.net/fix.php?id=24751&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=24751&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=24751&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=24751&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24751&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=24751&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=24751&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=24751&r=gnused
Thread (2 messages)
- cthomas at cybersurfeur dot com