Jump to content


Photo

FTP_SSL_CONNECT() ??


  • Please log in to reply
4 replies to this topic

#1 owned

owned
  • Members
  • PipPip
  • Member
  • 12 posts

Posted 04 September 2006 - 12:57 PM

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

#2 wildteen88

wildteen88
  • Staff Alumni
  • Advanced Member
  • 10,482 posts
  • LocationUK, Bournemouth

Posted 04 September 2006 - 01:31 PM

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 this page for more info on the FTP library in PHP.

#3 owned

owned
  • Members
  • PipPip
  • Member
  • 12 posts

Posted 05 September 2006 - 01:36 PM

Yes this this is weird.

OS is Windows.

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

Where is ftps support enabled :-\

And ftp_ssl_connect() function is undefined.

Damn.

#4 wildteen88

wildteen88
  • Staff Alumni
  • Advanced Member
  • 10,482 posts
  • LocationUK, Bournemouth

Posted 05 September 2006 - 01:45 PM

Just noticed this from php.net, which I quoted below:

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.

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

#5 neylitalo

neylitalo
  • Staff Alumni
  • Advanced Member
  • 1,854 posts
  • LocationMichigan, USA

Posted 20 September 2006 - 06:45 PM

Just noticed this from php.net, which I quoted below:

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.



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


Which could be rather tricky, considering that C compilers for Windows are few and far between. :)
http://nealylitalo.net - My personal website, and home of The Netizen's Journal.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users