You may have an error saying : WordPress has detected that your site is running on an insecure version of PHP.
First, you should check your PHP version into your WordPress dashboard. Go into : Tools > Site Health > Info > Server
If you see that your PHP version is :
- PHP version 5.2
- PHP version 5.3
- PHP version 5.4
- PHP version 5.5
- PHP version 5.6
To make WordPress works, your webserver needs at least PHP 5.2.4. But the recommendation is to have at least PHP 7.
The goal is to make a php update. You have to switch to PHP 7 (7.3 or 7.4 is recommended).
Here are steps to change your php version :
- Create a Backup
- Put the site into maintenance
- Upgrade your PHP version to 7 (7.3 or 7.4) into your hosting. If you can’t do it, ask your host to upgrade the version of php
- Try to navigate on the site, if there are errors, read bellow.
- Remove the maintenance.
If something seems broken, remember to make an upgrade of your plugins & themes. If one plugin or theme doesn’t work with your PHP version upgrade, then you should consider contacting the developer or switch the theme/plugin.