Skip to content
By stack4 min read

Laravel hosting: what your app needs and how it runs on ArabyHost

Short answer

In production Laravel needs PHP 8.2 or newer (for versions 11 and 12), Composer, a MySQL or MariaDB database, the domain pointed at the public folder, and cron for the scheduler and queues. On ArabyHost it fits the AI/Developer plans, which include SSH, Composer, Git and PHP up to 8.3.

ArabyHost teamLast updated: ShareWhatsAppXLinkedIn
Contents
  1. What Laravel needs in production
  2. Which plan fits a Laravel app?
  3. How deployment works here
  4. Queues and the scheduler without Supervisor
  5. What every account includes
  6. Limits to know
  7. On ArabyHost

A Laravel app isn’t a folder of PHP files you upload and forget. It has an .env file, a vendor directory built by Composer, Artisan commands to run on every deploy and jobs that work in the background. That’s why it needs different hosting from a simple PHP site, and the biggest difference is having a command line (SSH).

What Laravel needs in production

Requirement Details On ArabyHost
PHP Laravel 12 needs 8.2+, Laravel 13 needs 8.3, Laravel 10 runs on 8.1 PHP 8.1, 8.2 and 8.3 via MultiPHP
PHP extensions Ctype, cURL, DOM, Fileinfo, Mbstring, OpenSSL, PDO, Tokenizer, XML Check them with php -m
Composer Installs packages and builds the autoloader Composer 2 on AI/Developer plans
Database MySQL or MariaDB, or SQLite for a small app MySQL/MariaDB
Front-end build npm run build for Vite assets Node.js 20 and 24 on AI plans, or build locally
Scheduler and queues A cron line every minute running schedule:run Cron on AI/Developer plans
Cache and sessions database, file or Redis database and file; no per-account Redis
Document root The domain must point at public Supported; the guide shows how

Which plan fits a Laravel app?

AI/Developer plans are the natural home for Laravel. You get SSH jailed in CageFS, Composer, Git, Node.js for building Vite assets, and cron for the scheduler and queues. You run php artisan migrate straight from the terminal and pull updates from GitHub instead of uploading files by hand. You can also run Claude Code or Codex on the server itself over SSH.

Shared hosting (PHP 8.1 to 8.3 and MySQL, no SSH) is enough for a small app that doesn’t depend on queues. Run composer install --no-dev and build the front end on your computer, then upload the whole project, vendor included, as a ZIP. The downside: every update is another manual upload, and you can’t run Artisan commands when you need them.

How deployment works here

  1. Create a database and a database user in cPanel, and note the credentials.
  2. Connect over SSH and clone the project from GitHub into a folder outside public_html, or link the repository in Git Version Control with a .cpanel.yml file, as in the Git deployment guide.
  3. Create .env with production values: APP_ENV=production, APP_DEBUG=false and the database credentials.
  4. Run the deploy commands:
php -v                     # confirm it matches the version set for the site
composer install --no-dev --optimize-autoloader
php artisan key:generate   # first deploy only
php artisan migrate --force
php artisan optimize
npm ci && npm run build
  1. Point the domain at public, and make sure storage and bootstrap/cache are writable.

The full steps, including how to point the domain at public, are in the Laravel deployment guide. A 500 error right after upload is usually folder permissions (fix it here).

Queues and the scheduler without Supervisor

Without root you can’t install Supervisor, but cron does the job. Add one line in Cron Jobs:

* * * * * cd /home/USER/myapp && php artisan schedule:run >> /dev/null 2>&1

Then let the scheduler drain the queue, in routes/console.php:

Schedule::command('queue:work --stop-when-empty')
    ->everyMinute()
    ->withoutOverlapping();

Jobs are picked up within a minute of being queued, and no idle worker sits in memory. If you need a permanent worker, start it from cron wrapped in flock: it restarts on its own if it stops, and two copies never run at once.

What every account includes

  • The LiteSpeed web server, which reads the .htaccess file in public as is.
  • Each account isolated in CloudLinux CageFS, with its own resource limits (LVE).
  • Free SSL issued automatically, daily JetBackup backups and Imunify360 security.
  • The Araby AI assistant in the panel, which reads error logs and explains the fix.
  • Deploys from Claude or Cursor through Araby MCP, and support in Arabic.

Limits to know

  • No root access and no Docker, so you can’t install system-level software.
  • No per-account Redis, so Laravel Horizon won’t run. Use database queues.
  • Laravel Octane and Reverb need a long-running server listening on its own port, which isn’t available here.
  • CPU, memory and process counts are limited per plan. Run heavy commands such as composer update locally and commit composer.lock.

On ArabyHost

Pick one of the AI/Developer plans, add your SSH key in the panel, clone your project from GitHub and follow the Laravel deployment guide step by step. If your app runs on another host today, ask for free migration help.

FAQ

Can Laravel run on shared hosting without SSH?

A simple project can: run Composer on your computer and upload the project, vendor folder included, as a ZIP. Running Artisan commands, queues and Git-based updates needs SSH, which the AI/Developer plans include.

How do I run queue:work without Supervisor?

Have the Laravel scheduler run queue:work --stop-when-empty every minute with withoutOverlapping, or start a long-lived worker from cron wrapped in flock so exactly one copy runs and it comes back if it stops.

Is Redis available for Laravel?

There's no per-account Redis. Use the database driver for queues, cache and sessions; it's been Laravel's default since version 11 and is enough for most apps.

Which PHP version should a new Laravel project use?

PHP 8.3, which runs Laravel 11, 12 and 13. You can set the version per domain in cPanel's MultiPHP Manager; make sure the command line uses the same one.

Useful? Share it with someone who needs it:WhatsAppXLinkedIn

Read next

Ready to put your idea online?

Fast, isolated hosting, support that understands you, and an AI assistant that fixes problems with you.