How to install a Laravel script on cPanel hosting

· 2 min read

You do not need a terminal or a developer to install most Laravel scripts. If your host runs cPanel, the whole job takes under an hour.

Before you start

You need a domain or subdomain with HTTPS, a host with PHP 8.3 or newer, and MySQL or MariaDB. The script page lists any extras.

Steps

  1. Create the website. In cPanel add your domain or subdomain and switch on HTTPS (AutoSSL).
  2. Create a database. Under MySQL Databases create a database and a user, then give the user all privileges. Note the three values.
  3. Choose the PHP version. In MultiPHP Manager select PHP 8.3 or newer. In Select PHP Version check that extensions such as sodium, bcmath, mbstring, fileinfo and pdo_mysql are on.
  4. Upload and extract. In File Manager upload the zip into the site's folder and press Extract.
  5. Run the installer. Open your domain in a browser. The installer checks the server, asks for the database details and your administrator account, then sets everything up.
  6. Add the cron job. The final page shows a cron command. Add it under Cron Jobs so scheduled tasks run.

If something goes wrong

The installer lists exactly what to fix, such as a missing extension or a folder that needs write permission. Fix it and reload. Turning on PHP OPcache also makes the finished site noticeably faster.

Want it done for you?

Installation is free with every licence: email [email protected] after you buy and we will do it for you.

Want it built your way?Customisation, installation and professional support from the team behind the scripts.
Talk to us

More guides

Chat on WhatsApp