#34595 [Bgs]: ftp_ssl_connect is not workin even after enabling php_openssl.dll extension
| From: | mittalsumit at netscape dot net | Date: | Fri, 23 Sep 2005 04:08:27 +0000 |
| Subject: | #34595 [Bgs]: ftp_ssl_connect is not workin even after enabling php_openssl.dll extension | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-85471@lists.php.net to get a copy of this message | ||
ID: 34595
User updated by: mittalsumit at netscape dot net
Reported By: mittalsumit at netscape dot net
Status: Bogus
Bug Type: FTP related
Operating System: Windows XP Professional
PHP Version: 5.0.5
New Comment:
I have got few docs telling the php compilation on windows as well read
the php manual for the same but all give error while compiling it.. is
there any link where i can find a good document which tell how to
compile it for windows with *ssl statically* a quick response will be
highly appiciated
Previous Comments:
------------------------------------------------------------------------
[2005-09-22 19:22:32] wez@php.net
It's not working because openssl is not *statically* compiled into PHP
in our Windows snapshot builds.
------------------------------------------------------------------------
[2005-09-22 17:06:20] mittalsumit at netscape dot net
I think that is basic thing which any body can read on.. But the
problem is i am doing extension=php_openssl.dll in php.ini and system
is showing output of phpinfo function as
Registered PHP Streams => php, file, http, ftp, compress.zlib, https,
ftps
Registered Stream Socket Transports => tcp, udp, ssl, sslv3, sslv2,
tls
Then why this function is not working. In case if still it won't work
then must be a bug. Or in case I have to compile then what is best way
to do it.
------------------------------------------------------------------------
[2005-09-22 13:24:57] sniper@php.net
RTFM: "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."
------------------------------------------------------------------------
[2005-09-22 12:41:39] mittalsumit at netscape dot net
Description:
------------
hi i wanted to run ftp_ssl_connect function but it says undefined. I
tried to compile php from source it has a lot of errors and did not get
compiled. in my phpinfo it shows ftps is enabled after doing
php_openssl.dll uncommented in php.ini. A quick response will be highly
appricieated.
;extension=php_oci8.dll
extension=php_openssl.dll
;extension=php_oracle.dll
Expected result:
----------------
function should work
Actual result:
--------------
Fatal error: Call to undefined function ftp_ssl_connect() in
C:\php5\getm.php on
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=34595&edit=1