This guide helps you deploy a Laravel application on GARMTECH Web Hosting (Plesk).
Laravel’s public entry point must be public/index.php. For security, your website document root should point to the public directory (so .env and other internal files are not publicly accessible).
You can upload the project using:
Typical layout on shared hosting:
httpdocs/ — website root in Pleskhttpdocs/public/ — Laravel public directoryhttpdocs/public.Note: If you host multiple apps, you can use subdomains (for example app.example.com) and set their document root separately.
mbstring, openssl, pdo, tokenizer, xml, ctype, json, fileinfo..env file with DB settings (DB_HOST/DB_DATABASE/DB_USERNAME/DB_PASSWORD).Laravel requires the vendor directory. You can:
vendor).Typical Laravel “first run” commands (SSH):
php artisan key:generate
php artisan config:cache
If your app uses storage symlinks:
php artisan storage:link
Laravel must be able to write to:
storage/bootstrap/cache/If you see permission errors in logs, ensure these folders are writable by your hosting system user.
If your application uses the Laravel scheduler, create a cron job in Plesk:
Typical schedule command (every minute):
* * * * * php /path/to/artisan schedule:run
The exact PHP binary path can vary. If you use SSH, you can usually run php directly; otherwise use the PHP CLI path shown in your environment.
public or rewrite rules are not applied.php artisan key:generate..env DB settings and database user permissions.