php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #54590 ./configure --curl problem with cURL 7.21.5
Submitted: 2011-04-22 07:22 UTC Modified: 2011-04-23 05:04 UTC
From: vikram at gurjar dot com Assigned:
Status: Closed Package: cURL related
PHP Version: 5.3.6 OS: Centos 5.6
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: vikram at gurjar dot com
New email:
PHP Version: OS:

 

 [2011-04-22 07:22 UTC] vikram at gurjar dot com
Description:
------------
This is not a bug in PHP.  It is a problem in cURL but I am reporting it here as well to make life easier for people compiling PHP from source with cURL 7.21.5

Only when cURL 7.21.5 is installed from source

curl-config --version does not return a correct version number.  It returns a "-" instead of 7.21.5

./configure with --with-curl  stops with an error message saying that PHP needs cURL greater than 7.10.2 

The solution is to edit the    curl-config file  at around line 97

   --version)
     echo libcurl -
     exit 0
     ;;

Change 
   echo libcurl -
to
  echo libcurl 7.21.5









Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-04-22 10:10 UTC] bjori@php.net
-Status: Open +Status: Feedback
 [2011-04-22 10:10 UTC] bjori@php.net
Sayyy whaaaat?

That doesn't make sense, are you sure you compiled proper cURL release sources, 
and not some snapshots?
 [2011-04-22 22:45 UTC] Philip@php.net
-Status: Feedback +Status: Wont fix
 [2011-04-22 22:45 UTC] Philip@php.net
Because curl 7.21.5 was out only five days, I think we can ignore this short lived 
yet unfortunate curl library bug. Get curl 7.21.6 today! :)
 [2011-04-23 05:04 UTC] vikram at gurjar dot com
-Status: Wont fix +Status: Closed
 [2011-04-23 05:04 UTC] vikram at gurjar dot com
Fixed in 7.21.6 - Aprl 22 2010 

Bugfixes:

    curl-config: fix --version
    curl_easy_setopt.3: CURLOPT_PROXYTYPE clarification
    use HTTPS properly after CONNECT
    SFTP: close file before post quote operations
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Feb 05 12:01:32 2025 UTC