./configure --with-apxs2=[apache_dir]/bin/apxs -prefix=[php_dir] --with-mysql=mysqlnd --with-mysqli=mysqlnd --with-pdo-mysql=mysqlnd
make
make install
./configure --with-apxs2=[apache_dir]/bin/apxs -prefix=[php_dir] --with-mysql=mysqlnd --with-mysqli=mysqlnd --with-pdo-mysql=mysqlnd
make
make install