Deploying Laravel Application To Shared Hosting
Chimezie Enyinnaya wrote a nice tutorial about how to deploy a Laravel application to shared hosting.
I often hear people say Laravel applications can not work on shared hosting, well that is not true. In fact, I have hosted a Laravel application on a shared hosting and everything worked perfectly fine. The truth that Laravel is well suited for hosting that provide ssh access (like a cloud hosting, VPS etc), though some shared hosting (for example GoDaddy) do provide ssh access. It all depend on the type of applications you developing, if the your application will require to using Queues then shared hosting won't be able to accomplish that. You will have to look for something like cloud hosting, VPS etc.
Before we get started, be sure that the shared hosting you are using meets the following requirements as specified by Laravel Installation Documentation
With the requirements met and out of the way, let get started. This post assumes you already have a working Laravel application on your local development machine.
- PHP >= 5.5.9
- OpenSSL PHP Extension
- PDO PHP Extension
- Mbstring PHP Extension
- Tokenizer PHP Extension
Link:
This post is submitted by our members. Submit a new post.
Tags: Tutorials Laravel 5 v4.x Laravel 5.1 Laravel 5.2 v4.1 v4.2 Tips Tricks