how to know mysqli extension is installed / activated or not?

nadeem14375

Registered
Oct 20, 2012
1
0
1
cPanel Access Level
Website Owner
Dear members,

I new to cPanel and using as a website owner. I need know mysqli extension is installed on my server or not.

anyone can help me.

Regards:

Muhammad
 

Escobar

Member
Aug 11, 2012
24
0
1
cPanel Access Level
Root Administrator
You can run the following command via root.
Code:
php -m | grep -i mysql
You will get an output like below.
Code:
[[email protected] ~]# php -m | grep -i mysql
mysql
mysqli
pdo_mysql
If you do not have root access you can create a php file with the following code.
Code:
<?php
phpinfo();
?>
Then just search the page and MySQLI should be there if it's installed.