Browse documentation

Pharos / Docs / v1.4.2

Install Pharos over SSH

Updated 2026-12-04 · Pharos 1.4.2

With a shell on the hosting account or your own server, one command installs Pharos 1.4.2. It needs PHP 8.3 or newer on the command line with pdo_sqlite, mbstring, openssl, sodium, zip, curl, fileinfo, tokenizer, xml, ctype and json, and outbound HTTPS.

curl -fsSL https://pharos.solutionmax.net/get | sh -s -- --php --url https://status.example.com

Read the script first if you like: curl -fsSL https://pharos.solutionmax.net/get | less. Add --dir for another folder than ~/pharos-app, or --version 1.4.2 to pin a release on a new installation.

What it does

  1. Reads the PHP version and extensions, and stops with a clear message when one is missing.
  2. Verifies the signed manifest and the checksum of the release, then unpacks it into ~/pharos-app.
  3. Writes .env, runs the migrations, links storage and shows the installation key.
  4. Adds the cron line to your crontab with the PHP binary it found. Where it cannot write the crontab, such as in a jailed shell, it prints the line for your panel.
A terminal running the get script: system detected, manifest signature valid, PHP checked, archive downloaded and verified, unpacked, installation key shown, database migrated, cron task configured, then the document root instructions per panel.
The SSH route, start to finish. The last lines are the document root step for your panel.

Point the document root at public/

The script does not touch your web folder. Point the document root of the status domain at ~/pharos-app/public, never at ~/pharos-app itself:

  • cPanel: Domains, Manage, Document Root.
  • DirectAdmin: Domain Setup if your host allows it. Most do not for user accounts; then replace the web folder with a link: cd ~/domains/status.example.com && mv public_html public_html.orig && ln -s ~/pharos-app/public public_html
  • Plesk (documented, not verified on a live server): Hosting Settings, Document root, pharos-app/public.
  • Your own server: an nginx or Apache site with its root at /home/you/pharos-app/public, PHP-FPM 8.3 or newer, and unknown paths rewritten to index.php.

Finish and verify

  1. Open the site over HTTPS. The setup form asks for the installation key; name the status page and create your administrator.
  2. Check the cron line with crontab -l, then run php artisan pharos:check --force from ~/pharos-app once.
  3. Add one HTTP check and confirm its check time moves on by itself within a few minutes.

Updating is the same command again: the script hands over to the updater of Pharos, which backs up the current version first. The Updates screen in the admin does the same.

Full installation reference · Cron verification · Custom domain and HTTPS · Docker instead