Bug #64329 [Nab]: CURLOPT_FTP_SKIP_PASV_IP does not exist
| From: | sixd@php.net | Date: | Fri, 01 Mar 2013 19:14:25 +0000 |
| Subject: | Bug #64329 [Nab]: CURLOPT_FTP_SKIP_PASV_IP does not exist | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-177505@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=64329&edit=1
ID: 64329
Updated by: sixd@php.net
Reported by: daniel at c-books dot co dot uk
Summary: CURLOPT_FTP_SKIP_PASV_IP does not exist
Status: Not a bug
Type: Bug
Package: *General Issues
Operating System: any
PHP Version: 5.4.12
Block user comment: N
Private report: N
New Comment:
That boiler plate might have been confusing (I believe the drop down menu that
adds it to a bug just says "try a newer version" and doesn't mention which
component is old). The answer is probably that your cURL version is not the most
recent. Looking at PHP 5.4.11's ext/curl/interface.c there is code for this
constant if your libcurl version is recent enough.
#if LIBCURL_VERSION_NUM >= 0x070f01
REGISTER_CURL_CONSTANT(CURLOPT_FTP_FILEMETHOD);
REGISTER_CURL_CONSTANT(CURLOPT_FTP_SKIP_PASV_IP);
#endif
Previous Comments:
------------------------------------------------------------------------
[2013-03-01 04:59:29] daniel at c-books dot co dot uk
I am confused how am I not using a current version of PHP?
PHP Info: PHP Version 5.4.12
PHP Downloads: PHP 5.4.12 (Current stable)
------------------------------------------------------------------------
[2013-03-01 04:41:35] pierrick@php.net
Thank you for taking the time to report a problem with PHP.
Unfortunately you are not using a current version of PHP --
the problem might already be fixed. Please download a new
PHP version from http://www.php.net/downloads.php
If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.
This constant will be available in php5.5
------------------------------------------------------------------------
[2013-03-01 04:28:33] daniel at c-books dot co dot uk
Description:
------------
he CURLOPT_FTP_SKIP_PASV_IP option is part of libcurl (see http://curl.haxx.se/libcurl/c/curl_easy_setopt.html
) but no predefined constant exists for use with curl_setopt().
This was requested 2010-01-14.
https://bugs.php.net/bug.php?id=50756
No resolution has been provided to date.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=64329&edit=1