> Hi, > > I just tried to use PHP's FTP functions, however I received the following > error. > > > Call to undefined function: ftp_connect() > > So I thought that PHP was not built with ftp, but I checked phpinfo() and it > says: > > >'--enable-ftp=shared' > > Then I verified if the extension is loaded in php.ini, where it is not. So I > added the following code: > > if (!extension_loaded('ftp')) { > if (!dl('ftp.so')) { > exit; > } > } > > to load it dynamically, but I get the following error: > > > Unable to load dynamic library /usr/lib/php4/ftp.so: cannot > >open shared object file: No such file or directory > > I verified the directory, "ftp.so" is not there. > > Since I'm a linux newbie, my question is simple: Where do I get "ftp.so" > from and why is it not there, when PHP was built with "enable-ftp" > > Thanks, > Matthias > > > > > -- > PHP Install Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > Hi,
the easiest way would be to enable the ftp extension in the php.ini by uncommenting or inserting the following line: extension=ftp.so Regards, Thomas =============================================== Thomas Sinka mobil: +49 163 3 23 12 72 mailto: [EMAIL PROTECTED] IT-Choice Software AG Kaiserstraße 160-162, 76133 Karlsruhe, Germany Tel.: +49(0)721-85 006-0, Fax: +49(0)721-85 006-77 www.it-choice.de, [EMAIL PROTECTED] Amtsgericht Karlsruhe, HRB 9060 USt-Id Nr.: DE 812 950 635 Vorstand: Mirko Ketterer (Vorsitzender), Stephanie Lehmann, Dirk Ludwig Aufsichtsratsvorsitzender: Horst Gann -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php