Tuesday, August 23, 2016

Install laravel 5.3 in Ubuntu 14.04


Once again Laravel comes with many amazing features and i can't wait more to try this all out.

In this post i am going to write how to setup laravel 5.3 in Ubuntu 14.04.
I am planning on making video for each of this post. Here you can find more about installation of l5.3 on ubuntu
In laravel documentation, it says
  • PHP >= 5.6.4
required to install laravel 5.3.

So first run following command on terminal:

  • php -v
This will show you, your current php version.


As you can see, i have PHP version 5.5.9 , so i have to upgrade it to  >=v5.6.4

So to do this i have to run following commands:

sudo apt-get install software-properties-common
sudo add-apt-repository ppa:ondrej/php5-5.6
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install php5
Now if i check my updated php version i can see this :


So my php version updated as i needed.

Now i have to run following command to install new Laravel 5.3 setup

composer create-project --prefer-dist laravel/laravel HighFive
So my installation is done.

Now i have to go to project directory and run following command
php artisan serve
Now if i go to browser and browse localhost:8000 , hurry laravel 5.3 is on..


0 comments:

Post a Comment