6
15

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 5 years have passed since last update.

CentOS7.3にPHP7.1をyumでインストールする

Last updated at Posted at 2017-06-10

前回の投稿の続き

早速、PHPを入れよう。
バージョンについてお勉強...:writing_hand_tone2:
参考: PHPのリリース日とサポート期限

なるほど、なるほど。
今回はPHP7.1をインストールしてみる:baby_tone2:

#CentOS7.3にPHP7.1をyumでインストールする

まずは、おまじない。

$ sudo yum install epel-release
$ sudo rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-7.rpm

必要最小限でインストール。

$ sudo yum install --enablerepo=remi-php71 php

できたできた:clap_tone2:
バージョンを確認する

$ php -v
PHP 7.1.6 (cli) (built: Jun  7 2017 12:15:54) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.1.0, Copyright (c) 1998-2017 Zend Technologies

よしゃ:ok_hand_tone2:

参考: CentOS6/CentOS7にPHP5.6/PHP7をyumでインストール

6
15
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
6
15

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?