ID:               39803
 Updated by:       [EMAIL PROTECTED]
 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] [EMAIL PROTECTED]

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] [EMAIL PROTECTED]

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

Reply via email to