Opened 15 years ago
Closed 12 years ago
#11828 closed enhancement (duplicate)
switch to mysqli_* functions
Reported by: | Denis-de-Bernardy | Owned by: | ryan |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 3.0 |
Component: | Database | Keywords: | |
Focuses: | Cc: |
Description
now that we're requiring MySQL 4.1, how about we start using the mysqli functions instead?
Change History (7)
#2
@
15 years ago
http://www.php.net/manual/en/mysqli.requirements.php
If using MySQL5 you must have >=5.0.7. That probably kills it right there. Bumping to 4.1.2 stranded a surprising number of people.
Also, isn't mysqli PHP 5 only?
#3
@
15 years ago
It would probably be more useful to conditionally use the new native drive for PHP 5.3 and greater and leave < 5.3 on the old mysql extension. mysqli is an unloved middle child.
#4
@
15 years ago
MySQLi also requires PHP 5.0 indeed. :-(
http://www.php.net/manual/en/mysqli.connect.php
My understanding of the mysqlnd is that it's for use by mysqli or pdo; it's just an extra configuration at the server level.
#5
follow-up:
↓ 6
@
15 years ago
- Milestone 3.0 deleted
- Resolution set to invalid
- Status changed from new to closed
I'll just close this, pending sunnier days...
#6
in reply to:
↑ 5
@
12 years ago
- Resolution invalid deleted
- Status changed from closed to reopened
Replying to Denis-de-Bernardy:
I'll just close this, pending sunnier days...
The sun has been up for a year now since 3.2 dropped and required PHP 5, let's do this.
http://www.php.net/manual/en/mysqli.overview.php
The mysqli extension has a number of benefits, the key enhancements over the mysql extension being: