Forked from keisukefunatsu/cakephp on loacal by flywheel
Created
November 23, 2019 16:51
-
-
Save definiteIymaybe/65750e9c715c39025cd656a16eb815fc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
## Install vim | |
apt-get update | |
apt-get upgrade | |
apt-get install vim | |
# Read from ext repository | |
echo 'deb http://packages.dotdeb.org jessie all' >> /etc/apt/sources.list | |
echo 'deb-src http://packages.dotdeb.org jessie all' >> /etc/apt/sources.list | |
apt-get install software-properties-common | |
apt-add-repository ppa:ondrej/php | |
apt-get update | |
apt-get upgrade | |
wget https://www.dotdeb.org/dotdeb.gpg | |
apt-key add dotdeb.gpg | |
## Install Composer | |
php -r "readfile('https://getcomposer.org/installer');" | php | |
mv composer.phar /usr/local/bin/composer | |
## Install php-intl7.0 | |
apt-get install php7.0-intl | |
## Add extension to php.ini | |
echo -e "\n[Extensions]\nextension = /usr/lib/php/20151012/intl.so" >> /conf/php/7.0.3/php.ini |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment