LoginSignup
5
5

More than 5 years have passed since last update.

centOSにphp5.5を入れた時のメモ

Posted at
  1. remiのリポジトリを追加
# rpm -ivh http://rpms.famillecollet.com/enterprise/remi-release-5.rpm
  1. remiのリポジトリを使ってPHP5.5をインストール(必要なモジュールも一緒に入れておきます)
yum install --enablerepo=remi --enablerepo=remi-php55 php php-devel php-mbstring php-mcrypt php-mysql php-phpunit-PHPUnit php-pecl-xdebug php-cli php-common php-gd php-pecl-apc php-pecl-memcache php-xml php-imap php-pear
  1. バージョンを確認する
php -v

PHP 5.5.16 (cli) (built: Sep  3 2014 20:08:58) 
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technologies
    with Xdebug v2.2.5, Copyright (c) 2002-2014, by Derick Rethans

  1. apacheの再起動
/etc/init.d/httpd restart
5
5
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
5
5