目標:phpのバージョンをアップデートしたい
問題点:sudo yum install -y --enablerepo=remi-php71 phpのコマンドを打つとエラーが出て、phpをインストールできない。
[vagrant@localhost laravel_lessons]$ php -v PHP 5.4.16 (cli) (built: Apr 12 2018 19:02:01) Copyright (c) 1997-2013 The PHP Group Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies [vagrant@localhost laravel_lessons]$ sudo yum install -y --enablerepo=remi-php71 php Failed to set locale, defaulting to C Loaded plugins: fastestmirror Error getting repository data for remi-php71, repository not found [vagrant@localhost laravel_lessons]$ LC_ALL=C [vagrant@localhost laravel_lessons]$ export LC_ALL [vagrant@localhost laravel_lessons]$ sudo yum install -y --enablerepo=remi-php71 php Loaded plugins: fastestmirror Error getting repository data for remi-php71, repository not found [vagrant@localhost laravel_lessons]$ sudo yum clean all Loaded plugins: fastestmirror Cleaning repos: base epel extras updates Cleaning up everything Maybe you want: rm -rf /var/cache/yum, to also free up space taken by orphaned data from disabled or removed repos Cleaning up list of fastest mirrors [vagrant@localhost laravel_lessons]$ sudo yum install -y --enablerepo=remi-php71 php Loaded plugins: fastestmirror Error getting repository data for remi-php71, repository not found
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2018/09/22 09:49
退会済みユーザー
2018/09/22 09:50
2018/09/22 10:25