• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

FTP SSL Problem

A

andykim

Guest
I'm not entirely sure if this is a problem that is in Plesk or maybe the version of PHP that came with it but I'm having the following problem and there doesn't seem to be any solution that I can find out there.

I'm trying to connect to an SSL Server using PHP and I'm getting an error I can't find anything on the internet for. I can't tell you the server I'm trying to access but I'll give you what I can. The following is my code:

....
if ($ftp_conn = ftp_ssl_connect('########',####)) {
$ftp_log = ftp_login($ftp_conn,'******','******');
fto_close($ftp_conn);
}
....

When I run this, I get the following error:

Warning: ftp_login() [function.ftp-login]: SSLv23/TLSv1 in xxx.php on line 185

I can't seem to figure out what is causing this. The server is running PHP 4.4.4, on Apache 2.0.54. The server is running PLESK 8.0.1 on FreeBSD 6.1. If there is anyone out there that can help that would be great! Thanks!
 
Back
Top