I have a apache2.4 in ubuntu 14.04. I didn't have wamp so I have deployed wordpress folder in
DocumentRoot in apache config file. I had used following command to install php and mysql modules.
sudo apt-get install php5 libapache2-mod-php5 php5-mcrypt
sudo apt-get install php5-mysql
It is working good.
Now I have moved to another server, which is bitnami-tomcat ubuntu 14.04 AWS instance. Apache configuration is different in bitnami instance.
It is throwing Error establishing a database connection error. It already has a php module but I think it is missing php-mysql module.
Above command line won't work on bitnami instance. I am unable to figure how to add php-mysql module in apache for bitnami.