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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Issue with curl_init

Discussion in 'General Discussion' started by WebHostPro, Apr 13, 2018.

  1. WebHostPro

    WebHostPro Well-Known Member
    PartnerNOC

    Joined:
    Jul 28, 2002
    Messages:
    1,644
    Likes Received:
    15
    Trophy Points:
    318
    Location:
    LA, Costa RIca
    cPanel Access Level:
    Root Administrator
    Twitter:
    I have a customer that says their script does not work:

    Cannot connect to domain.com using curl_init.
    Please make sure domain.com is corrected with the server and outgoing TCP port 80 is opened. Please click here to resolve.
    Return page contents.


    I know TCP port 80 is open on the server and curl is installed.

    Could something be blocking this process? Maybe PHP-FPM?
     
  2. cPanelLauren

    cPanelLauren Forums Analyst
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    428
    Likes Received:
    29
    Trophy Points:
    103
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hello,


    I found the following forum post which also indicates an issue with curl_init which might be helpful:

    Call to undefined function curl_init() How to solve this ?

    Are there any associated errors in the php or apache error logs? Is the script they're using a custom script? If so have you tested using a known good script?

    Thank you,
     
Loading...

Share This Page