Originally Posted by r3sistance
What distribution you using? Likelihood is you forgot to install the MySQL module for PHP and so PHP is unable to connect to MySQL. For Red Hat based distributions "yum install php-mysql" should fix this. For different distributions the method will be different to install this.
If you wish to test if you actually have PHP then create a info.php page and include the following code.
if this page works then PHP is installed. If it's blank then you also have to install the PHP module for Apache.
Yes you are right, I had already use this script
And page show be blank output. Please let me know how can i install PHP module for my Apache server.
when i type system-config-packages command its shows mysql-php.