ID: 28029
User updated by: coadmin at hostings dot pl
Reported By: coadmin at hostings dot pl
Status: Open
Bug Type: URL related
Operating System: FreeBSD 4.9 and 5.2.1
PHP Version: 4CVS-2004-04-16 (stable)
New Comment:
One more thing: now I haven't segfaults. I don't know how to reproduce
segfaults, somethimes there are with HTTP request failed, sometimes
not. Now not.
Previous Comments:
------------------------------------------------------------------------
[2004-05-05 16:18:26] coadmin at hostings dot pl
After commenting out Zend in php.ini, Zend Optimizer went down and
phpinfo() was right, without Zend Opt, but my problem isn't solved. I
reproduced bug in 15 minutes.
So, only one way to prevent bug is --enable-debug in PHP.
I'm waiting for other hints.
------------------------------------------------------------------------
[2004-05-05 15:55:47] edink@php.net
By removing or commenting out all zend_extension= lines from
/usr/local/Zend/etc/php.ini and restarting apache.
------------------------------------------------------------------------
[2004-05-05 13:45:59] coadmin at hostings dot pl
How to build without Zend Optimizer and others?
Now I'm using:
./configure --with-apxs=/usr/local/apache/bin/apxs --with-xml
--enable-bcmath --enable-calendar --with-curl --enable-ftp --with-gd
--with-jpeg-dir=/usr/local --with-png-dir=/usr
--with-xpm-dir=/usr/X11R6 --enable-magic-quote --with-mysql
--enable-discard-path --with-pear --enable-sockets --enable-track-vars
--enable-versioning --with-zlib
and it goes with Zend Optimizer like here:
http://69.93.217.178/info.php
------------------------------------------------------------------------
[2004-04-30 12:24:28] bwb at bweebhosting dot com
I am having this problem as well. The interesting thing is that if I
run:
<?
if (fopen("http://www.cnn.com",r)) echo
"OK";
?>
Through a shell as root it works fine and returns ok, as well if I have
fopen open a local file. Through my web browser using it to open a
local file works as well and its only when its trying to open an
outside connection that it hangs.
This seems to indicate its a run/permission problem with apache maybe?
Thanks, Ben W.
------------------------------------------------------------------------
[2004-04-29 23:04:04] sniper@php.net
Disable all zend extensions first..then if you still get the segfault
with non-debug build, get a backtrace of THAT, it might show
_something_..
------------------------------------------------------------------------
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/28029
--
Edit this bug report at http://bugs.php.net/?id=28029&edit=1