phpday 2027 - Call for Papers

Installation

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

In Autotools, the FTP SSL support is enabled implicitly when building together with the openssl extension using the --with-openssl configure option. When building without openssl extension, the --with-ftp-ssl Autotools configure option can be used to enable the FTP SSL support explicitly.

On Windows, php_ftp.dll must be enabled in php.ini.

Changelog

Version Description
8.4.0 Autotools configure option --with-openssl-dir has been removed in favor of the new --with-ftp-ssl that enables the FTP SSL support explicitly when building without the openssl extension.

User Contributed Notes 2 notes

up
27
i_djon at hotmail dot com
9 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:

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).
up
-2
julian_de_vries at gmx dot de
10 years ago
If you are using PHP 7 under Windows you have to enable ftp in php.ini with extension=php_ftp.dll.
Adding new notes is disabled. Please see the links in the Found A Problem? section.
To Top