[MacPorts] #58438: php5*-ftp: ftp_ssl_connect() unavailable
MacPorts
noreply at macports.org
Sat May 4 18:48:22 UTC 2019
#58438: php5*-ftp: ftp_ssl_connect() unavailable
-------------------------+-------------------------------------------------
Reporter: yan12125 | Owner: ryandesign
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: | Port: php52-ftp, php53-ftp, php54-ftp,
| php55-ftp, php56-ftp
-------------------------+-------------------------------------------------
Before php 7.0 [1], the function `ftp_ssl_connect()` is unavailable even
if the php*-ftp extension is built with openssl. The `ftp_ssl_connect()`
function is guarded by `#ifdef HAVE_OPENSSL_EXT`, and the symbol is not
defined for MacPorts' php ports as php*-openssl is built separately.
Noticed this when checking whether old PHP extensions are compatible with
OpenSSL 1.1 or not. I don't use php*-ftp myself.
(1) https://github.com/php/php-
src/commit/167979fe76215978efc64fccad454abb22de862a
--
Ticket URL: <https://trac.macports.org/ticket/58438>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list