开发者

PHP: ftp_ssl_connect wont work?

开发者 https://www.devze.com 2023-01-07 22:56 出处:网络
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.

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号