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.

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

    Joined:
    Jan 25, 2004
    Messages:
    118
    Likes Received:
    0
    Trophy Points:
    166
    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:

    => http://forums.gaspowered.com/viewtopic.php?f=7&t=51224
    [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/3.14.0.0 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...

    Thanks.
     
  2. MojoCreations

    MojoCreations Active Member

    Joined:
    Feb 14, 2012
    Messages:
    28
    Likes Received:
    0
    Trophy Points:
    51
    cPanel Access Level:
    Root Administrator
    X-man,

    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, http://forums.cpanel.net/f5/curl-asynchdns-365092.html 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.
     
Loading...

Share This Page