How to install laravel on windows wamp server

H

Following are the steps to install laravel on windows local wampserver

Steps

Before installing laravel please check following services are on or not ?

a.Enable openssl

b.Click on wamp icon->Apache->Apache Modules and enable ssl_module

c.check php_sockets is enable wamp icon->PHP->Extension->php_socket

Restart all services.

1.For installing laravel on windows PHP >= 5.4  required.

2.Download Laravel from: https://github.com/laravel/laravel/archive/master.zip.

3.Extract Laravel into the www folder for WAMP.

4.Download Composer from: https://getcomposer.org/Composer-Setup.exe

5.Install Composer into the same directory where the php.exe is located.e.g my php.exe is located at wampbinphpphp5.5.12

6.Open command prompt

7.Change into the directory where you extracted Laravel e.g: cd C:wampwwwlaravel

8.Type the command: composer install.

9.Copy and paste all public folder files into WAMP’s www folder.

10.Open index.php in laravel directory edit both lines to include the installation .Directory .e.g: ‘/../bootstrap/autoload.php’ to ‘/laravel/bootstrap/autoload.php’.

11.Open bootstrappaths.php and edit the line ‘public’ => __DIR__.’/../public’, to ‘public’ => __DIR__.’/../..’

12.Open your browser and run URL : localhost/laravel/public, you will be see below output.(You have arrived on the screen)

About the author

nilesh.borse
By nilesh.borse

Category