I am running Ubuntu 12.04, and I have Apache2 and PHP 5.5.9 installed and the MyCrypt module as well.
I have installed laravel in my /var/www
directory, and when I try to access localhost/laravel/public
, instead of seeing the famous Laravel "You have arrived" page, the browser asks me if I want to download a .phtml file the server is sending. If i run the servlet with php artisan serve
, I can access my Laravel app on port 8000 of localhost. The .phtml file i get is actually Laravel's index.php found in the public folder of the installation. Why this happens is beyond me. I have never seen anything like it, and I can't find anythin on Google.
Does any one have any idea on what I should do?
It seems I was missing the libapache2-mod-php5
package... The problem was between apache and php.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community