Laravel Homestead with Apache only
August 1, 2020 ≈ 21 seconds
In Laravel Homestead you can specify apache as site type, but nginx still would be the default web server. To switch, you should run the 'flip' command every time, you want to use apache. What if you only need apache as default?
First, delete nginx completely:
sudo apt-get purge nginx nginx-common
After make apache2 autoload, so it runs every time you 'vagrant up' (homestead up):
sudo update-rc.d apache2 enable
You didn't provide any data, entered invalid email or already subscribed.
Try again. And if you still can't subscribe—write us.
Address successfully subscribed!
Subscribe to our newsletter
If you provide url of your website, we send you free design concept of one element (by our choice)
Subscribing to our newsletter, you comply with subscription terms and Privacy Policy