I am using PHP Version 5.2.5 on an iSeries. I have been using PHP for about a year. This is the first time I have tried to use FTP and when I use the basic command of


$ftp_server equal to my server name

I get an internal server error as if the command is not valid. Do I need to do and additional download for my system to accept FTP commands?

In my research I found the following statement.

[size=3][font=times new roman]In order to use FTP functions with your PHP configuration, you should add the --enable-ftp option when installing PHP 4 or greater or --with-ftp when using PHP 3.[/font][/size]

if it’s enabled you will need to ask your host, if your on a shared server I don’t think you’ll be able to do it yourself.

Sponsor our Newsletter | Privacy Policy | Terms of Service