LoginSignup
8
8

More than 5 years have passed since last update.

vagrant+CentOSにphp5.5(当時の最新版)を導入

Last updated at Posted at 2014-09-02

前提条件
 vagrantにsshで接続
 スーパーユーザになっている
 yum update済み

・リポジトリのインストール

rpm -ivh --force http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
rpm -ivh --force http://rpms.famillecollet.com/enterprise/remi-release-6.rpm

・php各種インストール

yum install --enablerepo=remi --enablerepo=remi-php55 php php-devel php-mbstring php-fpm php-mysql php-mcrypt

・バージョンの確認

php --version

php5.5が入っていれば完了!

・phpinfo()を確認する方はこちらを参照(nginx)

http://qiita.com/utano320/items/36b6eac2bbd5bb5657f6
8
8
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
8
8