php5-mysqlnd should be used by default instead of php5-mysql

Bug #1303646 reported by Mike Robinson
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-meta (Ubuntu)
New
Undecided
Unassigned

Bug Description

By default, tasksel uses php5-mysql instead of php5-mysqlnd.

$ tasksel --task-packages lamp-server | grep php5-mysql
Outputs: php5-mysql

The PHP manual (http://www.php.net/manual/en/mysqli.overview.php#mysqli.overview.mysqlnd) says:

"As mysqlnd is designed specifically to be utilised in the PHP system it has numerous memory and speed enhancements over libmysqlclient. You are strongly encouraged to take advantage of these improvements."

Ubuntu should heed the advice of the PHP devs.

This is also a problem on the help website (https://help.ubuntu.com/community/ApacheMySQLPHP) which recommends installing php5-mysql, as well as the package managers which insert a "recommended package" icon beside php5-mysql and not php5-mysqlnd (where it should be).

Colin Watson (cjwatson)
affects: tasksel (Ubuntu) → ubuntu-meta (Ubuntu)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.