I originally asked this question on ServerFault and haven\'t got any response and I figure it\'s programming related so, here goes...
A while ago a large clien
No need to recompile whole PHP. Just compile PDO_MYSQL module alone. Use pecl to install it:
pecl install PDO_MYSQL
For that you will need phpize installed. On Debian machines it is provided by package called php5-dev. Afterwards just add it to your php.ini and restart Apache.
If you are on Debian/Ubuntu system PDO_MYSQL is provided in package called php5-mysql