Blog Archives

Missing MySQL References in PHP

The following can be used for quick LAMP installation and/or if you are missing MySQL references in PHP.

Debian:

sudo apt-get install mysql-server
sudo apt-get install apache2
sudo apt-get install php5
sudo apt-get install php5-mysql
sudo apt-get install phpmyadmin

Redhat:

sudo -c "yum install mysql-server"
sudo -c "yum install apache2"
sudo -c "yum install php5"
sudo -c "yum install php5-mysql"
sudo -c "yum install phpmyadmin"