Discussion Locked

how to enable the PHP function in FTP se

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I have a linux server and running the FTP server on it. And one of my user want me to enable the PHP function in FTP server, so that his script can do the PHP in FTP server. I did try it but it not working. So can any help me to get it work. I can start all over again. How can I enable it, so it can be work. I really need it.

Thanks

5 replies

by thambi_r

Hai,

There is nothing to enable PHP function in FTP server.

In order to use FTP functions with your PHP configuration, you should add the --enable-ftp option when installing PHP 4, and --with-ftp when using PHP 3.

by dhaval_thakker

I think you are asking about how to use FTP
function from the PHP scripts. ok.
For that download the php-version.tar.gz and
untar it using the tar -zxvf tarfile .
Now go in the directory and run the command as
follows:
./configure /usr
--with-ftp
and so on for any other service .

A lot of help for function is available at
http://www.php.net is availble in documentation.

This discussion is closed to new replies.