php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #39354 PHP 5.2.0 x curl 7.16.0
Submitted: 2006-11-03 00:48 UTC Modified: 2006-11-03 19:27 UTC
From: fraga at abusar dot org Assigned:
Status: Closed Package: Compile Failure
PHP Version: 5.2.0 OS: Linux 2.6.18
Private report: No CVE-ID: None
 [2006-11-03 00:48 UTC] fraga at abusar dot org
Description:
------------
PHP 5.2.0 is incompatible with the new curl 7.16.0. The solution I found is to comment lines 372, 412 and 1164 from php-5.2.0/ext/curl/interface.c

Actual result:
--------------
/bin/sh /home/fraga/php-5.2.0/libtool --silent --preserve-dup-deps --mode=compile gcc  -Iext/zlib/ -I/home/fraga/php-5.2.0/ext/zlib/ -DPHP_ATOM_INC -I/home/fraga/php-5.2.0/include -I/home/fraga/php-5.2.0/main -I/home/fraga/php-5.2.0 -I/usr/local/include/libxml2 -I/usr/local/include -I/home/fraga/php-5.2.0/ext/date/lib -I/home/fraga/php-5.2.0/ext/mbstring/oniguruma -I/home/fraga/php-5.2.0/ext/mbstring/libmbfl -I/home/fraga/php-5.2.0/ext/mbstring/libmbfl/mbfl -I/usr/local/include/mysql -I/home/fraga/php-5.2.0/TSRM -I/home/fraga/php-5.2.0/Zend    -I/usr/include -O2 -march=athlon-xp -pipe -ftree-vectorize -mfpmath=sse  -prefer-non-pic -c /home/fraga/php-5.2.0/ext/zlib/zlib_filter.c -o ext/zlib/zlib_filter.lo 
/bin/sh /home/fraga/php-5.2.0/libtool --silent --preserve-dup-deps --mode=compile gcc  -Iext/ctype/ -I/home/fraga/php-5.2.0/ext/ctype/ -DPHP_ATOM_INC -I/home/fraga/php-5.2.0/include -I/home/fraga/php-5.2.0/main -I/home/fraga/php-5.2.0 -I/usr/local/include/libxml2 -I/usr/local/include -I/home/fraga/php-5.2.0/ext/date/lib -I/home/fraga/php-5.2.0/ext/mbstring/oniguruma -I/home/fraga/php-5.2.0/ext/mbstring/libmbfl -I/home/fraga/php-5.2.0/ext/mbstring/libmbfl/mbfl -I/usr/local/include/mysql -I/home/fraga/php-5.2.0/TSRM -I/home/fraga/php-5.2.0/Zend    -I/usr/include -O2 -march=athlon-xp -pipe -ftree-vectorize -mfpmath=sse  -prefer-non-pic -c /home/fraga/php-5.2.0/ext/ctype/ctype.c -o ext/ctype/ctype.lo 
/bin/sh /home/fraga/php-5.2.0/libtool --silent --preserve-dup-deps --mode=compile gcc  -Iext/curl/ -I/home/fraga/php-5.2.0/ext/curl/ -DPHP_ATOM_INC -I/home/fraga/php-5.2.0/include -I/home/fraga/php-5.2.0/main -I/home/fraga/php-5.2.0 -I/usr/local/include/libxml2 -I/usr/local/include -I/home/fraga/php-5.2.0/ext/date/lib -I/home/fraga/php-5.2.0/ext/mbstring/oniguruma -I/home/fraga/php-5.2.0/ext/mbstring/libmbfl -I/home/fraga/php-5.2.0/ext/mbstring/libmbfl/mbfl -I/usr/local/include/mysql -I/home/fraga/php-5.2.0/TSRM -I/home/fraga/php-5.2.0/Zend    -I/usr/include -O2 -march=athlon-xp -pipe -ftree-vectorize -mfpmath=sse  -prefer-non-pic -c /home/fraga/php-5.2.0/ext/curl/interface.c -o ext/curl/interface.lo 
/home/fraga/php-5.2.0/ext/curl/interface.c: In function 'zm_startup_curl':
/home/fraga/php-5.2.0/ext/curl/interface.c:372: error: 'CURLOPT_FTPASCII' undeclared (first use in this function)
/home/fraga/php-5.2.0/ext/curl/interface.c:372: error: (Each undeclared identifier is reported only once
/home/fraga/php-5.2.0/ext/curl/interface.c:372: error: for each function it appears in.)
/home/fraga/php-5.2.0/ext/curl/interface.c:412: error: 'CURLOPT_PASSWDFUNCTION' undeclared (first use in this function)
/home/fraga/php-5.2.0/ext/curl/interface.c: In function 'zif_curl_copy_handle':
/home/fraga/php-5.2.0/ext/curl/interface.c:1164: error: 'CURLOPT_PASSWDDATA' undeclared (first use in this function)
make: *** [ext/curl/interface.lo] Error 1

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-11-03 19:27 UTC] iliaa@php.net
This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Mar 19 10:01:30 2024 UTC