Install Laravel in ubuntu varian

8:59 PM | , , , , , , , ,

Requirements

  • Apache, nginx, or another compatible web server.
  • Laravel takes advantage of the powerful features that have become available in PHP 5.3. Consequently, PHP 5.3 is a requirement.
  • Laravel uses the FileInfo library to detect files' mime-types. This is included by default with PHP 5.3. However, Windows users may need to add a line to their php.ini file before the Fileinfo module is enabled. For more information check out the installation / configuration details on PHP.net.
  • Laravel uses the Mcrypt library for encryption and hash generation. Mcrypt typically comes pre-installed. If you can't find Mcrypt in the output of phpinfo() then check the vendor site of your LAMP installation or check out the installation / configuration details on PHP.net.

Installation


  1. Download Laravel
  2. Extract the Laravel archive and upload the contents to your web server.
  3. Set the value of the key option in the config/application.php file to a random, 32 character string.
  4. Verify that the storage/views directory is writable.
    You can use chmod option like this
    #chmod a+w your_path/storage/views  -R
  5. Navigate to your application in a web browser. http://localhost/laravel/public

0 comments:

Post a Comment

Please leave a comment