From 723a3ef65fcea6aa36e4b42b946653c8632c0b83 Mon Sep 17 00:00:00 2001 From: Joe Ferguson Date: Sun, 29 Nov 2020 14:08:35 -0600 Subject: [PATCH] Default to PHP 8.0 --- Vagrantfile | 11 +++++++++++ scripts/provision.sh | 6 +++--- 2 files changed, 14 insertions(+), 3 deletions(-) create mode 100644 Vagrantfile diff --git a/Vagrantfile b/Vagrantfile new file mode 100644 index 00000000..6fadbbaa --- /dev/null +++ b/Vagrantfile @@ -0,0 +1,11 @@ +# -*- mode: ruby -*- +# vi: set ft=ruby : + + +Vagrant.configure("2") do |config| + config.vm.box = "bento/ubuntu-18.04" + config.vm.provider "virtualbox" do |v| + v.memory = 4096 + v.cpus = 4 + end +end diff --git a/scripts/provision.sh b/scripts/provision.sh index d6e206fb..0ecb0dc9 100644 --- a/scripts/provision.sh +++ b/scripts/provision.sh @@ -95,9 +95,9 @@ php5.6-mcrypt php5.6-mysql php5.6-odbc php5.6-opcache php5.6-pgsql php5.6-phpdbg php5.6-recode php5.6-snmp php5.6-soap php5.6-sqlite3 php5.6-sybase php5.6-tidy php5.6-xml php5.6-xmlrpc php5.6-xsl \ php5.6-zip -update-alternatives --set php /usr/bin/php7.4 -update-alternatives --set php-config /usr/bin/php-config7.4 -update-alternatives --set phpize /usr/bin/phpize7.4 +update-alternatives --set php /usr/bin/php8.0 +update-alternatives --set php-config /usr/bin/php-config8.0 +update-alternatives --set phpize /usr/bin/phpize8.0 # Install Composer curl -sS https://getcomposer.org/installer | php