mysqli extension is missing in PHP 7.4 – Fix using cPanel

Common mysqli Extension Issue:

  • When we upgrade PHP 7.4, WordPress is broken
  • When we switched to PHP 7.4 in cPanel, mysqli extension is missing.

In cPanel (PHP Selector) or in PHPInfo(), you can see in the module list, that mysqli is not enabled by default. Now, if you trying to enable mysqli in cPanel (PHP Selector), it shows that it can not be activated because of other extension conflicts.


The possible conflict is because of nd_mysqli is enabled.

disable nd_mysqli extension and enable mysqli extension.

Enable the following mysqli extensions:

  • mysqlnd
  • nd_mysqli
  • nd_pdo_mysql

Disable following extensions:

  • mysqli
  • pdo_mysql

Congratulations! Chapter Finished. Learn more about the similar topics:
Exercises & Assignments
No Content Found.
Interview Questions & Answers
No Content Found.