php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #45317 Disable mysqlnd in core if mysql is not required
Submitted: 2008-06-19 15:27 UTC Modified: 2015-06-09 18:28 UTC
Votes:10
Avg. Score:3.9 ± 0.9
Reproduced:7 of 7 (100.0%)
Same Version:2 (28.6%)
Same OS:5 (71.4%)
From: lester at lsces dot co dot uk Assigned:
Status: Open Package: *Configuration Issues
PHP Version: 5.3CVS-2008-06-19 (snap) OS: Windows
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
39 - 35 = ?
Subscribe to this entry?

 
 [2008-06-19 15:27 UTC] lester at lsces dot co dot uk
Description:
------------
It was understood that mysqlnd would not be enabled by default in 5.3. As far as I am aware it is only required if MySQL is being used and many sites nowadays use many of the other alternatives, so enabling a third database should not be forced on us. SQLite is the built in default and a second database should be our own choice. 


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-01-01 23:48 UTC] jani@php.net
-Package: Feature/Change Request +Package: Windows Installer
 [2015-06-09 18:28 UTC] cmb@php.net
-Package: Windows Installer +Package: *Configuration Issues
 [2015-06-09 18:28 UTC] cmb@php.net
Time flies, and there are no more Windows installers (.msi)
delivered anymore; therefore I'm changing the package to
configuration issues.

Anyhow, as of PHP 5.3 the MySQL Native Driver is enabled by
default on Windows. As I understand it, this is done because
mysqlnd can't be built as DLL, so enabling/disabling it requires
building of PHP. Many developers require the driver, so it makes
sense to enable it by default. For those who don't, the overhead
seems to be bearable.
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Fri Oct 18 19:01:28 2019 UTC