Laravel 4 ERROR 500 After a new installation on LAMP

This is my first time for Ubuntu: I completed this tutorial to install Apache, PHP, SQL and phpMyAdmin . http://www.howtoforge.com/ubuntu_lamp_for_newbies

I have no errors and everything works smoothly. Then I downloaded composer.phar and laravel I ran php composer.phar install and php composer.phar update . There are no errors here, or I changed the apache configuration to have DirectoryROOT in var / www / public.

And turned on rewrite mode: sudo a2enmod rewrite

The standard installation procedure, however, visiting localhost gives 0 php error messages only shows: Oops, it looks like something went wrong.

Apache error logs do not display anything, the access log shows only error 500. What I miss, I went through the whole procedure three times.

-one
php mysql apache .htaccess
Sep 04 '13 at 20:10
source share
1 answer

I solved the problem.

1) Open terminal
2) Go to your root folder laravel CD var/www
3) Run sudo chmod -R 777 *

This solved the problem, but be careful with this. Make sure your rights are set correctly when you switch from local to live.

-3
Sep 04 '13 at 22:20
source share



All Articles