Installing apache2 / mysql / php on ubuntu

Found it useful to include these command I’m always using whenever I need to create an ec2 instance:

sudo apt-get update
sudo apt-get install apache2
sudo apt-get install libapache2-mod-php5
sudo apt-get install mysql-server libapache2-mod-auth-mysql php5-mysql

installing php / curl

sudo apt-get install php5-curl

other php modules

sudo apt-get update
sudo apt-cache search php5

Majd Arbash


Leave a Reply