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
Redirect all request to public/ folder in laravel 5 Rumi, August 19, 2022 There are two solutions: 1. Using .htaccess with mod_rewrite RewriteEngine on RewriteCond %{REQUEST_URI} !^public RewriteRule ^(.*)$ public/$1 [L] 2. You can add a index.php file containing the following code and put it under your root Laravel folder (public_html folder). <?php header(‘Location: public/’); Src: https://stackoverflow.com/questions/38040502/how-do-you-redirect-all-request-to-public-folder-in-laravel-5 Continue Reading
Install Laravel 5 Framework on Ubuntu 18.04 & 16.04 Rumi, October 9, 2019October 9, 2019 Below is the system requirements for the installation of latest Laravel application on your system. PHP >= 7.2 OpenSSL PHP Extension PDO PHP Extension Mbstring PHP Extension Tokenizer PHP Extension XML PHP Extension Ctype PHP Extension JSON PHP Extension BCMath PHP Extension Step 1 – Install LAMP To start with… Continue Reading