1

I am installing mysqli but it is not getting installed every time i type the following command:

yum install php-mysqli I get the following message:

Loaded plugins : fastestmirror
Loading mirror speeds from cached hostfile
*base : mirrors.XXXXX.com
*extras: mirrors.XXXXX.com
*updates : mirrors.XXXXX.com
No package php-mysqli available
Error : Nothing to do
user3653474
  • 3,393
  • 6
  • 49
  • 135

1 Answers1

1

You have installed cPanel on your server then you will have to install php-mysqli modules on your server through easyapache scripts. You can install it through WHM OR SSH

WHM >> Software >> EasyApache and follow instruction

And through SSH, Please try with the following command

/scripts/easyapache
24x7servermanagement
  • 2,520
  • 1
  • 13
  • 11
  • Thanks 24x7servermanagement i have installed as in your answer but i am getting following error -message Fatal error: Class 'mysqli' not found in ------. – user3653474 Nov 28 '15 at 11:25