« インストール/設定
リソース型 »

インストール手順

PHP で FTP 関数を使用するには、PHP をインストールする際に --enable-ftp オプションを追加する必要があります。

Autotoolsでは、 --with-openssl オプションを使用して openssl 拡張機能とともにビルドする場合、FTP SSLサポートは自動的に有効になります。 openssl 拡張機能なしでビルドする場合は、--with-ftp-ssl Autotools オプションを使用することで、明示的にFTP SSLサポートを有効にできます。

Windows 版の PHP では、 この拡張モジュールは共有モジュールとしてビルドされます。 これらの関数を使うには、php.ini でモジュールを有効にする必要があります。

変更履歴

バージョン 説明
8.4.0 --with-openssl-dir Autotoolオプションは、削除され、 openssl 拡張機能なしでビルドする場合に、FTP SSLサポートを明示的に有効化する --with-ftp-ssl オプションが追加されました。

関連キーワード:
openssl   ビルド   拡張機能   サポート   Autotools   明示   リソース   enable   自動的   Windows   拡張   共有   履歴   Autotool
関連する関数・ページ:
mysqlnd.install   function.openssl-get-publickey   function.openssl-get-privatekey   migration85.windows-support   function.openssl-error-string   function.openssl-cms-read