From owner-freebsd-ports@FreeBSD.ORG Wed May 8 12:37:05 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 38F3461C for ; Wed, 8 May 2013 12:37:05 +0000 (UTC) (envelope-from ale@FreeBSD.org) Received: from relay.andxor.it (relay.andxor.it [195.223.2.3]) by mx1.freebsd.org (Postfix) with ESMTP id 74B95C1B for ; Wed, 8 May 2013 12:37:04 +0000 (UTC) Received: (qmail 12575 invoked from network); 8 May 2013 12:37:02 -0000 Received: from alex.andxor.it (a.premoli@andxor.it@192.168.2.30) by relay.andxor.it with ESMTPSA; 8 May 2013 12:37:02 -0000 Message-ID: <518A46EE.2060708@FreeBSD.org> Date: Wed, 08 May 2013 14:37:02 +0200 From: Alex Dupre User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:20.0) Gecko/20100101 Firefox/20.0 SeaMonkey/2.17 MIME-Version: 1.0 To: Mark Felder , "freebsd-ports@FreeBSD.org" Subject: Re: FreeBSD's PHP port incomplete; missing ftp_ssl_connect function References: In-Reply-To: X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 May 2013 12:37:05 -0000 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