Installation

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

The Windows version of PHP has built-in support for this extension. You do not need to load any additional extensions in order to use these functions.

Коментарии

If you are using PHP 7 under Windows you have to enable ftp in php.ini with extension=php_ftp.dll.
2016-03-18 11:20:46
http://php5.kiev.ua/manual/ru/ftp.installation.html
On linux, one would enable ftp on their php7 server by uncommenting or adding the line "extension=ftp.so" in their php.ini file (likely at /etc/php/php.ini, unless the user moved it).
2017-05-29 07:58:45
http://php5.kiev.ua/manual/ru/ftp.installation.html
For some reason folks downvoted the previous entry for this, BUT... indeed, as of PHP 7, to enable this on Windows you have to add the line:

extension=php_ftp.dll

to your php.ini to resolve PHP errors that tell you PHP FTP functions are not defined; the line isn't in there (where, many things are and are just commented out).
2017-09-20 01:57:16
http://php5.kiev.ua/manual/ru/ftp.installation.html

    Поддержать сайт на родительском проекте КГБ