[xdebug-general] <?php phpinfo(); ?> returns EOF even before headers

From: Jan Minar <jjminar[@]fastmail.fm>
Date: Mon Dec 20 2004 - 15:44:17 CET

Hello again.

Despite of my concerns about the licensing, I just installed the package
in Sarge chroot. And it does not work:

(1) Having the file in an arbitrary directory doesn't work at all:
-rwxr-xr-x 1 root root 402606 Dec 20 13:25 /opt/xdebug/xdebug-1.3.2/xdebug.so
/etc/php4/apache/php.ini:
zend_extension="/opt/xdebug/xdebug-1.3.2/xdebug.so"

Requesting a file with just <?php phpinfo(); ?> in it will result in
an immediate EOF (no header received from the server, and
/var/log/apache/error.log shows a line like this for every request:

Allowed memory size of 8388608 bytes exhausted (tried to allocate 24 bytes)
Allowed memory size of 8388608 bytes exhausted (tried to allocate 4 bytes)
Allowed memory size of 8388608 bytes exhausted (tried to allocate 4 bytes)
Allowed memory size of 8388608 bytes exhausted (tried to allocate 4 bytes)
Allowed memory size of 8388608 bytes exhausted (tried to allocate 4 bytes)
Allowed memory size of 8388608 bytes exhausted (tried to allocate 24 bytes)
Allowed memory size of 8388608 bytes exhausted (tried to allocate 4 bytes)
Allowed memory size of 8388608 bytes exhausted (tried to allocate 4 bytes)
Allowed memory size of 8388608 bytes exhausted (tried to allocate 4 bytes)
Allowed memory size of 8388608 bytes exhausted (tried to allocate 4 bytes)

(One line per GET /path/to/phpinfo.php HTTP/1.0)

Cheers,

-- 
 )^o-o^|    jabber: rdancer@NJS.NetLab.Cz
 | .v  K    e-mail: jjminar FastMail FM
 `  - .'     phone: +44(0)7981 738 696
  \ __/Jan     icq: 345 355 493
 __|o|__Minář  irc: rdancer@IRC.FreeNode.Net

Received on Mon Dec 20 15:46:16 2004

This archive was generated by hypermail 2.1.8 : Sat Oct 11 2008 - 15:00:11 CEST