From:             danielakesson at hotmail dot com
Operating system: Windows XP
PHP version:      5.0.0
PHP Bug Type:     FTP related
Bug description:  Need recompilation to make SSL work for FTP in Windows.

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 bug report at http://bugs.php.net/?id=29138&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=29138&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=29138&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=29138&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=29138&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=29138&r=needtrace
Need Reproduce Script:      http://bugs.php.net/fix.php?id=29138&r=needscript
Try newer version:          http://bugs.php.net/fix.php?id=29138&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=29138&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=29138&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=29138&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=29138&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=29138&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=29138&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=29138&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=29138&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=29138&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=29138&r=float

Reply via email to