🕺
LaravelSharedHosting
  • Some hints and best practices for deploying laravel on shared hosts
  • SiteGround Shared Hosting
    • Introduction
    • Prepare your Laravel project
    • Add a hosting account
    • SSH access to SiteGround space
    • Setup a mysql database
    • Adding a mail account
    • The master folder
    • Create a .env file
    • Connect your server to git
    • Create a deployment script
    • Link this site into your webserver
    • SSL Certificate
    • Setting up a CRON job
    • Running a Queue Worker
    • On-going deployments
    • Deploy from local development
    • Deploy using GitHub Actions
Powered by GitBook
On this page
  1. SiteGround Shared Hosting

Add a hosting account

Create a new host within your SiteGround account.

This is simple enough, just ensure that you select "SKIP & CREATE EMPTY SITE" when asked to choose between start new website and migrate website.

If you choose to create the site with a temporary domain, you will not be able to create an email account.

PHP Version

You will want to select the same PHP version to run your web content as you have in development. This is done through the Devs / PHP Manager section of the Site Tools sidebar.

In order to switch versions, you will need to first switch to Change PHP Version Manually you can then choose the version, ideally 8.1 or 8.2

This page, under greyed tabs, you can set PHP variables such as post_max_size and install any unusual PHP extensions that you need to enable such as imagick

PreviousPrepare your Laravel projectNextSSH access to SiteGround space

Last updated 2 years ago