Support the ongoing development of Laravel.io →
posted 11 years ago
Installation

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?

Last updated 3 years ago.
0

It seems I was missing the libapache2-mod-php5 package... The problem was between apache and php.

Last updated 3 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Maidomax maidomax Joined 15 Mar 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.

© 2025 Laravel.io - All rights reserved.