ID: 29138
User updated by: danielakesson at hotmail dot com
Reported By: danielakesson at hotmail dot com
Status: Open
Bug Type: FTP related
Operating System: Windows XP
PHP Version: 5.0.0
New Comment:
Forgot to mention that yes, I copied the libeay32.dll and the
ssleay32.dll to system32 folder. Didnt make any difference!
Previous Comments:
------------------------------------------------------------------------
[2004-07-14 10:30:58] danielakesson at hotmail dot com
Description:
------------
Hey,
This have apparently been up before, but I was hoping for an easier
fix. Now, I have OpenSSL and ftpfunctions working.
Both:
ftp_connect("localhost", 21);
$privkey = openssl_pkey_new();
Works without any complaints.
However! To make SSL work with ftp on Windows one have to recompile the
binary with SSL support!
If I got it right, according to the docs on php.net, it states that the
ftp_ssl_connect(...) function should be there if OpenSSL is enabled
aswell as the FTP functions. Well, I have them enabled but php says:
Fatal error: Call to undefined function ftp_ssl_connect()
http://bugs.php.net/bug.php?id=23995
The fixed .zip just includes the recompiled php4ts.dll (which makes the
ftp_ssl_connect() availble). (Also, the "fixed" .dll file I've tested
forced me to disable the OpenSSL extension, because else I had
"Duplicate name" error)
Im not sure how you have implemented this, but it would be nice if the
ftp_ssl_connect function actually was there, when both of those
extensions were enabled (OpenSSL and FTP - although ftp is build in in
Windows)
Or, if that .dll file is included aswell (or, why not have it enabled
by default for windows?) As I can see if, its just one function... I
mean, why all the trouble for a Windows user just to make this funtion
work?
Thank you,
Daniel
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=29138&edit=1