#28029 [Fbk->Opn]: HTTP request failed!
| From: | coadmin at hostings dot pl | Date: | Wed, 05 May 2004 11:46:01 +0000 |
| Subject: | #28029 [Fbk->Opn]: HTTP request failed! | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-59246@lists.php.net to get a copy of this message | ||
ID: 28029
User updated by: coadmin at hostings dot pl
Reported By: coadmin at hostings dot pl
-Status: Feedback
+Status: Open
Bug Type: URL related
Operating System: FreeBSD 4.9 and 5.2.1
PHP Version: 4CVS-2004-04-16 (stable)
New Comment:
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
Previous Comments:
------------------------------------------------------------------------
[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_..
------------------------------------------------------------------------
[2004-04-29 13:53:41] coadmin at hostings dot pl
Hello,
I cleared my own CFLAGS and also tried to compile with exported
CFLAGS=-O but problem is still recurrent.
I can't reproduce problem in --enable-debug.
I'm waiting for any other hints.
------------------------------------------------------------------------
[2004-04-28 21:00:36] coadmin at hostings dot pl
Hello,
I'm still doing tests. I'll post answer soon. Please keep this ticket.
Thanks.
------------------------------------------------------------------------
[2004-04-23 18:04:28] iliaa@php.net
When compiling PHP without debug do you export your own
CFLAGS? It is possible that with debug your compiler over
optimizes and consequently breaks the code. If you are not
setting any optimization options, try doing export
CFLAGS=-O before running configure/make/make install
procedure.
------------------------------------------------------------------------
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