Date: Wed, 08 May 2013 14:37:02 +0200 From: Alex Dupre <ale@FreeBSD.org> To: Mark Felder <feld@feld.me>, "freebsd-ports@FreeBSD.org" <freebsd-ports@freebsd.org> Subject: Re: FreeBSD's PHP port incomplete; missing ftp_ssl_connect function Message-ID: <518A46EE.2060708@FreeBSD.org> In-Reply-To: <op.wwrl06uk34t2sn@tech304.office.supranet.net> References: <op.wwrl06uk34t2sn@tech304.office.supranet.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?518A46EE.2060708>