LoginSignup
4
5

More than 5 years have passed since last update.

CentOS7(x86_64)+PHP7+CakePHP3環境構築手順メモ

Last updated at Posted at 2017-03-13

PHP7のインストール

yum update -y
yum install epel-release -y
yum -y update epel-release
rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-7.rpm
yum -y update remi-release
sudo yum -y --enablerepo=remi-php70,epel install php-fpm php-gd php-gmp php-mbstring php-mcrypt php-opcache php-pdo php-pear-MDB2-Driver-mysqli php-pecl-memcached php-pecl-msgpack php-xml php-devel php-gd php-intl

コンポーザのインストール

curl -sS https://getcomposer.org/installer | php
mv composer.phar /usr/local/bin/composer

gitのインストール

yum -y install git

CakePHP3のインストール

composer self-update && composer create-project --prefer-dist cakephp/app hoge

apacheのインストール

yum install httpd -y
4
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
4
5