Why laravel homestead is not running Apache

.htaccess, apache, homestead, laravel, nginx

Solution

Steps are as follows here.

SSH into vagrant -> `vagrant ssh`

Stop Nginx -> `sudo service nginx stop`

Remove it -> `sudo apt-get purge nginx`

Update you repos -> `sudo apt-get update`

Install apache -> `sudo apt-get install apache2`

Restart it -> `sudo service apache2 restart`

You are now on Apache server, update the apache conf file as your needs.

Problem

Obviously, I've Laravel project that really needs the `.htaccess` rules and Nginx doesn't seem to be the best solution for me, 1- my question is why Laravel didn't provide homestead with Apache! After a small research that I made I found online tool for converting the rules but the output didn't work (was too short), whereas, Apache is more likely known and usable, plus it's easier to define rules for security and pretty URLs ..etc. ( at least for me ) 2- Please give me answers explaining why they choose Nginx!, more importantly I need to know what Seniors and Experts will use ( Nginx, Apache ) 3- Do you advise me to install Apache on Homestead?

Original source