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!

How to install latest curl version???

Discussion in 'General Discussion' started by x-man, Oct 4, 2013.

  1. x-man

    x-man Well-Known Member

    Jan 25, 2004
    Likes Received:
    Trophy Points:
    I have some problems with current CURL version, I using it in PHP script to get content from thousands web pages but for many of them I have some errors but not standard 404, 503...for all of them I have something like this:

    [content_type] =>
    [http_code] => 0
    [header_size] => 0
    [request_size] => 228
    [filetime] => -1
    [ssl_verify_result] => 0
    [redirect_count] => 0
    [total_time] => 11.674205
    [namelookup_time] => 0.000749
    [connect_time] => 11.674157
    [pretransfer_time] => 11.674195
    [size_upload] => 0
    [size_download] => 0
    [speed_download] => 0
    [speed_upload] => 0
    [download_content_length] => -1
    [upload_content_length] => 0
    [starttransfer_time] => 0
    [redirect_time] => 0
    [certinfo] => Array

    but page exist and working fine and I can open this page from server with lynx!
    I don`t know why I have this problem with many pages but for most pages all working fine, maybe some bug in curl curl 7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/ zlib/1.2.3 libidn/1.18 libssh2/1.4.2

    The most recent curl version is 7.32.0 but how to upgrade it to this version in cPanel? Look like don`t exist yum repo with this version...

    From source? But I need it to work in php...

  2. MojoCreations

    MojoCreations Active Member

    Feb 14, 2012
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator

    I am guessing you are trying to compile your manual install version of Curl into PHP on your WHM/cPanel install. I am actually having the same issue here, but maybe you can check your features and protocols when you run curl from a command prompt and see if it matches the curl php is compiled with by running phpinfo. My answer on my thread should be similar to yours but I still havent found how i can use my manual install of curl over the default used in easyapache script.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice