Are you troubling with Installing Laravel 5.5 On Ubuntu ?. Don’t worry you will be Surely confident to resolve that problem. We will discuss it within few step algorithm.
Before your installation for Laravel 5.5 framework, you need to make sure your server meets the following requirements on your system :
These 5 things are strongly recommended for installation.
1.Pre Installed Composer on your system
1.PHP Version >= 7.0.0
2.PDO PHP Extension
3.Tokenizer PHP Extension
4.XML PHP Extension
5.OpenSSL PHP Extension
The composer is a Best dependency tool for PHP, Simply for installation and updates about project dependencies. It will generally check which other packages a specific project depends on and install them for your project, based on versions & project requirements.
Let’s start to Install the Composer tool.
$ sudo apt-get update
curl is install on your system to processed to next step. if
curl is not
php5-cli is not presently installed on your system so you strongly required to installed.
git is used by Composer for downloading project dependencies.
All you can install with the following command.
$ sudo apt-get install curl php5-cli git
Now process to Downloading and Installing Composer with this single line of command.
$ curl -sS https://getcomposer.org/installer | sudo php -- --install-dir=/usr/local/bin --filename=composer
Composer installed to: /usr/local/bin/composer
Use it: php /usr/local/bin/composer
So, It’s easy for that you need to simply you required to open the terminal any write command
composer. It will tell you that whether it’s installed or not.
Go through this command to install LARAVEL 5.5 and its all packages on your Ubuntu LTS. I am sure that you’ll not be stuck at any step.
$ composer create-project --prefer-dist laravel/laravel laravel5.5
You need to wait for some while. you will able to see all vendor packages are in Downloading process. wait until it’s finished.
$ cd laravel5.5
$ php artisan --version
Laravel version probably it will display laravel 5.5.3
$ php artisan serve
localhost:8000 OR http://127.0.01:8000Congratulations you have done it.