LoginSignup
1

More than 5 years have passed since last update.

phpbrewからダウンロード失敗したので自分で落として入れるやーつ

Posted at

phpbrewからちょっと古めのphpを入れようとしたら404エラーで落せなかった。
公式のCookbookにはミラー指定してやってみそとかあるんだけど、それでもだめだった。

普通にPHP公式いけばtarballは落とせたので、そこから入れる方法をとった。

===> phpbrew will now build 5.4.14
===> Loading and resolving variants...
===> Downloading from http://www.php.net/get/php-5.4.14.tar.bz2/from/this/mirror
[==================================================================] 184.00/184.00B 100%
Redirecting to http://php.net/get/php-5.4.14.tar.bz2/from/this/mirror
  1. ここから tarballを落としてくる
  2. ~/.phpberw/distfiles/ に保存する

あとは普通にphpbew install

なんかplenvでも同じようなことした気がします。

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1