What is the best way to install LAMP on Linux Mint

1.5k views Asked by At

I am running Linux Mint 17 Rebecca. Is there a package that installs and configures these, or do they need to be installed and configured separately?

2

There are 2 answers

1
sitilge On

I am not aware of any packages (although, there might be some) that does that for you but this simple one-liner should do it for you:

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

Be aware that it also installs other packages as well. If you do not want them, you would have to compile from source && install.

Update

Archlinux User Repository has one: https://aur.archlinux.org/packages/xampp/. IMHO, it has to be tweaked for Mint.

1
rnevius On

You have a simple option: sudo apt-get install lamp-server^ (notice the ending ^)...But this is a pretty broad question with multiple answers.