LoginSignup
0
0

More than 5 years have passed since last update.

CentOS7+PHP7+CodeIgniter3.0.4の環境を作る。

Posted at

Composerのインストール

# curl -sS https://getcomposer.org/installer | php

どのユーザでも使用出来るようにコマンドパスが通る場所に保存。

# mv composer.phar /usr/local/bin/composer

phpをインストール

# yum -y install php php-pecl-apc php-mysql php-gd php-mbstring php-mcrypt php-xml php-pecl-redis php-opcache php-devel zlib-devel php-pecl-zip --enablerepo=remi-php70

Codeigniterをインストールするフォルダに移動して、「composer.json」というファイルを作成する。

composer.json
{
    "require": {
            "codeigniter/framework": "3.0.4"
    }
}

Composerを使用してインストール

# composer install
0
0
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
0
0