FreeBSD's PHP port incomplete; missing ftp_ssl_connect function
Alex Dupre
ale at FreeBSD.org
Wed May 8 12:37:05 UTC 2013
Mark Felder ha scritto:
> The problem is that the way FreeBSD handles PHP -- complete
> modularization -- breaks the FTP module. The FTP module cannot be built
> with support for FTPS unless it is built statically into PHP along with
> OpenSSL. You can test this yourself by running the following command:
>
> php -r 'if(function_exists('ftp_ssl_connect')) {echo "ftp_ssl_connect
> exists\n";} else {echo "ftp_ssl_connect does not exist\n";}'
And my output is:
ftp_ssl_connect exists
Actually you can get a ssl-enabled php5-ftp in a very simple way: build
php5-ftp after php5-openssl.
Said so, such behavior should be harmonized, probably you could get a
ssl-enabled php5-ftp even without php5-openssl. I'll work on a patch.
--
Alex Dupre
More information about the freebsd-ports
mailing list