owned Posted September 4, 2006 Share Posted September 4, 2006 FTP_SSL_CONNECT() How do I enable this ? Any one got php win binaries supporting this ? Help! ??? Quote Link to comment https://forums.phpfreaks.com/topic/19665-ftp_ssl_connect/ Share on other sites More sharing options...
wildteen88 Posted September 4, 2006 Share Posted September 4, 2006 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. Quote Link to comment https://forums.phpfreaks.com/topic/19665-ftp_ssl_connect/#findComment-85709 Share on other sites More sharing options...
owned Posted September 5, 2006 Author Share Posted September 5, 2006 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 enabledFTP support enabledWhere is ftps support enabled :-\And ftp_ssl_connect() function is undefined.Damn. Quote Link to comment https://forums.phpfreaks.com/topic/19665-ftp_ssl_connect/#findComment-86356 Share on other sites More sharing options...
wildteen88 Posted September 5, 2006 Share Posted September 5, 2006 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 Link to comment https://forums.phpfreaks.com/topic/19665-ftp_ssl_connect/#findComment-86358 Share on other sites More sharing options...
neylitalo Posted September 20, 2006 Share Posted September 20, 2006 [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. :) Quote Link to comment https://forums.phpfreaks.com/topic/19665-ftp_ssl_connect/#findComment-95608 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.