Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

change php version in vagrant

sudo update-alternatives --config php
  
  
sudo update-alternatives --set php /usr/bin/php7.1
sudo update-alternatives --set phar /usr/bin/phar7.1
sudo update-alternatives --set phar.phar /usr/bin/phar.phar7.1
sudo update-alternatives --set phpize /usr/bin/phpize7.1
sudo update-alternatives --set php-config /usr/bin/php-config7.1
 
PREVIOUS NEXT
Tagged: #change #php #version #vagrant
ADD COMMENT
Topic
Name
1+9 =