php artisan cache:clear php artisan config:clear php artisan route:clear php artisan view:clear php artisan event:clear php artisan config:cache php artisan route:cache php artisan view:cache php artisan event:cache chown -R www-data:www-data storage bootstrap/cache chmod -R 775 storage bootstrap/cache php artisan package:discover --ansi php artisan optimize php artisan queue:work --daemon & if command -v php >/dev/null 2>&1; then php -r "if (function_exists('opcache_reset')) opcache_reset();" fi