Browse software
Home › Guides › For business owners

How to choose hosting for a self-hosted PHP app

Shared hosting or a VPS? For most small-business apps the answer is simpler — and cheaper — than hosting companies make it sound. Here is the checklist that actually matters.

Updated 4 October 2026 · 6 min read

Shared hosting or VPS?

Shared hosting (cPanel)VPS
Typical priceA few dollars a monthFrom about $5–10 a month, plus your time
SetupControl panel, point and clickYou install the web server, PHP and database
Security updatesDone by the hostDone by you
Good forOne business app, a few hundred usersHeavy traffic, many apps, special software

Rule of thumb: if you are one business running one or two apps, start with good shared hosting. Move to a VPS only when you have a reason — and someone to look after it.

The checklist

1. The right PHP version

Check the app's requirements (for example "PHP 8.3 or newer") and make sure the host lets you choose it. In cPanel this is MultiPHP Manager. Avoid hosts stuck on old versions.

2. PHP extensions

Laravel apps typically need pdo, mbstring, openssl, ctype, tokenizer, dom and fileinfo. On most hosts these are on by default; a good installer checks them for you on its first screen.

3. A database

MySQL or MariaDB comes with almost every plan. Some apps can also use SQLite, which needs no database setup at all — handy for small teams.

4. Control over the document root

Laravel apps serve only their public folder; the rest (including your settings file) must stay outside the web root. Make sure you can point your domain at that folder — in cPanel: Domains → Document Root. Never move the other folders into public_html to "make it work".

5. Cron jobs

Many apps run scheduled tasks (sending emails or webhooks, cleaning up). You need a cron job that runs every minute. Almost every cPanel host allows it; check the minimum interval.

6. Free SSL

Your site should open with https://. Look for free AutoSSL or Let's Encrypt — never pay extra for a basic certificate.

7. Backups you can restore

Your business data lives in the database. Choose a host with automatic daily backups, and learn how to download one. Keep your own copy of the database and the app's .env file somewhere safe.

8. Special devices or connections

Some apps receive data from devices — for example attendance machines that push punches over plain HTTP on port 80. Almost every host allows this, but if the app needs it, ask the host before you buy.

What to avoid

Topics:HostingPHPLaravelcPanelVPS
Ready to install? Follow How to install a Laravel app on cPanel — every step, including the database, cron job and SSL. All ScriptZaar products list their exact requirements on the product page.

Related guides