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

    Joined:
    Aug 30, 2012
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    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.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,711
    Likes Received:
    1,793
    Trophy Points:
    363
    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...
Loading...

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