PDO and MySQLI extension?

Mujkanovic

Well-known member
Joined
Apr 24, 2016
Messages
274
Best answers
1
Ratings
11
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,543
Best answers
4
Ratings
411 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
66
Best answers
1
Ratings
10
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.
 
Latest Threads
Replies
1
Views
22
Replies
1
Views
24
Replies
0
Views
19
Replies
2
Views
31
Recommended Threads
Similar Threads
Replies
5
Views
783
Replies
1
Views
1,385

Latest postsNew threads

Latest Hosting OffersNew Reviews

Sponsors

Latest Blog ArticlesMost Viewed Threads

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