PHP 5.3 has always been a lot ProgramUsers are afraid to use it. Indeed, the API has made many changes and functions have changed a lot. Therefore, more tests are required. but today, I found that PHP 5.3 has a MySQL change, that is
Mysqlnd, which is a mysql client of PHP version, effectively reduces memory usage and improves performance. For details, refer:
Http://dev.mysql.com/downloads/connector/php-mysqlnd/
Http://forge.mysql.com/wiki/PHP_MYSQLND
Mysqlnd becomes the default MySQL driver in PHP 5.3. It has the following advantages:
This solves the copyright risk problem. Due to copyright issues, PhP5 does not support MySQL by default. It does not support MySQL functions as it previously did with PhP4. MySQL also needs to copy libmysql. DLL to the Windows directory, and then modify PHP. ini.
It is important to improve functions and efficiency, including optimized persistent database connections;
Mysqlnd compilation and installation is simpler because it is an integral part of the PHP source code tree.
Mysqlnd currently only supports PhP6 and will support PhP5 in the future, because the acceptance of PhP5 has been steadily increasing. In particular, the increasing popularity of many php development frameworks such as Zend framework will drive the popularization of PhP5.
The internal mechanism of mysqlnd and PHP is more closely integrated, and is the optimized MySQL driver.
Mysqlnd saves more memory. From the test results, it saves 40% of memory than the traditional MySQL expansion.
Mysqlnd is faster
Mysqlnd provides a wide range of performance statistics functions
This change should take effect for MySQL and pdo_mysql extensions at the same time.
It is more convenient to compile PHP. libmysql is not required and is already built into the source code.
However, in this blog, some of you mentioned the problems and notes.
Http://chen.bmforum.com/post/59/