Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save definiteIymaybe/65750e9c715c39025cd656a16eb815fc to your computer and use it in GitHub Desktop.
Save definiteIymaybe/65750e9c715c39025cd656a16eb815fc to your computer and use it in GitHub Desktop.
#!/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