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: 2021-10-14 11:47 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: cmb (profile)
Status: Wont fix Package: *Configuration Issues
PHP Version: 5.3CVS-2008-06-19 (snap) OS: Windows
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: lester at lsces dot co dot uk
New email:
PHP Version: OS:

 

 [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

Pull Requests

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.
 [2021-10-14 11:47 UTC] cmb@php.net
-Status: Open +Status: Wont fix -Assigned To: +Assigned To: cmb
 [2021-10-14 11:47 UTC] cmb@php.net
Closing as WONTFIX per my comment above.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 14:01:32 2024 UTC