What is the easiest way to install LAMP server for hosting PHP projects? Previously on windows I used a XAMPP server. I have tried LAMP on LinuxMint, but the installation required to configure lot of files. So is there a small and easy way to do it, it would be great.

1 Answer 1


This is not the site to be asking that question as it is not related to elementary OS itself.

To answer your question: The easiest way is to download Apache, PHP, MySQL || MariaDB and PHPMyAdmin directly from the repos. This can be easily achieved by typing sudo apt install php5 mariadb-server phpmyadmin in the terminal. This is the easiest and more customizable way to this.

For further reference take a look at this Digital Ocean article on how to setup LAMP on Ubuntu enviroments.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.