ok
Direktori : /proc/thread-self/root/proc/thread-self/root/var/softaculous/laravel/ |
Current File : //proc/thread-self/root/proc/thread-self/root/var/softaculous/laravel/notes.txt |
1. Configure composer.json add [[php_binary]] 2. Add the following in composer.json under config : "cache-dir": "[[softpath]]/cache" We add this because by default it takes /root/.composer 3. Make the ZIP after installing Laravel manually 4. Delete bootstrap/cache/* while making our zip. 5. Take care of symbolic link of vendon/bin folder Guide to install Composer : https://getcomposer.org/doc/00-intro.md curl -sS https://getcomposer.org/installer | php php composer.phar install OR directly from php composer.phar create-project laravel/laravel:^11.0 [[dir]] 6. PHP REQUIREMENT LINK : https://laravel.com/docs/6.x/installation#installation (Check composer.json file in package as well.) 7. Release date : https://github.com/laravel/framework/releases (released this on xx) 8. Manual installation steps. - Rename .env.example to .env (If it's not present by default) - Generate key (If it's not present by default) using "php artisan key:generate" command and add DB details & softurl in .env file. - Add DB details in config/database.php - Add softurl and APP_KEY(copy the key from .env) in config/app.php - Run "php artisan migrate" to populate database. 9. We have kept minimum mysql version to 8.0 because it does not get installed on lower versions. Throws "Unknown collation utf8mb4_0900_ai_ci" error. utf8mb4_0900_ai_ci is defined in config/database.php file by default.