The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    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.
     
Loading...

Share This Page