- open your cpanel
- select php version to 7.4
- open domain, add /public to your web root path
- turn on ssh
- login ssh on your terminal
- open your web root folder on terminal
- set storage to 777
- run “composer install”
- run “php artisan key:generate”
- run “composer install”
- Done
With Database
- set up db, user, access right on cpanel
- edit .env
- run “php artisan migrate”
- if show “unique key is too long, even if specified”, please refer:
https://stackoverflow.com/questions/23786359/laravel-migration-unique-key-is-too-long-even-if-specified - Done
Uncheck opcache on “Select PHP Version”