Obtaining the mysqlnd plugin API
The mysqlnd plugin API is simply part of the MySQL Native Driver PHP extension, ext/mysqlnd. Development started on the mysqlnd plugin API in December 2009. It is developed as part of the PHP source repository, and as such is available to the public either via Git, or through source snapshot downloads.
The following table shows PHP versions and the corresponding mysqlnd version contained within.
PHP Version | MySQL Native Driver version |
---|---|
5.3.0 | 5.0.5 |
5.3.1 | 5.0.5 |
5.3.2 | 5.0.7 |
5.3.3 | 5.0.7 |
5.3.4 | 5.0.7 |
Plugin developers can determine the mysqlnd
version through accessing MYSQLND_VERSION, which
is a string of the format mysqlnd 5.0.7-dev - 091210 -
$Revision: 300535
, or through
MYSQLND_VERSION_ID, which is an integer such as
50007. Developers can calculate the version number as follows:
Version (part) | Example |
---|---|
Major*10000 | 5*10000 = 50000 |
Minor*100 | 0*100 = 0 |
Patch | 7 = 7 |
MYSQLND_VERSION_ID | 50007 |
During development, developers should refer to the mysqlnd version number for compatibility and version tests, as several iterations of mysqlnd could occur during the lifetime of a PHP development branch with a single PHP version number.
English translation
You have asked to visit this site in English. For now, only the interface is translated, but not all the content yet.If you want to help me in translations, your contribution is welcome. All you need to do is register on the site, and send me a message asking me to add you to the group of translators, which will give you the opportunity to translate the pages you want. A link at the bottom of each translated page indicates that you are the translator, and has a link to your profile.
Thank you in advance.
Document created the 30/01/2003, last modified the 26/10/2018
Source of the printed document:https://www.gaudry.be/en/php-rf-mysqlnd.plugin.obtaining.html
The infobrol is a personal site whose content is my sole responsibility. The text is available under CreativeCommons license (BY-NC-SA). More info on the terms of use and the author.
References
These references and links indicate documents consulted during the writing of this page, or which may provide additional information, but the authors of these sources can not be held responsible for the content of this page.
The author This site is solely responsible for the way in which the various concepts, and the freedoms that are taken with the reference works, are presented here. Remember that you must cross multiple source information to reduce the risk of errors.