Docker or php artisan serve is fine to try. Production: document root is public, PHP 8.4, cron every minute.
BaoTa (shortest)
- Site root = project
public. PHP 8.4. - Make
storageandbootstrap/cachewritable (usually www). - Run
bash install.shor open/install. - Cron every minute using
/bin/php, notphp-fpm.
/www/server/php/84/bin/php /www/wwwroot/your-site/artisan schedule:run >> /dev/null 2>&1
PHP 8.4+ with pdo, mbstring, openssl, tokenizer, xml, ctype, json, fileinfo, curl. Add pdo_mysql or pdo_sqlite. Production MySQL/MariaDB utf8mb4. nginx try_files should prefer public/html then PHP. See Cron.