Cron setup and PHP detection
Updated 2026-09-08 · Pharos 0.5.10
Pharos requires one scheduled run every minute. Web PHP and command-line PHP may differ, especially on shared hosting.
Automatic installation with SSH
php artisan pharos:cron php artisan pharos:cron --install
The first command prints the proposed cron line. The second adds it to the current user's crontab while preserving other tasks. Run it as the hosting account that owns the installation. If shell execution or crontab access is disabled, add the printed line in the panel instead.
Web installer
The installer detects versioned PHP paths for DirectAdmin, cPanel, CloudLinux and Plesk. Review the PHP for cron check before proceeding. Where available, the installer offers automatic cron setup; panel API setup needs credentials and permissions for that hosting account. Otherwise copy the line into Cron Jobs or Scheduled Tasks.
Detection reads version names from paths because shared hosts may disable process execution. It cannot confirm the CLI patch version or CLI extensions. If filesystem access is restricted, select the full PHP path supplied by your host.
Verify actual execution
/full/path/to/php -v /full/path/to/php artisan schedule:run /full/path/to/php artisan pharos:check --force
Run these from the app directory. Confirm the scheduler warning clears after a scheduled run, then verify a component's check timestamp advances without manually running a command. Keep the exact versioned PHP path in cron.