Regarding ftp_ssl_connect()

From: Date: Sat, 07 Jun 2014 07:26:44 +0000
Subject: Regarding ftp_ssl_connect()
Groups: php.internals 
Request: Send a blank email to internals+get-74778@lists.php.net to get a copy of this message
Hi While browsing over some of the code base, I felt over ftp_ssl_connect(), which we only enable in our builds if the openssl extension is available, and even then, we only enable it if it is built statically. I have hacked the code a little, so instead of adding a dependency on a static ext/openssl, we will now detect the openssl library and link it directly if it is found during configure, meaning that in our public builds of PHP on Windows, this function will now always be available. There is however the concern whether or not this makes sense to link to openssl for just this function, and I would love some more input on this matter from someone more experienced as I'm a little rusty. Attached is the patch I have made, note that it does not touch the config.m4, which will need a friendly hand from someone familiar with the UNIX build system. -- regards, Kalle Sommer Nielsen kalle@php.net

« previous php.internals (#74778) next »