Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Log Outbound Connections

Discussion in 'General Discussion' started by NeonFlash, Sep 17, 2013.

  1. NeonFlash

    NeonFlash Registered

    Aug 30, 2012
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Website Owner

    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?

  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Apr 11, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    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.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice