ID: 34595 Updated by: [EMAIL PROTECTED] 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:
It's not working because openssl is not *statically* compiled into PHP in our Windows snapshot builds. Previous Comments: ------------------------------------------------------------------------ [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] [EMAIL PROTECTED] 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