Created
May 2, 2018 17:37
-
-
Save Extrodox/5367382db611559d2b8320452e045587 to your computer and use it in GitHub Desktop.
Set up laravel 5.6 with php 5.2.3, mysql-server and apache2
This file contains hidden or 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
sudo -s; | |
apt-get -y update; | |
apt-get install python-software-properties; | |
yes | add-apt-repository ppa:ondrej/php; | |
apt-get -y update; | |
apt-get install -y php7.2; | |
apt-get install -y php-pear php7.2-curl php7.2-dev php7.2-gd php7.2-mbstring php7.2-zip php7.2-mysql php7.2-xml | |
apt-get install -y mysql-server; | |
apt-get install -y curl; | |
sudo curl -s https://getcomposer.org/installer | php; | |
sudo mv composer.phar /usr/local/bin/composer; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment