Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Nov 2010
    Posts
    3

    Default PHP compiled with curl, but cannot find curl.so

    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. #2
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    6,305
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: PHP compiled with curl, but cannot find curl.so

    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
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Forums Technical Analyst, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  3. #3
    Registered User
    Join Date
    Nov 2010
    Posts
    3

    Default Re: PHP compiled with curl, but cannot find curl.so

    Here's the result of that,

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

  4. #4
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    6,305
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: PHP compiled with curl, but cannot find curl.so

    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.
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Forums Technical Analyst, cPanel Tech Support

    Submit a ticket | Check an existing ticket

Similar Threads & Tags
Similar threads

  1. curl-7.9.5-2.2.legacy conflicts with file from package curl-ssl-7.10.3-1'
    By jackie46 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 09-09-2005, 09:03 PM
  2. Replies: 4
    Last Post: 09-09-2005, 09:01 PM
  3. Curl & Mcrypt not compiled with easyapache
    By Doctor in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 03-17-2004, 02:48 PM
  4. WHM/CP internal PHP engine not compiled with curl?!
    By jsteel in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 11-06-2003, 11:39 AM
  5. PHP compiled with curl
    By fireform90 in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 10-22-2002, 02:27 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube