The most common reason for the error is using an invalid PHP handler/directive in the [.htaccess] and [.user.ini] files on CloudLinux-based servers. When you access the site, it will display the following error:
Error:
"Your PHP installation appears to be missing the MySQL extension which is required by WordPress
Please check that the mysqli PHP extension is installed and enabled."
Or,
"PHP Warning: session_start(): open(/var/cpanel/php/sessions/ea-php56/sess_03i13, O_RDWR) failed: No such file or directory"
Or,
PHP extension missing: You have enabled the PHP extension in "Select PHP Version/PHP.ini," but it has not been enabled, or it is missing in PHPInfo.
Or,
Error 503. The server or the resource is busy.
Or,
403 Forbidden Access to this resource on the server is denied!
Note:
The exact error might be different on your website.
Solution 01: Reset PHP Extensions
- Go to cPanel > Select PHP Version > Extensions.
- Click "Reset to default".
- Done! Check your website.
- If the issue persists, apply Solution 02.
Solution 02
Fix incorrect PHP handler or session path