Step 1: Install PHP
Composer requires PHP 5.3 or higher… to install PHP (7.2) on Ubuntu, run the commands below
sudo apt install php7.2
Step 2: Install Composer
Now that PHP is installed… you can now run the commands below to install Composer
WordPress Developer
Step 1: Install PHP
Composer requires PHP 5.3 or higher… to install PHP (7.2) on Ubuntu, run the commands below
sudo apt install php7.2
Step 2: Install Composer
Now that PHP is installed… you can now run the commands below to install Composer