Mid-Atlantic Developer Conference - Call for Speakers


Um die FTP-Funktionen zu verwenden, muss die Option --enable-ftp bei der Installation von PHP verwendet werden.

In der Windowsversion von PHP 5 ist diese Extension fest integriert. Es ist nicht nötig zusätzliche Extensions zu laden, um diese Funktionen nutzen zu können.

Von PHP 7.0.0 an wird diese Extension unter Windows immer als Shared Extension kompiliert, und muss daher in php.ini aktiviert werden.

add a note add a note

User Contributed Notes 3 notes

i_djon at hotmail dot com
5 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).
jacob at power9 dot pw
8 months ago
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).
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