Cara Install Laravel 9 di Ubuntu 22.04!



How to install laravel on linux

Step 1 Update first – sudo apt update

Step 2 Install php – sudo apt install -y php php-common php-cli php-gd php-mysqlnd php-curl php-intl php-mbstring php-bcmath php-xml php-zip

Step 3 Install curl – sudo apt install -y curl

Step 4 Install composer – curl -sS https://getcomposer.org/installer | sudo php — –install-dir=/usr/bin –filename=composer

Step 5 Create laravel project – composer create-project laravel/laravel my_example_app

Step 6 Open your project directory – cd my_example_app

Step 7 Serve laravel – php artisan serve

Step 8 Open your browser and visit – 127.0.0.1:8000

Leave a Reply

Your email address will not be published.