Skip to main content

Posts

Showing posts from June 25, 2008

MySQL driver for PHP

The MySQL native driver for PHP is an additional, alternative way to connect from PHP 5 and PHP 6 to the MySQL Server 4.1 or newer. It is a replacement for the libmysql, the MySQL Client Library. From now on you can use ext/mysqli either together with libmysql as you did in the past or with mysqlnd. We have no plans to remove libmysql support from ext/mysqli, which would break existing applications. We just add a new, superior alternative to our PHP offerings. Installation You need the PHP source code to install the new development. In the current development state the new MySQL native driver comes as a patch for ext/mysqli. 1.Get the PHP 5 or 6 source code from http://www.php.net. You can check out the source code from the CVS repository on http://www.php.net or download a source distribution of PHP. For example, follow the instructions for Anonymous CVS Access to check out PHP 6: cvs -d :pserver:cvsread@cvs.php.net:/repository checkout php6 2.Replace the ext/mysqli ...