$con = ftp_ssl_connect("192.168.0.2", "54321", "30");
Fatal error: Call to undefined function ftp_ssl_connect() in C:\r\xampp\xampp\htdocs\test.php on line 23
As per php.net:
Why this function may not exist: ftp_ssl_connect() is only available if OpenSSL support is enabled into your version of PHP. If it's undefined and you've compiled FTP support then this is why. For Windows you must compile your own PHP binaries to support this function.
XAMPP version: 20. Nov 2006 XAMPP 1.5.5 beta 2
PHPInfo(): $_ENV['OPENSSL_CONF'] = C:\OpenSSL\bin\openssl.cnf
PHPInfo(): OpenSSL support enabled
PHPInfo(): OpenSSL Version OpenSSL 0.9.8d 28 Sep 2006
Now, it seems like OpenSSL support is enabled in XAMPP by default, but I am still getting that error.
Please advise what can be done to use the ftp_ssl_connect() with XAMPP. I was unable to find any information regaurding this function in this formum in English.
Thanks in advance!