install php for laravel ubuntu code example
Example 1: what are the ubuntu packages required for laravel to be installed
sudo apt install php7.2-common php7.2-cli php7.2-gd php7.2-mysql php7.2-curl php7.2-intl php7.2-mbstring php7.2-bcmath php7.2-imap php7.2-xml php7.2-zip
Example 2: how to install php laravel
composer global require laravel/installer
Example 3: laravel install ubuntu
sudo systemctl status apache2