Jump to content

FTP_SSL_CONNECT() ??


owned

Recommended Posts

Yes this this is weird.

OS is Windows.

Phpinfo() says:
Registered PHP Streams php, file, http, ftp, compress.zlib, compress.bzip2, https, [b]ftps[/b]
OpenSSL support enabled
FTP support enabled

Where is ftps support enabled :-\

And ftp_ssl_connect() function is undefined.

Damn.
Link to comment
Share on other sites

Just noticed this from php.net, which I quoted below:
[quote=http://uk2.php.net/manual/en/function.ftp-ssl-connect.php][b]Why this function may not exist:  ftp_ssl_connect()[/b] 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.[/quote]
By looks of things you need to recompile PHP to support this, even if you are on windows.
Link to comment
Share on other sites

  • 3 weeks later...
[quote author=wildteen88 link=topic=106838.msg428404#msg428404 date=1157463912]
Just noticed this from php.net, which I quoted below:
[quote=http://uk2.php.net/manual/en/function.ftp-ssl-connect.php][b]Why this function may not exist:  ftp_ssl_connect()[/b] 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.[/quote]


By looks of things you need to recompile PHP to support this, even if you are on windows.
[/quote]

Which could be rather tricky, considering that C compilers for Windows are few and far between. :)
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.