re: Deploying Laravel 5 applications on shared hosting without the use of SSH VIEW POST

FULL DISCUSSION
 

It's ok on my local. but when i upload it on my hosting, I have this error.

Forbidden
You don't have permission to access /index.php on this server.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

Can you please tell me how to fix it. thank you.

 

Change the file access permissions for public folder, the permission error will disappear, everything should work normally now, unless you missed a step :)

 

also you can use this --> github.com/faryar76/lrm

package to run migrations and upload files without ssh

 

I had this error. Firstly, there could be a file on the host that is already rerouting you via the .htaccess. After sorting this, then my host required a php.ini in the root directory and this needed to be a "production one" as opposed to a local one. Then bootstrap/cache/config.php had hard-coded references to my local PC, but not compatible with the hosting platform. With that the 500 Internal Service error was gone.

code of conduct - report abuse