[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] [RaQ 4] Enabeling FTP-functionallity in PHP
- Subject: [cobalt-users] [RaQ 4] Enabeling FTP-functionallity in PHP
- From: "Rüdiger Seemann" <seemann@xxxxxxxxx>
- Date: Tue May 22 14:21:40 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
Hello all,
first let me say, that i'm new to Linux and Cobalt-Servers,
so if you know an answer to my question, please describe
the solution "a little more detailed".
To my problem:
I'm programming an administration tool in PHP + Database
so that users can update their sites on their own. For that
i need the possibility to call ftp-functions from out of PHP, so
that users can upload files directly from the administration
surface, not via an ftp-client. This ftp-functions-support is not
enabled on my Raq 4 by default so i get error messages like this:
Fatal error: Call to undefined function: ftp_connect() in
/service/service3.php on line 146
I read a lot in forums and i think the solution is to install an extension
that enables these functions (in /usr/lib/apache/php/) and to modify the
php.ini (in etc/httpd/) so that the extension is loaded automatically.
My questions:
1. Does such an extension exist and where do i get it?
2. How do i install the extension on my Raq and get it to run?
3. Could the extension cause problems with the system?
4. Do you know a better solution / an easier way?
Thank you in advance for your help,
Rüdiger Seemann
-- r.seemann@xxxxxxxxx