PHP: ftp_ssl_connect wont work?
is there开发者_运维百科 anything i've missed on the PHP manual. the difference between ftp_connect and ftp_ssl_connect is just the method-name, right.
somehow i'm not able to connect to my ftp-server with ftp_ssl_connect but with ftp_connect everything works fine. I'm using the exact same code.
any ideas what i could do wrong here?
regards matt
This might be causing a problem:
Since ftp_ssl_connect() requires SSL compiled into PHP, Windows users will need to compile their own PHP this way or download it from another source.
Heres how to do it on linux:
http://rubayathasan.com/tutorial/apache-ssl-on-windows/
Heres Windows:
http://www.neilstuff.com/apache/apache2-ssl-windows.htm
The above guides are for setting up SSL (e.g. https ) and may be overkill but they should detail how to compile SSL into PHP.
精彩评论