I spent last 6+ hours researching and now posting for some help as nothing in online discussions have helped…
This is a new dedicated server.
I see that mysql is running on the server
[root@host2 /]# service mysql start
Starting MySQL (Percona Server)… [ OK ]
[root@host2 /]# service mysql status
MySQL (Percona Server) running (18295) [ OK ]
However, no php applications can connect to it.
I am getting errors like:
Fatal error: Call to undefined function mysql_connect() in
Your PHP installation appears to be missing the MySQL extension which is required by WordPress.
it was working before until i updated apache config with php5.4.