Wednesday, 25 October 2006

Developing a pure PHP driver for MySQL

Talking to the PHP community members, I see a recurring theme:

How does MySQL integrate with PHP -- both from a technical and from a licensing perspective?

MySQL provides several ways to integrate between PHP and MySQL, most notably the ext/mysql and ext/mysqli drivers for PHP. These rely on the GPL licensed libmysql library, which by its nature is not compatible with the PHP license. With our not-so-optimally-named "FOSS Exception" , we have extended the rights of our community to use MySQL together with a number of non-GPL FOSS licenses, including the PHP license. This solution works well for many in the PHP community.

But we want to do more:

We plan to develop a pure PHP driver for MySQL, to be licensed under the PHP license itself and donated to the PHP Group for inclusion into PHP6.

We hope this will remove any and all licensing issues that the PHP community might otherwise have with MySQL.

Besides resolving licensing issues, we want the new pure PHP driver to technically integrate better with MySQL:

  • we intend to add support for client-side query caching in the PHP driver for MySQL, probably already to MySQL 5.1 Community Server

  • we intend to add support for a Prepared Statements cache to the PHP driver for MySQL, also implemented on the MySQL Server

We believe both of these will bring added technical value to users of PHP6. Tentatively, we should be able to deliver this in stages starting Q1 of 2007, in time for the preview release of PHP6.

We are still working out the details of this. Expect to see more specifics soon after the PHP conference in Frankfurt early November. Once we have worked out the details, I look forward to this initiative turning into a commitment from our side, and delivering results in the form of a more community-friendly, pure PHP driver for MySQL!


  1. [...] So eben gab Kaj Arnö in seinem Blog bekannt, daß MySQL im März 2007 eine neue Library unter der PHP License veröffentlichen wird. [...]

  2. [...] Es ist nicht lange her, daß Kaj den Plan verkündet hat, einen neuen nativen MySQL Treiber für PHP zu entwickeln. Der neue Treiber wird unter die PHP Lizenz gestellt werden. PHP intern ersetzt der neue Treiber die libmysql. [...]

  3. [...] Announcement: Mini-FAQ: [...]

  4. [...] we are proud to announce the first alpha version of the MySQL native driver for PHP: mysqlnd 5.0.0-alpha. The software is available for download on [...]

  5. [...] Dieses Problem beruht auf der zugrunde liegenden C API, betrifft also nicht nur PHP. Es gibt aber Bemühungen diesen Misstand in PHP6 zu beseitigen. [...]

  6. [...] Kaj’s announcement of the MySQL native driver for PHP (mysqlnd), we promised to to patch all three PHP MySQL [...]

  7. [...] Kaj’s announcement of the MySQL native driver for PHP (mysqlnd), we promised to to patch all three PHP MySQL [...]

  8. very interesting post.this is my first time visit here.i found so mmany interesting stuff in your blog especially its discussion..thanks for the post! Get Real uk license

  9. Buy Visa, passport, id card, birth certificate, Driving License Transcripts
    We use high quality equipment and materials to produce counterfeit
    documents. All secret
    features of real passports are carefully duplicated for our falsified
    documents.we are
    unique producer of quality fake and Real documents.We offer only
    original high-quality
    fake passports, driver's licenses, ID cards, stamps, Visa, school
    Diplomas and other
    products for a number of countries like:USA, Australia, Belgium,
    Brazil, Canada, Italian,
    Finland, France, Germany, Israel, Mexico, Netherlands, South Africa,
    Spain, United Kingdom. This list is not full. To get further more
    detailed information about our high quality fake passports/driving
    licenses/id cards/ stamps, Visa, school Diplomas and
    other products contact us through the below infos;

    Contact e-mails:>>>>>>>>>>>>>>>>>>>>>>>> globaldocumentsconsultancy@gmail.coms-online.comu
    General support: >>>>>>>>>>>>>>>>>>>>>>>>>>


    1. https://köpkö

  10. Buy Genuine Drivers License Online
    Buy Genuine Drivers License Online without going through the driving test trauma. We provide all categories of database registered Drivers license for various countries, from Class A to Class C in the United States to Category A to D in the United Kingdom and International Class Drivers Licenses. We posses printing technology only used by the most advanced industrial companies in massive scale state of – the – art 3D printing.

    So understanding the passion you have for driving, and how difficult, and time consuming the driving test takes, we make it very easy for you by providing you with a genuine database registered copy of a drivers license depending on which country your from. Saving you time, and having to go through the experience of the vigorous driving test, of which success isn’t guaranteed. With us you are 100% sure of getting a license. Our licenses are verified and proven to bypass all systems and security protocols, including the latest airport security systems. Buy Genuine Drivers License Online

  11. buy real passport, Buy driving licenses online,genuine passport for sale, fake passport for sale online, buy real and fake passport online, buy real genuine fake passport online, purchase passport online, buy legal american passport, purchase fake US passport online, purchase fake EU passport,
    Buy driving licenses online Buy Genuine Drivers License Online

  12. Do you need a driver's license? do you need a second passport? do you need an ID?


    we provide registered passports, ID's & Driver's license for all countries.

    all the documents we process are registered in the specified database so our clients face no problems using our documents anywhere.

    Buy German driver's license online

    buy uk driver's license online

    buy european driver's license online

    buy uk passports online

    buy USA passports online

    buy canadian passports online


    we provide you 100 percent registered database documents.

    our service is well trusted over the world and have over 600 happy clients

    visit our website

    contact us via email:

    contact us via whatsapp: +1(415)-326-4380