==> default: [Info]: Building 5.2.17 into /usr/local/phpenv/versions/5.2.17 ==> default: [Downloading]: https://git.php.net/?p=web/php-distributions.git;a=blob;f=php-5.2.17.tar.bz2;h=90d654f7b9c60320f6228194ed1d2f12976a3a59;hb=bed93a30bbc2104f6e88e6ef142891a4c289502f ==> default: ==> default: ----------------- ==> default: | BUILD ERROR | ==> default: ----------------- ==> default: ==> default: Here are the last 10 lines from the log: ==> default: ==> default: ----------------------------------------- ==> default: curl: (6) Couldn't resolve host 'git.php.net' ==> default: ----------------------------------------- ==> default: ==> default: The full Log is available at '/tmp/php-build.5.2.17.20170801094956.log'. ==> default: [Warn]: Aborting build. ==> default: rbenv: version `5.2.17' not installed ==> default: mv: ==> default: cannot stat `/etc/httpd/modules/libphp5.so' ==> default: : そのようなファイルやディレクトリはありません ==> default: rbenv: version `5.2.17' not installed ==> default: httpd を停止中: ==> default: [ OK ] ==> default: httpd を起動中: ==> default: httpd: Syntax error on line 222 of /etc/httpd/conf/httpd.conf: Syntax error on line 6 of /etc/httpd/conf.d/php.conf: Cannot load /etc/httpd/modules/libphp5.so into server: /etc/httpd/modules/libphp5.so: cannot open shared object file: No such file or directory ==> default: [失敗]
上記のエラーでアパッチが動きません。
git.php.netが切れてPHPがインストール
できていないのが原因らしいですが
PHPをインストールするためには
どうしたらいいのでしょうか
よろしくお願いいたします。
回答2件
あなたの回答
tips
プレビュー