Jump to content

Archived

This topic is now archived and is closed to further replies.

owned

FTP_SSL_CONNECT() ??

Recommended Posts

FTP_SSL_CONNECT() How do I enable this ? Any one got php win binaries supporting this ? Help! ???

Share this post


Link to post
Share on other sites
No need to do anything if you have php installed on windows as it is part of the core library of PHPs built in functions. Read [url=http://uk2.php.net/manual/en/ref.ftp.php]this page[/url] for more info on the FTP library in PHP.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites
[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. :)

Share this post


Link to post
Share on other sites

×

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.