Once upon a time, I needed to use Laravel in a Windows machine that was running WAMP (http://www.wampserver.com/en). After figuring out how it is the structure of WAMP and where the configuration files are, I was able to run my Laravel project, in a subfolder.

The Apache of WAMP comes configured with the ‘Include “${INSTALL_DIR}/alias/*”‘ directive, and by that, it reads any .conf file inside ‘alias’ folder that’s on WAMP installation directory (C:\wamp\alias).

Create a file called laravel.conf inside the alias folder, with the following content:

Everything is ready! Restart Apache, and your Laravel will work on a subfolder of WAMP.

Leave a Reply

Your email address will not be published. Required fields are marked *

 

This site uses Akismet to reduce spam. Learn how your comment data is processed.