Warning: session_start(): open(/var/cpanel/php/sessions/alt-php74/sess_6b003be8fe3ddffb94868e6b52bb64c9, O_RDWR) failed: No such file or directory (2) in /home/xsofthost/public_html/help/wp-content/plugins/accelerated-mobile-pages/includes/redirect.php on line 358

Warning: session_start(): Failed to read session data: files (path: /var/cpanel/php/sessions/alt-php74) in /home/xsofthost/public_html/help/wp-content/plugins/accelerated-mobile-pages/includes/redirect.php on line 358
How to install MySQLi extension on Linux using WHM - XsoftHost

How to install MySQLi extension on Linux using WHM

How to Enable MySQLi extension in EasyApache for Linux using WHM 

Sometimes its important to enable MySQLi extension , common error that prompt you to do that an error on wordpress installtion “requirement fail MySQLi support faild”

To enable to MySQLi extension in your WHM, please follow these steps:

  1. Log into the WHM with your root credentials:


    WHM Login

  2. From the Home Page List choose Software Menu:


    WHM Software

  3. Go to the EasyApache (Select your current EasyApache version) :


    WHM Easy Apache

  4. On the EasyApache page, make sure your Previously Saved (Default) configuration is selected and click on Customize Profile Icon as show bellow:


    WHM Easy Apache Customize

  5. Now select the Next step to jump to PHP Version step in the process wizard


    WHM Easy Apache Customize Next Step

  6. Select the PHP version you want to activate for the current Apache and select Next Step:


    WHM Easy Apache PHP Version

  7. Click Exhaustive Options List


    WHM Easy Apache PHP Exhaustive Options List

  8. On this page, scroll down to the PHP section and find MySQL Improved extension. “MySQLi does not replace the standard MySQL extension. Requires MySQL 4.1 or later. !! mysqli may not work on all systems, contact your support provider for mysqli support !! This option will make the following changes to your profile prior to the build:Disables:”


    WHM Easy Apache MySQL Improved Extension

  9. NOW click Save and bulid and confirm the box


    WHM Easy Apache Build

  10. Wait until the Build ouput is complete and the MySQLi extension should be installed/enabled
Share on facebook
Share on twitter
Share on linkedin
Share on telegram
Share on whatsapp

Related Posts