PHP 7.2.0 Alpha 2 Released


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 5 has built-in support for this extension. You do not need to load any additional extensions in order to use these functions.

As of PHP 7.0.0 on Windows this extension is always built as shared extension and as such has to be enabled in php.ini.

add a note add a note

User Contributed Notes 2 notes

jacob at power9 dot pw
24 days 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
1 year ago
If you are using PHP 7 under Windows you have to enable ftp in php.ini with extension=php_ftp.dll.
To Top