From:             
Operating system: Linux
PHP version:      5.3.2
Package:          cURL related
Bug Type:         Bug
Bug description:CURL_VERSION_LARGEFILE incorrectly used after libcurl version 
7.10.1

Description:
------------
In ext/curl/interface.c:



#if LIBCURL_VERSION_NUM > 0x070a09 /* 7.10.1 */

                       {"Largefile", CURL_VERSION_LARGEFILE},

#endif



According to libcurl documentation
(http://curl.haxx.se/libcurl/c/curl_version_info.html this symbol) it
exists just after version 7.11.1 and not 7.10.1:



CURL_VERSION_LARGEFILE 

libcurl was built with support for large files. (Added in 7.11.1)



If you have libcurl version between 7.10.1 and 7.11.1 (in SLES9 for
example) your build will fail since not CURL_VERSION_LARGEFILE symbol
exists in libcurl but tried to used by PHP curl extension.



Patch file resolves this problem attached.


-- 
Edit bug report at http://bugs.php.net/bug.php?id=51257&edit=1
-- 
Try a snapshot (PHP 5.2):            
http://bugs.php.net/fix.php?id=51257&r=trysnapshot52
Try a snapshot (PHP 5.3):            
http://bugs.php.net/fix.php?id=51257&r=trysnapshot53
Try a snapshot (PHP 6.0):            
http://bugs.php.net/fix.php?id=51257&r=trysnapshot60
Fixed in SVN:                        
http://bugs.php.net/fix.php?id=51257&r=fixed
Fixed in SVN and need be documented: 
http://bugs.php.net/fix.php?id=51257&r=needdocs
Fixed in release:                    
http://bugs.php.net/fix.php?id=51257&r=alreadyfixed
Need backtrace:                      
http://bugs.php.net/fix.php?id=51257&r=needtrace
Need Reproduce Script:               
http://bugs.php.net/fix.php?id=51257&r=needscript
Try newer version:                   
http://bugs.php.net/fix.php?id=51257&r=oldversion
Not developer issue:                 
http://bugs.php.net/fix.php?id=51257&r=support
Expected behavior:                   
http://bugs.php.net/fix.php?id=51257&r=notwrong
Not enough info:                     
http://bugs.php.net/fix.php?id=51257&r=notenoughinfo
Submitted twice:                     
http://bugs.php.net/fix.php?id=51257&r=submittedtwice
register_globals:                    
http://bugs.php.net/fix.php?id=51257&r=globals
PHP 4 support discontinued:          http://bugs.php.net/fix.php?id=51257&r=php4
Daylight Savings:                    http://bugs.php.net/fix.php?id=51257&r=dst
IIS Stability:                       
http://bugs.php.net/fix.php?id=51257&r=isapi
Install GNU Sed:                     
http://bugs.php.net/fix.php?id=51257&r=gnused
Floating point limitations:          
http://bugs.php.net/fix.php?id=51257&r=float
No Zend Extensions:                  
http://bugs.php.net/fix.php?id=51257&r=nozend
MySQL Configuration Error:           
http://bugs.php.net/fix.php?id=51257&r=mysqlcfg

Reply via email to