Windows の PHP で https へ接続できない
Windows の PHP 8.3.11 で file_get_contents で https を取得しようとしたら下記のエラー PHP Warning: file_get_contents(): Unable to find the wrapper "https" - did you forget to enable it when you configured PHP? 対応 php.ini を編集 ※php.ini が無ければ、php.ini-development や php.ini-production をリネームして使う 以下の二箇所を探してコメント(;)を外す extension_dir = "ext" extension=openssl 上は extensions のディレクトリ指定 下は openssl の利用