LoginSignup
9
5

More than 5 years have passed since last update.

Cloud9 で PHP 7 コピペ用

Last updated at Posted at 2016-09-30

Cloud9 で PHP7 を使うという記事

Cloud9でLEMP7-fpm環境をサクっと作り、concrete5を入れてみた
http://qiita.com/kohki-shikata/items/20d3301e1bfae2ef175f

Cloud9でPHP7を使う
http://qiita.com/yookihiroo/items/04293aeb43ced91d47f3

Cloud9 でPHP7をインストールする手順
http://soudan.hatenablog.jp/entry/php7

ありがとうございます。
ちょっと、Cloud9 でコピペで実行できるようにコマンドをまとめました。

最近、PHP 7 とかが必要になってきた PHP アプリケーションが多いですね。
concrete5 とか Mautic とか。

sudo apt-get update
sudo apt-get install libmcrypt-dev
sudo apt-get install php-mcrypt
sudo apt-get install php-curl
curl -L -O https://github.com/phpbrew/phpbrew/raw/master/phpbrew
chmod +x phpbrew
sudo mv phpbrew /usr/local/bin/
phpbrew init
[[ -e ~/.phpbrew/bashrc ]] && source ~/.phpbrew/bashrc
phpbrew lookup-prefix ubuntu
phpbrew install 7.0.11 +default +mysql +pdo +fpm +opcache +intl
phpbrew switch php-7.0.11
phpbrew use php-7.0.11
php -v

2016/9/30 時点は 7.0.11 だったので
7.0.11 のバージョンです。

宣伝 & クレジット

この記事が役に立ったら、「 CMS は concrete5 が一番」と頭の中で10回唱えてください。

CMS は断然 concrete5で決まり。コンクリートファイブジャパン株式会社がサポートできます。

9
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
9
5