Last active
May 17, 2019 16:05
-
-
Save felipsmartins/23260ed0fe5ef7aebcfd90a3125b7c23 to your computer and use it in GitHub Desktop.
laravel homestead php 56, php56, php-5.6
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
#!/usr/bin/env bash | |
# script de provisionamento para laravel/homestead 7.16.* | |
# onde PHP 5.6 não está disponível | |
# atual ppa para php5.6 | |
sudo add-apt-repository ppa:ondrej/php | |
sudo apt update | |
sudo apt install php5.6 | |
sudo apt install php5.6 php5.6-curl php5.6-mbstring php5.6-json php5.6-xml php5.6-ldap php5.6-dev php5.6-pdo php5.6-mcrypt | |
# escolher versão do php | |
sudo update-alternatives --config php | |
# ou | |
# sudo update-alternatives --set php /usr/bin/php5.6 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment