This is linked to Installing PHP with MySQL support?
My phpinfo() does not show a MySQL section as a separate 'heading', but several .ini files are referenced and I can access it from the command line.
I did:
yum install php-mysql
which completed successfully, but didn't help.