DEV Community

Cloudhebat
Cloudhebat

Posted on

How to Install Laravel in Shared Hosting

What is Laravel?

Laravel is a framework based on the PHP programming language which is currently on the rise and is starting to be widely used by developers to create web-based applications.

Laravel is considered to be able to run faster, safer and dynamically so that currently many developers are starting to switch to this one framework to maximize applications on websites.

We recommend creating laravel via your localhost first. After the website has been created, you can upload Laravel to the hosting that you already have. But for those of you who just want to see the features or learn laravel, you can install laravel through hosting. Here's how to install laravel via cPanel.

How to Install Laravel

Here we provide the steps that must be done and prepared:

  1. Have an active hosting account. The recommended package used in this guide is a minimum package of Medium and above according to the Cheap Hosting link or Cloud Hosting package
  2. Login to your cPanel hosting account
  3. Look for the "Softaculous Apps Installer" menu Image description Then type "Laravel" in the search field then click "Install Now" Image description
  4. Select the domain name you want to install and leave “In Directory” blank. The purpose of emptying it is so that the Laravel installation is carried out directly in the root directory, there are no other sub folders. Image description
  5. Wait for the installation to complete.If the installation is successful, a notification like the following will appear. Image description
  6. You can also test access to the website and the results are more or less like this: Image description Image description
  7. Laravel installation is complete. Then you can deploy the desired laravel on your hosting account.

Top comments (1)

Collapse
 
martin_52 profile image
Martingray • Edited

Shared hosting is a bad choice for laravel. Laravel is a framework , and like other framework such as wordpress, drupal etc, it require a powerful server. For example, it requires a good amount of RAM, disk space and a good processor speed. But shared hosting is bad in all the three. you can choose a managed service for laravel Hosting.

devrims.com/blog/why-laravel-share...