SOLVED Mysqli not in easy apache 4

wered

Registered
Dec 29, 2016
1
0
1
Hampton Va
cPanel Access Level
Root Administrator
Hello, Our site was moved from an EA3 to an EA4 cPanel however now none of our php scripts using mysqli are working and i don't see the option to install that in EA4, how would one go about getting this installed?

CentOS6.8
CP 60.0 (build28)
 

cPanelJasonT

Level 2 Technical Analyst
Staff member
Oct 21, 2014
54
6
83
cPanel Access Level
Root Administrator
Hello,
In EasyApache 4, the mysqli extension is provided by the mysqlnd package. To illustrate this, here is a list of the files that are provided by the ea-php55-php-mysqlnd package:

Code:
[email protected][~]# rpm -ql ea-php55-php-mysqlnd
/opt/cpanel/ea-php55/root/etc/php.d/mysqlnd.ini
/opt/cpanel/ea-php55/root/etc/php.d/mysqlnd_mysql.ini
/opt/cpanel/ea-php55/root/etc/php.d/mysqlnd_mysqli.ini
/opt/cpanel/ea-php55/root/etc/php.d/pdo_mysqlnd.ini
/opt/cpanel/ea-php55/root/usr/lib64/php/modules/mysqlnd.so
/opt/cpanel/ea-php55/root/usr/lib64/php/modules/mysqlnd_mysql.so
/opt/cpanel/ea-php55/root/usr/lib64/php/modules/mysqlnd_mysqli.so
/opt/cpanel/ea-php55/root/usr/lib64/php/modules/pdo_mysqlnd.so
This can be installed by provisioning a profile with the mysql extension in the EasyApache4 interface.
This package is also listed in the documentation here:
PHP Options - EasyApache 4 - cPanel Documentation