Mysqli not in easy apache 4
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)
-
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: root@[~]# 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 Documentation0
Please sign in to leave a comment.
Comments
1 comment