#39803 [Opn->Fbk]: fsockopen() bug
| From: | tony2001@php.net | Date: | Tue, 12 Dec 2006 15:42:40 +0000 |
| Subject: | #39803 [Opn->Fbk]: fsockopen() bug | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-106254@lists.php.net to get a copy of this message | ||
ID: 39803
Updated by: tony2001@php.net
Reported By: marcelo at tpn dot com dot br
-Status: Open
+Status: Feedback
Bug Type: Sockets related
Operating System: FreeBSD 5.3
PHP Version: 4.4.4
New Comment:
>I believe that if the code is the same, should produce the
> same result, else there is a bug.
No, it most likely means that it has nothing to do with this code and
you're looking for a problem in wrong place.
Have you already disabled your firewall?
Previous Comments:
------------------------------------------------------------------------
[2006-12-12 15:22:51] marcelo at tpn dot com dot br
I don't understand.
If worked with CGI but not as an Apache Module, why you don't consider
this a bug?
I believe that if the code is the same, should produce the same result,
else there is a bug.
------------------------------------------------------------------------
[2006-12-12 14:22:58] tony2001@php.net
Both CGI and Apache module share the same code for fsockopen(), so
fsockopen() doesn't depend on the Server API used.
------------------------------------------------------------------------
[2006-12-12 14:10:09] marcelo at tpn dot com dot br
More details:
Using php-cgi, fsockopen works correctly.
The build date of the PHP (Apache Module) and PHP-CGI is the same.
------------------------------------------------------------------------
[2006-12-12 12:58:52] marcelo at tpn dot com dot br
Why socket_create() works and fsockopen() doesn't?
If there is some wrong outside PHP, why just fsockopen fails?
------------------------------------------------------------------------
[2006-12-12 07:32:24] tony2001@php.net
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions. Due to the volume
of reports we can not explain in detail here why your report is not
a bug. The support channels will be able to provide an explanation
for you.
Thank you for your interest in PHP.
Please consult your system administrator on how to disable the
firewall.
------------------------------------------------------------------------
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/39803
--
Edit this bug report at http://bugs.php.net/?id=39803&edit=1