Created
December 2, 2018 21:46
-
-
Save marcorivm/126808990211e47b4610b88df841f0e9 to your computer and use it in GitHub Desktop.
Install php and composer on ubuntu 16.04 (for coder.com)
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
| cd ~ | |
| apt-get install -y software-properties-common python-software-properties && | |
| LC_ALL=C.UTF-8 add-apt-repository ppa:ondrej/php && | |
| apt-get update && | |
| apt-get install -y php7.2 php7.2-cli php7.2-common php7.2-curl php7.2-gd php7.2-json php7.2-mbstring php7.2-intl php7.2-mysql php7.2-xml php7.2-zip php7.2-bcmath | |
| curl -sS https://getcomposer.org/installer -o composer-setup.php | |
| php composer-setup.php --install-dir=/usr/local/bin --filename=composer |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment