Help us understand the problem. What is going on with this article?

yumでphp7.0をCentOS6.7にインストール

More than 3 years have passed since last update.

先日PHP7.0.0GA版がリリースされたのでインストールしてみた。

php7.0での変更点は公式で。
PHP 5.6.x から PHP 7.0.x への移行

qiitaだとこの記事によくまとまっている。
PHP 7 リリース内容の確認

vagrantでbento/centos-6.7を立ち上げて実験。
それにかんしてはドットインストールでも参考にしてください。

インストール

sudo yum -y install epel-release
wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
sudo rpm -Uvh remi-release-6*.rpm
sudo yum -y install  --enablerepo=remi --enablerepo=remi-php70 php

最低限ならこれだけです。

実行結果

php -v
PHP 7.0.0 (cli) (built: Dec  3 2015 18:05:30) ( NTS )
Copyright (c) 1997-2015 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2015 Zend Technologies
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
No comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
ユーザーは見つかりませんでした