...
Code Block | ||
---|---|---|
| ||
sudo apt-get install php5 # Installs PHP
sudo apt-get install mysql-server # Installs MySQL
sudo apt-get install php5-mysql # Libraries to connect PHP to MySQL
sudo apt-get install php5-gd # Libraries to allow image editing through browser, "Edit Media" |
As of Ubuntu 12 (an maybe even earlier), the installer will automatically restart Apache2 for you.
...