Laravel v8
Guide to upgrade to Laravel 8
Sponzy - Support Creators Content Script
Step by Step
IMPORTANT: To update to Laravel 8 you must have updated v2.8
- Requirements:
- PHP >= 7.4.0
- MySQL 5.6
- BCMath PHP Extension
- OpenSSL PHP Extension
- PDO PHP Extension
- Mbstring PHP Extension
- Tokenizer PHP Extension
- XML PHP Extension
- Ctype PHP Extension
- JSON PHP Extension
- cURL
- Fileinfo PHP Extension
- First steps
- Create a folder on your server for example called
_NEW
- Upload the files found inside the
Script
folder to the folder you just created on your server_NEW
- Do not delete the files that you will copy below because you will lose all the changes you have made.
- You should only copy the files from your current site to the folders mentioned below.
IMPORTANT: If you have any questions to update or do not know how to do it, contact me before you start, once you have made the changes it can not be reversed. You must copy the files from your current site to the folder you created with the new version.
Root directory
- Copy the file
.env
of your current site to the_NEW
folder app
- Copy the
Models
folder of your current site to the_NEW
folder - Copy the
app/Http/Controllers
folder of your current site to the_NEW
folder public
- Copy the entire
public
folder to_NEW
folder resources
- Copy the folder
resources/lang
of your current site to_NEW
folder - Copy the folder
resources/views
of your current site to_NEW
folder routes
- Copy the file
routes/web.php
of your current site to_NEW
folder -
Once all the folders and files have been copied, create a new folder called
_backup
there will move all the files of your current site as backup. -
Finally go to the
_NEW
folder, select all the files, and move them to your root directory.
Note: If after updating you have a 500 error, make sure you have PHP 7.4 or higher, or if you have this error: The server requested authentication method unknown to the client... just change the password of the database user.
Any problem or doubt send me an email to support@miguelvasquez.net
Do not forget to visit miguelvasquez.net