Symptoms
A website using an alt-php version of PHP shows the following error:
CONFIG_TEXT: "Required PHP extension not found: mysqli"
Cause
The PHP version is missing the required PHP module for mysqli.
Resolution
- Access the command-line as the root user via SSH, or using the Terminal in WHM.
-
Install the appropriate
alt-phpXX-mysql-metapackage for the PHP version:# dnf install alt-phpXX-mysql-meta
Note: Replace
phpXXwith the PHP version you want to use. For example, PHP 8.3 would be:php83 -
Once the install is completed, rebuild ChageFS:
Comments
0 comments
Article is closed for comments.