Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

SOLVED Mysqli not in easy apache 4

Discussion in 'EasyApache' started by wered, Dec 29, 2016.

  1. wered

    wered Registered

    Joined:
    Dec 29, 2016
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    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)
     
  2. cPanelJasonT

    cPanelJasonT Level 2 Technical Analyst
    Staff Member

    Joined:
    Oct 21, 2014
    Messages:
    54
    Likes Received:
    6
    Trophy Points:
    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:
    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 Documentation
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice