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.

Outgoing connections from PHP scripts!

Discussion in 'General Discussion' started by tazman2000, Sep 17, 2007.

  1. tazman2000

    tazman2000 Active Member

    Joined:
    Feb 16, 2005
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Liverpool, UK
    cPanel Access Level:
    Root Administrator
    I updated from PHP4 to PHP5 at the weekend, and everything is working fine, apart from one thing.

    Previously my 'shopping cart' received an IPn for purchase confirmation no problem, but no it gets no confirmation.

    I think it is a problem that PHP scripts are not allowed to send/receive, but I cannot for the life of me remember what to change so it can. :confused:

    Any help appreciated. ;)
     
  2. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Check php.ini via WHM in WHM -> Service Configuration -> PHP Configuration Editor. If your script requires register globals, ensure register globals is enabled. Additionally, you may want to check your settings for allow_url_fopen and see if that is enabled (if your script needs it). Granted, both of these are considered bad programming conventions, but some scripts still require these settings.
     
  3. tazman2000

    tazman2000 Active Member

    Joined:
    Feb 16, 2005
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Liverpool, UK
    cPanel Access Level:
    Root Administrator
    :D

    Thanks David, that done the trick. All working now.

    I wish computers were clever enough to remember what the previous settings were when upgrading :confused:
     
Loading...

Share This Page