Question

I want to connect my Symfony2 App with a FTPS :

$ftp = ftp_ssl_connect("ftps://remote.platform.pro", 990);

But I have this error :

UndefinedFunctionException: Attempted to call function "ftp_ssl_connect"

It seems that Symfony does not recognize this function, which seems crazy! Is there a service or other specific function to use instead?

__ My work environment __

  • Windows 7
  • XAMPP 3.2.1
  • PHP 5.5.6
  • Symfony 2.4.2*

I found nothing in forums and documentation so any help would be appreciated ...

Was it helpful?

Solution

Have you enabled OpenSSL ?

To do this, you have to open php.ini and remove the semicolon to:

;extension=php_openssl.dll

Otherwise you probably find an answer here :

Stack Question

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top