Do you have a question? Post it now! No Registration Necessary. Now with pictures!
January 13, 2006, 8:15 am
rate this thread
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'
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
System of the problem is Fedora Core 4 with httpd 2.0.54 and php 5.0.4
Any idea is welcomed.