Last active
February 15, 2024 14:16
-
-
Save mort3za/a27376bbaeea03b41712f44a2030ede8 to your computer and use it in GitHub Desktop.
Install php 5.6 and composer in ubuntu 18.04
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
sudo apt-get install software-properties-common | |
sudo add-apt-repository ppa:ondrej/php | |
sudo apt-get update | |
sudo apt-get install php5.6 | |
php --version | |
sudo apt-get install php5.6-curl php5.6-xml | |
sudo apt-get install composer |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
if you are using docker, you can´t install the extensions like php5.6-{xml,bz2, etc...}, you need to write the full name of each extension