Make WordPress Core

Opened 17 years ago

Closed 17 years ago

#3292 closed defect (bug) (invalid)

mysqli support is needed, at last

Reported by: morpheu5's profile morpheu5 Owned by:
Milestone: Priority: highest omg bbq
Severity: blocker Version: 2.0.4
Component: General Keywords: mysqli
Focuses: Cc:

Description

I'm pretty upset with the lack of mysqli support in WP 2.0.4 and I'm really surprised that it is a more-than-2-years long issue that is marked as "wontfix" by the dev team.

My situation is that my host set up php5 with mysqli support (which, as you may know, prevents php from loading mysql extension) and now I'm stuck with a non-working WP installation.

I tried to run the MySQLi Conversion Tool which is found at http://forge.mysql.com/wiki/Converting_to_MySQLi but - despite of a successful conversion - WP still says that php is lacking mysqli support.

I'm trying to work this out but I'm also considering switching to another platform.

Change History (1)

#1 @masquerade
17 years ago

  • Resolution set to invalid
  • Status changed from new to closed

Incorrect. PHP with mysqli can also have the mysql extension installed and enabled. Since we support mysql < 4.1 and we use no > 4.1 features, there is really little incentive to use mysqli. A custom db.php in the wp-includes directory could use mysqli to call the queries. Perhaps open an appropriate ticket on allowing something to bypass the check to see if the mysql library is loaded.

Note: See TracTickets for help on using tickets.