Wordpress - How to update
Check System Requirements
Check Current Versions via WordPress Admin:
Log into wp-admin
Go to Dashboard → Updates or Tools → Site Health → Info
- Current WordPress version
- PHP version
- MySQL/MariaDB version
Compare with: https://wordpress.org/about/requirements/
Clone files
We keep a working backup of the existing Wordpress.
Using cp from the shell
Clone database
We check credentials at /public_html/wp-config.php
Dump database
Inject database