Page 1 of 1

ftp_ssl_connect problom

Posted: Mon Dec 01, 2008 5:30 am
by asifkamalzahid
ftp_ssl_connect problom
i run my php program for uploading file from my server to another server.
it works with normal ftp connection but it has problom with ftp_ssl_connect function.

it gives me an error u calling an undefined function (ftp_ssl_connect)
i read the follwing information on the php.net site about this problom, but i realy not understand what means by compile your own binaries.

ftp_ssl_connect() is only available if both the ftp module and the OpenSSL support is built staticlly into php, this means that on Windows this function will be undefined in the official PHP builds. To make this function available on Windows you must compile your own PHP binaries.

Re: ftp_ssl_connect problom

Posted: Mon Dec 01, 2008 5:59 am
by requinix
Are you on a Windows server?

Actually, doesn't matter. OpenSSL support is built into PHP maybe. If you don't have it then you can't use ftp_ssl_connect.
To get it you need to compile PHP yourself or find a version of PHP that does have OpenSSL support.

If you don't know how to compile stuff then ask whoever manages your server to take care of it.

Re: ftp_ssl_connect problom

Posted: Wed Dec 03, 2008 7:06 am
by asifkamalzahid
can u give m an idea about SSH.
What main steps i need to follow to make the connection with my server using SSH in php.
i have done some search work on google.
there some softaware i need to use, is it true.
but anyway if possible then give me list of main steps and any softaware to esablish ssh connectoon. i am on window based server.
thanks
asif kamal

Re: ftp_ssl_connect problom

Posted: Tue Dec 09, 2008 5:22 am
by asifkamalzahid
i have download the php_ssh2.dll
but stile i have the following error.
can u explain to me the steps for bindingssslto connect my ssh server