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.
| 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.
|