Results 1 to 4 of 4

Thread: Libcurl/PHP cURL for internal cPanel PHP

  1. #1
    Registered User
    Join Date
    Oct 2009
    Posts
    2

    Default Libcurl/PHP cURL for internal cPanel PHP

    Hi, guys.
    How do I install/enable libcurl for internal cPanel PHP?
    I ran a php script in WHM and I got a message:
    Unable to load dynamic library '/usr/local/cpanel/3rdparty/lib/php/extensions/no-debug-non-zts-20060613/php_curl.so'

    I have edited the file : /var/cpanel/easy/apache/profile/makecpphp.profile.yaml

    Changed the following from :

    Cpanel::Easy::PHP5::Curl: 0
    Cpanel::Easy::PHP5::CurlSSL: 0

    To

    Cpanel::Easy::PHP5::Curl: 1
    Cpanel::Easy::PHP5::CurlSSL: 1

    After making the above changes I ran : /scripts/makecpphp and /scripts/makecpphp --force but it not works and I got a error message.
    Please, can someone help me?

  2. #2
    cPanel Staff cPanelJared's Avatar
    Join Date
    Feb 2010
    Location
    Houston, TX
    Posts
    1,475
    cPanel/WHM Access Level

    Root Administrator

    Default Re: Libcurl/PHP cURL for internal cPanel PHP

    What is the actual error message that you see when you run /scripts/makecpphp?

    Are both the curl and the curl-devel RPM packages installed on your server?

    Code:
    # rpm -q curl
    curl-7.15.5-9.el5
    # rpm -q curl-devel
    curl-devel-7.15.5-9.el5
    If they are not installed, you should be able to install them using yum.

    We may be able to help you further if you can post the exact error message you see. Without knowing the error that is happening, the best we can do is speculate.
    For hands-on assistance, please reference our new support information page: Where should I go for support?
    cPResources: Support Options - Submit a ticket here - Additional Support Options - Forums Search - Mailing Lists(Alt) - Documentation - Find cPanel hosting


    -- Jared Ryan, Technical Analyst, cPanel Technical Support

  3. #3
    Registered User
    Join Date
    Oct 2009
    Posts
    2

    Default Re: Libcurl/PHP cURL for internal cPanel PHP

    Quote Originally Posted by cPanelJared View Post
    What is the actual error message that you see when you run /scripts/makecpphp?

    Are both the curl and the curl-devel RPM packages installed on your server?

    Code:
    # rpm -q curl
    curl-7.15.5-9.el5
    # rpm -q curl-devel
    curl-devel-7.15.5-9.el5
    If they are not installed, you should be able to install them using yum.

    We may be able to help you further if you can post the exact error message you see. Without knowing the error that is happening, the best we can do is speculate.
    Curl and curl-devel are installed. Please, read the error message in attachment below.
    cPanel PHP cURL.txt
    Thank in advance.

  4. #4
    cPanel Quality Assurance Analyst cPanelDon's Avatar
    Join Date
    Nov 2008
    Location
    Houston, Texas, U.S.A.
    Posts
    2,565
    cPanel/WHM Access Level

    DataCenter Provider

    Lightbulb Re: Libcurl/PHP cURL for internal cPanel PHP

    Quote Originally Posted by jaimedomingos View Post
    Curl and curl-devel are installed. Please, read the error message in attachment below.
    cPanel PHP cURL.txt
    Thank in advance.
    Please submit a support request so that we may assist with determining the cause of difficulty per the output from EasyApache via makecpphp; please link to this forums thread in your support ticket. When available, please post your ticket ID number here so that we can follow-up internally.

Similar Threads

  1. PHP: libcurl.so.4 missing in jailshell
    By Patiek in forum cPanel & WHM Discussions
    Replies: 10
    Last Post: 11-28-2007, 01:32 PM
  2. Rebuilt apache with PHP CURL but now PHP pages don't load.
    By turfsk8r in forum cPanel & WHM Discussions
    Replies: 4
    Last Post: 06-02-2007, 06:19 AM
  3. Replies: 33
    Last Post: 09-10-2006, 12:56 AM
  4. WHM/CP internal PHP engine not compiled with curl?!
    By jsteel in forum cPanel & WHM Discussions
    Replies: 1
    Last Post: 11-06-2003, 11:39 AM
  5. libcurl problem with PHP build in buildapache.sea
    By brianteeter in forum cPanel & WHM Discussions
    Replies: 10
    Last Post: 05-16-2002, 01:20 PM