PDO and MySQLI extension?

Mujkanovic

Well-known member
Joined
Apr 24, 2016
Messages
292
Best answers
1
Ratings
19
Points
18
#1
Can I check if PDO and MySQLI extension is enabled on my Plesk hosting? my forum script is requiring MySQLI and PDO but I don't know where to check if they are enabled. If not, how can I activate these features?
 

VirtuBox

Global Mod
Staff Member
Joined
May 3, 2016
Messages
1,611
Best answers
4
Ratings
450 13
Points
83
#2
Hello,
both of them are enabled by default on all Plesk php versions.
 

Daniel204

Active member
Joined
Jun 19, 2018
Messages
67
Best answers
1
Ratings
14
Points
8
#3
I would like to answer the question in a simple way is here First and the most important difference is mysqli supports MySQL only while PDO, PHP Data Object, is a common class for certain databases including MySQL and Postgres.

You should note that PDO is maintained by PHP community, unlike connectors except for MySQL. Also, mysqli is going to be deprecated in future versions of PHP. And if you are using database any other than MySQL then you don't have any option apart from PDO, considering native PHP modules.
 
Similar Threads
Replies
5
Views
976
Replies
1
Views
1,486

Latest Hosting OffersNew Reviews

Sponsors

Tag Cloud

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top