MilesWeb
MilesWeb Hosting Forum

Please login or register.

Login with username, password and session length

 

News:

SMF - Just Installed!


Author Topic: How To Install mysqlnd On CentOS cPanel Server ?  (Read 6612 times)

0 Members and 1 Guest are viewing this topic.

Offline Administrator

  • Chinmay Dingore
  • Administrator
  • Full Member
  • *****
  • Posts: 135
  • Karma: +1/-0
    • View Profile
    • MilesWeb Internet Services Pvt Ltd
How To Install mysqlnd On CentOS cPanel Server ?
« on: June 06, 2014, 06:23:10 PM »
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.com - Your Hosting, Our Responsibility!
Unlimited Hosting Plans | Managed VPS with 20% Discount

MilesWeb Hosting Forum

How To Install mysqlnd On CentOS cPanel Server ?
« on: June 06, 2014, 06:23:10 PM »