-
ForPasses we need php 8.1 only
-
Install or update composer
composer install
- Run migrations
php artisan migrate
- Run database seeder for super admin credentionals, email and password will be displayed in the console
php artisan db:seed
- Generate passport keys for the project
php artisan passport:install
- Create new project keys
php artisan key:generate
- Create Storage Link
php artisan storage:link
or
rm public/storage || rm -rf public/storage
php artisan storage:link
To chk which functions is not enable in php.ini file
php -i | grep disable_functions
https://support.hostinger.com/en/articles/1583694-is-symlink-function-enabled
To make the symlink function work, please remove it from the list. You can check from PHP Configuration > PHP option > disableFunctions > Remove Symlink.
Verify the Certificate File Path
ls -l storage/app/certificates/certificates.p12
Check its permissions:
chmod 644 storage/app/certificates/certificates.p12
If facing this issue cURL error 6: Could not resolve host laravel then
composer dump-autoload
https://documenter.getpostman.com/view/16911064/2s93sZ5tfG#e3a68a5b-8492-4683-bcaf-5166f38eae80