User Tools

Site Tools


laravel:migrate-laravel

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
laravel:migrate-laravel [2024/03/27 11:12] – created kirtisinghlaravel:migrate-laravel [2024/03/28 03:36] (current) kirtisingh
Line 33: Line 33:
 **Step 7 :** Now click on ‘Restore an Archive to the VHost’ . **Step 7 :** Now click on ‘Restore an Archive to the VHost’ .
  
-{{:wordpress:vhosts-details-restore-wp.png?direct&400|}}+{{:laravel:retsore-archive.png?direct&400|}}
  
 \\ \\
  
-**Step :** Now you would be prompted to enter the uploaded archive file name and the SQL file name. Submit the details and rest everything will be automated.+**Step :** Now you would be prompted to enter the uploaded archive file name. Click Submit to restore the archive
  
-{{:wordpress:vhosts-restore-wp.png?direct&400}}+{{:laravel:retsore-archive-form-2.png?direct&400|}} 
 + 
 + 
 +Restoration of large archives can take time. Please ensure from from Dashboard >> Tasks, that all the requisite tasks are completed before going on to the next steps.  
 + 
 +**Step 9 :** [[n99panel:restore_sql_file|Restore]] the uploaded SQL file to the DB. For a new Laravel setup, this step may not be required.  
 + 
 +**Step 10 :** Modify the .env file of your Laravel project with the appropriate settings especially w.r.t. MySQL 
 + 
 +**Step 11 :** Now if you are using Laravel 8 or before, and if index.php files are present in both the Laravel setup directory, and the public directory within it, your Laravel project should be able to work now.  
 +\\ 
 +\\ 
 +For Laravel 9 and 10, index.php may not be present in the Laravel setup directory, but the public folder within the base directory will contain the index.php (the start point). Under Laravel 9 and 10, this ensures better security when the document root of the web-server points to that public folder. To make the document root to point to the public folder, we would need to [[n99panel:root-dir-extn|extend the root dir]] 
  
  
laravel/migrate-laravel.1711537926.txt.gz · Last modified: 2024/03/27 11:12 by kirtisingh

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki