The mysql
deamon should be running.
If not try this:
#/etc/init.d/mysql start
Or this:
#service mysqld start
And if you want to add mysql on boot:
# chkconfig --add mysqld
# chkconfig -- level 235 mysqld on
If yes, and it is still not working try this:
Uncomment the following lines in /etc/php/php.ini
extension=mysqli.so
extension=mysql.so
And please check your post above '/usr/lib64/php/modules/msql.so'. It should be mysql.so (if it's mistyped ignore it...)