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.

PHP compiled with curl, but cannot find curl.so

Discussion in 'General Discussion' started by racerx8413, Jul 15, 2011.

  1. racerx8413

    racerx8413 Member

    Joined:
    Nov 5, 2010
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    This is confusing me.

    phpinfo shows curl enabled, --with-curl=/opt/curlssl/'

    I'm enabling curl, curl ssl and curl wrappers in Easy apache, on WHM 11.30,

    And I'm still getting the following:

    Warning: dl() [function.dl]: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/curl.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/curl.so: cannot open shared object file:

    What am I missing?
     
  2. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Do you have curl in your /usr/local/lib/php.ini file for some reason? Can you grep for curl in /usr/local/lib/php.ini file:

    Code:
    grep -i curl /usr/local/lib/php.ini
     
  3. racerx8413

    racerx8413 Member

    Joined:
    Nov 5, 2010
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    Here's the result of that,

    Code:
    [~]# grep -i curl /usr/local/lib/php.ini
    ;extension=php_curl.dll
    
     
  4. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    I've already replied to the ticket. The curl.so isn't the issue in php.ini as curl doesn't load as an extension under cPanel environment. Basically, it's difficult to know why curl.so is being called in XCart since that isn't a script we utilize. Contacting them to ask why they aren't calling curl functions normally would be the best course of action. This isn't actually a cPanel issue but a scripting issue with how they are calling curl in that script.
     
Loading...

Share This Page