lundi 21 octobre 2019

Laravel project works well on localhost, although I get a 500 error when I deploy to a shared host

I have a Laravel project that works well on localhost.

I have tried to deploy it to a remote host but once I try to access the project from the URL, i get a 500 error page.

These are the steps that I have taken so far:

  1. Created a database and associated it with a user who has all privileges
  2. Imported the sql file into the database
  3. Copied all the files to a sub domain - demo.domainname.com
  4. Edited the .env file to reflect the credentials of the remote server

I have also made sure to check that all the folders / file either have a 755 or 777

Unfortunately, when I try to navigate to the site, I get a 500 Error that is, when I access demo.domainname.com/public

Kindly let me know what extra steps I should take as I have gone through all the steps proposed from other similar questions but I cannot seem to have my app working.

Thanks.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire