How To Install mysqlnd On CentOS cPanel Server ?

Started by Administrator, June 06, 2014, 06:23:10 PM

Previous topic - Next topic

Administrator

Dear Members,

This post will help you to install mysqlnd with PHP on a CentOS cPanel installed server. mysqlnd option is not available when you re compile PHP with easyapache.

Here is the tip & trick to compile it. You will need root privileges and SSH access to compile it.

Access your server via SSH and access the directory.

Quote# cd /var/cpanel/easy/apache/rawopts

Create a file all_php5 OR edit if it already exists. Add the lines below & save the file.

Quote--enable-mysqlnd
--with-mysqli=mysqlnd

Now, build PHP & mysqlnd will be compiled with PHP.

Quote# /scripts/easyapache --build

Hope this helps technicians who wish to compile mysqlnd with PHP.
MilesWeb - Your Hosting, Our Responsibility!
Buy Web Hosting Plans | Managed VPS with 50% Discount