|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2004-07-14 10:55 UTC] danielakesson at hotmail dot com
[2005-03-06 20:41 UTC] sniper@php.net
[2005-03-17 01:00 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 17:00:01 2025 UTC |
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