Created
September 12, 2018 14:43
-
-
Save johnrlive/0af445ec98f96a43c2e1910d727adaec to your computer and use it in GitHub Desktop.
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
#!/bin/bash | |
##check what is the latest PHP version supplied by UBUNTU | |
##sudo apt-cache show php | |
# Add Repository which gives us the latest php version 7.2 | |
sudo add-apt-repository ppa:ondrej/php | |
##Lets now check what is the latest PHP version available now after the repository is added | |
##sudo apt-cache show php | |
# Lets now install php7.2 and some important modules which we will need. | |
sudo apt-get install php7.2-cli php7.2-fpm php7.2-curl php7.2-gd php7.2-mysql php7.2-mbstring zip unzip |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment