#40989 [Fbk]: PHPinfo output truncated
| From: | scottmac@php.net | Date: | Wed, 04 Apr 2007 16:38:32 +0000 |
| Subject: | #40989 [Fbk]: PHPinfo output truncated | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-111104@lists.php.net to get a copy of this message | ||
ID: 40989
Updated by: scottmac@php.net
Reported By: matt dot parrett at gmail dot com
Status: Feedback
Bug Type: Unknown/Other Function
Operating System: RHEL-latest
PHP Version: 5.2.1
New Comment:
I've just compiled the same extension without problem, what's the exact
configure line that you used?
Previous Comments:
------------------------------------------------------------------------
[2007-04-04 16:10:44] tony2001@php.net
Is GD required to reproduce it?
------------------------------------------------------------------------
[2007-04-04 16:05:44] matt dot parrett at gmail dot com
Make failed. Any suggestions except for trying it without GD?
ext/gd/.libs/gd.o(.text+0x537): In function `zm_shutdown_gd':
/usr/local/src/php5.2-200704041430/ext/gd/gd.c:1208: undefined
reference to `gdFontCacheMutexShutdown'
ext/gd/.libs/gd.o(.text+0x57a): In function `zm_startup_gd':
/usr/local/src/php5.2-200704041430/ext/gd/gd.c:1223: undefined
reference to `gdFontCacheMutexSetup'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
------------------------------------------------------------------------
[2007-04-04 15:38:46] tony2001@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5.2-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5.2-win32-latest.zip
Make sure you disabled all zend_extensions and try the snapshot above.
------------------------------------------------------------------------
[2007-04-04 15:30:57] matt dot parrett at gmail dot com
Here's another tidbit that may be helpful.
I tried a simple test that works flawlessly on another server that we
have. On the troublemaker, PHP seems to start having trouble at about
16Kb of output. Just like with phpinfo and our main script, this test
works fine as long as you access it using wget or the CLI.
<?php
for($i=0;$i<1000;$i++) {
echo 'start row:'.$i;
for($j=0;$j<9;$j++) {
echo 'cell:'.$j;
}
echo 'end row:'.$i;
}
?>
I'd like to rule this out as being a bug. There's a good chance it's
not, but I can't seem to prove it either way.
------------------------------------------------------------------------
[2007-04-04 15:15:13] matt dot parrett at gmail dot com
I've tried all the browsers I have access to. Each seems to break
during phpinfo() in it's own unique way.
In Firefox 2.0.0.3, the output of phpinfo is truncated when viewing
source. The output stops after SCRIPT_FILENAME. There is a closing TD
and an opening TD tag following SCRIPT_FILENAME.
In Opera 9.10, something similar happens, although in a slightly
different spot (immediately after GATEWAY_INTERFACE)
---
Regarding the script we developed (that generates about 1000 html rows
with 8 columns) seems to go weird somewhere after 6,000 lines of output.
When viewing source, I see <??????????????????????????????????? inserted
in a 'random' spot. I also experienced this using wget, but currently
cannot seem to reproduce that behavior. Currently, the output just stops
-- but only when using a browser. wget retrieves the entire thing just
fine. The one time I observed this, the 300kb html file was bloated to
6MB and contained a huge middle section of <????????
Could this have something to do with the interplay of the browser and
our php distribution or configuration? We use output buffering quite
extensively...
Thanks. Please let me know if you need anything else.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/40989
--
Edit this bug report at http://bugs.php.net/?id=40989&edit=1