top of page

PHP7.1.2のインストール方法

  • kamata4649
  • 2017年2月26日
  • 読了時間: 1分

まずは下のコマンドを入力してください

yum -y install epel-release

CentOS6 の方はこのコマンドを入力してください

wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm

rpm -Uvh remi-release-6.rpm

CentOS7の方はこのコマンドを入力してください

wget http://rpms.famillecollet.com/enterprise/remi-release-7.rpm

rpm -Uvh remi-release-7.rpm

6と7で使えます(もし古いバージョンのPHPがあったら次のコマンドを使用)

yum remove php-*

6と7で使えます(PHPをinstallをします)

yum install --enablerepo=remi,remi-php71 php php-devel php-mbstring php-pdo php-gd

7.1.2になってれば完了です

php --version

Comments


特集記事
後でもう一度お試しください
記事が公開されると、ここに表示されます。
最新記事
アーカイブ
タグから検索
ソーシャルメディア
  • Facebook Basic Square
  • Twitter Basic Square
  • Google+ Basic Square

​PR広告

bottom of page