Installing Laravel 9 with php 8.1 and Apache2 using Ubuntu 22 Rumi, February 11, 2024 Connect to your ubuntu instance. 1. Install Apache sudo apt update sudo apt install apache2 sudo systemctl status apache2 2. Install PHP 8.1 sudo apt install software-properties-common sudo add-apt-repository ppa:ondrej/php sudo apt install php8.1 libapache2-mod-php8.1 sudo systemctl restart apache2 3. Install required PHP extensions for Laravel 9 sudo apt install… Continue Reading