NeonFlash

Registered
Aug 30, 2012
4
0
1
cPanel Access Level
Website Owner
Hi,

I have my site hosted on a Shared Hosting and I am provided a CPanel by the Hosting Provider. Now, I am facing an issue with a PHP Script running on my Site and I think my script is unable to establish outbound connections. I would like to debug this.

I was wondering if there was a way to log any outbound connection attempts made by my site to any other site? Is there a setting that could help me with that?

Does Apache Web Server store this information in any log files as well?

Thanks.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,202
363
Hello :)

You can try checking to see if an error_log exists in the directory where the script is stored. You should see any specific errors related to the PHP script output to that file.

Thank you.