Skip to content

Instantly share code, notes, and snippets.

@ShirakawaYoshimaru
Created May 3, 2017 05:11
Show Gist options
  • Save ShirakawaYoshimaru/99318d683c089a17cec6a9395608d1e9 to your computer and use it in GitHub Desktop.
Save ShirakawaYoshimaru/99318d683c089a17cec6a9395608d1e9 to your computer and use it in GitHub Desktop.
vagrantにphp7とapacheとcomposerを入れるbash
sudo rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
sudo rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-7.rpm
sudo yum install -y --enablerepo=remi,remi-php70 php php-devel php-mbstring php-pdo php-xml php-zip
curl -sS https://getcomposer.org/installer | php
sudo mv composer.phar /usr/local/bin/composer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment