0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

phpenv update でPHPの最新のバージョンが反映されない

Last updated at Posted at 2022-01-15
$ phpenv install --list

PHP8系が一覧にない

$ phpenv update

error: Your local changes to the following files would be overwritten by merge:
	share/php-build/default_configure_options
Please commit your changes or stash them before you merge.
Aborting

エラーがでた。
以下のファイルをgitでcommitかスタッシュすればいいらしい。
面倒なので、default_configure_optionsのファイル名を変更(バックアップ)

/Users/[ユーザ名]/.anyenv/envs/phpenv/plugins/php-build/share/php-build/default_configure_options
$ phpenv update

$ phpenv install --list

PHP8系がインストールリストに表示された!

0
0
0

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
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?