curl-and-php
Re: PHP/CURL Compilation problem
Date: Wed, 1 Nov 2006 09:15:12 +0100 (CET)
On Wed, 1 Nov 2006, Philippe BEAU wrote:
> I would like to compile cURL support with PHP 4.4.2. I take a recent version
> of curl/libcurl (the latest) it compile well.
>
> when i compil i have this message :
>
> /src/php-4.4.2/ext/curl/curl.c:207: `CURLOPT_FTPASCII' undeclared
> /src/php-4.4.2/ext/curl/curl.c:245: `CURLOPT_PASSWDFUNCTION' undeclared
Right, these symbols have been erased from libcurl now since they've been
obsolete and deprecated for many years. You should probably:
1 - use a more recent PHP that doesn't use these symbols
2 - modify the PHP/CURL source code to use the correct symbols and mail the
PHP team a patch or possibly:
3 - if there is none, report it as a bug to the PHP team
4 - use an older libcurl release where they were still present
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.html _______________________________________________ http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-phpReceived on 2006-11-01