PHP 5.3でMySQL Native Driverを使用する方法
PHP 5.3でMySQL Native Driverに対応となったのですが、configureで指定しないと有効にならないので以下メモ
./configure \ --with-mysql=/usr/local/mysql \ --with-mysqli=/usr/local/mysql/bin/mysql_config \ --with-pdo-mysql=/usr/local/mysql
./configure \ --with-mysql=mysqlnd \ --with-mysqli=mysqlnd \ --with-pdo-mysql=mysqlnd
に変えるだけでよいのだが、既にmake済みの場合、残骸が残ってエラーが出るので上記optionに変えてconfigure実行時は、必ず、make cleanを忘れずにっ!!