Title: mysqli PHP Extension missing
Last modified: May 26, 2024

---

# mysqli PHP Extension missing

 *  [samrahost](https://wordpress.org/support/users/samrahost/)
 * (@samrahost)
 * [2 years ago](https://wordpress.org/support/topic/mysqli-php-extension-missing/)
 * Hi,
 * I hope you are doing well. My client has developed his website on PHP7.4 and 
   it was working fine. Later on, I don’t know what happened, its hosting account
   was upgraded to PHP8.1, and the website was not working. I set it back to PHP7.4.
   However, it is still not working and showing me following 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.
 * If you are unsure what these terms mean you should probably contact your host.
   If you still need help you can always visit the [WordPress support forums](https://wordpress.org/support/forums/).”
 * Whereas, other WordPress sites on my server are working fine.
 * Please help how to fix this issue?
 * Regards
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fmysqli-php-extension-missing%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Moderator [threadi](https://wordpress.org/support/users/threadi/)
 * (@threadi)
 * [2 years ago](https://wordpress.org/support/topic/mysqli-php-extension-missing/#post-17781892)
 * Please contact the support of your hoster. They will need to install the missing
   PHP library.
 *  Thread Starter [samrahost](https://wordpress.org/support/users/samrahost/)
 * (@samrahost)
 * [2 years ago](https://wordpress.org/support/topic/mysqli-php-extension-missing/#post-17784879)
 * Hi,
 * Thanks for your reply. Actually, I have hosted this website on my own server 
   and it was working fine before its upgradation to php8.1.
 * Regards
 *  Moderator [threadi](https://wordpress.org/support/users/threadi/)
 * (@threadi)
 * [2 years ago](https://wordpress.org/support/topic/mysqli-php-extension-missing/#post-17785135)
 * Then you have to install the missing libraries. The procedure is different depending
   on which server system you use. If you have any questions, please contact a community
   that supports it.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘mysqli PHP Extension missing’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [threadi](https://wordpress.org/support/users/threadi/)
 * Last activity: [2 years ago](https://wordpress.org/support/topic/mysqli-php-extension-missing/#post-17785135)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
