This guide will take you through steps of fixing the following error:
1. Log in to cPanel.
2. Click on “Select PHP Version” option.
3. Check if the “mysql” or “mysqli” option is selected.
4. Check your PHP Version Select a later or an Older Version of PHP.
5. Select the “Set as Current” option below the page.