PHP 7.1.20 Released


Pour activer le module FTP de votre configuration PHP, il faut utiliser l'option --enable-ftp .

La version Windows de PHP 5 inclut le support de cette extension. Vous n'avez pas à charger d'autres extensions pour utiliser ces fonctions.

Depuis PHP 7.0.0 sous Windows, cette extension est toujours construite comme extension partagée, aussi, vous devez l'activer dans le php.ini.

add a note add a note

User Contributed Notes 3 notes

i_djon at hotmail dot com
10 months 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).
julian_de_vries at gmx dot de
2 years ago
If you are using PHP 7 under Windows you have to enable ftp in php.ini with extension=php_ftp.dll.
jacob at power9 dot pw
1 year 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).
To Top