Skip to content

Commit

Permalink
[UPDATE] upgraded vagrant to xenial and PHP7
Browse files Browse the repository at this point in the history
  • Loading branch information
alangarf committed Jul 9, 2018
1 parent e10cdeb commit f94aa02
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
# vi: set ft=ruby :

Vagrant.configure(2) do |config|
config.vm.box = "ubuntu/trusty64"
config.vm.box = "ubuntu/xenial64"
config.vm.network :forwarded_port, guest: 80, host: 8080
config.vm.host_name = "learnosity-demo.dev"

config.vm.provision "shell", inline: <<-SHELL
sudo apt-get update
sudo apt-get install -y vim curl
sudo apt-get install -y php5 apache2 libapache2-mod-php5 php5-curl php5-gd php5-mcrypt git-core
sudo apt-get install -y php7.0 apache2 libapache2-mod-php7.0 php7.0-curl php7.0-gd php7.0-mcrypt git-core
sudo rm -rf /var/www/html
sudo ln -s /vagrant/www /var/www/html
SHELL
Expand Down

0 comments on commit f94aa02

Please sign in to comment.