Support the ongoing development of Laravel.io →
Installation Configuration
Last updated 1 year ago.
0

There are three options here:

  1. The super simple option is not to use Apache at all and instead use the art:serve command to serve your sites locally.

  2. You could use Homestead.

  3. If you want to use Apache then you will need to create a virtual host that points to the folder you wish to use for each site. If you navigate to /etc/apache2/sites-available you will find the default implementation - just copy this and change the relevant lines so that it points at the public folder of your Laravel site.

You will then need to enable the site using:

sudo a2ensite

You may well run into some permissions issues next. Follow the installation instructions at laravel.com to ensure you grant the Apache user the relevant write permissions (mostly storage and logging issues).

Last updated 8 years ago.
0

+1 for homestead, no matter what the OS from your physical machine

0

Sign in to participate in this thread!

Eventy

Your banner here too?

ChrisF79 chrisf79 Joined 11 Feb 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.