I have an existing Laravel 5.5 project which works on Mac with built-in apache and has a virtual host.
Recently, I had to maintain a new Laravel project, which was already been developed in progress, and I did to it with the same steps that I did to the existing project.
But, the new project can just download the index.php file under public.
I've searched the relevant questions and tried most of the solutions(like PHP code is not being executed, instead code shows on the page), however, none of them worked.
Does anybody know about this strange situation?