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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
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

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: Wed Oct 16 04:01:26 2019 UTC