Para usar las funciones FTP con su configuración de PHP, debe agregar la opción --enable-ftp cuando instale PHP.

La versión de PHP para Windows tiene soporte nativo para esta extensión. No se requiere cargar extensiones adicionales para utilizar estas funciones.

add a note

User Contributed Notes 3 notes

i_djon at hotmail dot com
5 years ago
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:


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).
jacob at power9 dot pw
5 years ago
On linux, one would enable ftp on their php7 server by uncommenting or adding the line "" in their php.ini file (likely at /etc/php/php.ini, unless the user moved it).
julian_de_vries at gmx dot de
7 years ago
If you are using PHP 7 under Windows you have to enable ftp in php.ini with extension=php_ftp.dll.
To Top