Posted by monac3 on 01/13/06 10:15
Hello.
I have made a php network client module which connect to an internal
server and retrieve data using php socket functions. It worked fine but
in some systems, it socket_connect() fails with 'Permission denied'
error.
There is no firewall or any network problem in that machine. Weird
thing is that the error happens only when I call the php file from
apache server. When I just execute the php code with php command line,
it works fine. It looks just like apache blocks outgoing TCP/IP
connection.
System of the problem is Fedora Core 4 with httpd 2.0.54 and php 5.0.4
installed.
Any idea is welcomed.
[Back to original message]
|