php - Not able to view my laravel project on the browser -


i have installed laravel on new ec2 instance , have ensured php, mysql , apache2 running

my laravel version 5.2.45

my 000-default.conf follows

<virtualhost *:80>          serveradmin webmaster@localhost         documentroot /var/www/html/testing/public          errorlog ${apache_log_dir}/error.log         customlog ${apache_log_dir}/access.log combined  </virtualhost> 

my apache2.conf file follows

<directory />         options followsymlinks         allowoverride none         require denied </directory>  <directory /usr/share>         allowoverride none         require granted </directory>  <directory /var/www/html/testing/public>         options indexes followsymlinks         allowoverride none         require granted </directory> 

my folder structure /var/www/html/testing

but getting 500 when trying hit ip..any highly appreciated.

from experience, give permissions logs files:

sudo chmod 777 -r /var/www/html/testing/storage/ 

Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -