実現したいこと
CentOS:7.9
PHP:7.4
Apache:2.4
の環境に、xdebugを導入する
前提
Dockerfileをbuildしてイメージを生成しようとしたところ、
RUN pecl install xdebug-3.1.6
の部分でエラーが発生します。
発生している問題・エラーメッセージ
No releases available for package "pecl.php.net/xdebug" install failed
↓
ググったところ、peclのバージョンアップが必要との情報があり、
pecl channel-update pecl.php.net
というコマンドを実行したところ、別なエラーメッセージが出ます。
Updating channel "pecl.php.net" Channel "pecl.php.net" is not responding over http://, failed with message: File http://pecl.php.net:80/channel.xml not valid (redirected but no location) Trying channel "pecl.php.net" over https:// instead Cannot retrieve channel.xml for channel "pecl.php.net" (Connection to `pecl.php.net:443' failed: )
該当のソースコード
試したこと
エラーメッセージについて色々とググりましたら、明確なソリューションが見つかりません。
Trying channel "pecl.php.net" over https:// instead
という一文がありますが、「特定のURLへの接続にhttps://を用いる」というコマンドがあるのかもよく分からず詰まっています。
補足情報(FW/ツールのバージョンなど)

あなたの回答
tips
プレビュー