Saturday, February 20, 2016

How to install Laravel on Ubuntu


If you are php programmer/developer, you might want to try to use laravel framework, it's one of the best framework for php, in this article i will show you how to install/create laravel project on ubuntu.

Laravel is based on php, so the first step is to install php, apache, and mysql, if you got all those three, next you will need to install composer.

Step by step how to install/create laravel project on ubuntu
  • install apache web server, read here for more detail
  • install php and mysql, read here for more detail
  • install mcrypt module for php, read here for more detail
  • install composer, read here for more detail
  • finally install/create the laravel project itself by running this command:

  • composer create-project laravel/laravel myproject --prefer-dist

How to install/create laravel 4.2

By default, if you don't specify the laravel version when you create laravel project, it always get the latest version, if you want to use older version of laravel you need to specify, like this:

composer create-project laravel/laravel=4.2 myproject --prefer-dist


~ happy coding ~

No comments:

Post a Comment