Could i Install Linux, Apache, MySQL, PHP (LAMP) stack Ubuntu 16.04 on Window 8

just i wan to know can i install LAMP Stack on my window 8.


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.


If you’re simply wanting to run a LAMP stack on Windows, use XAMPP. If you’re wanting to run a full instance of Ubuntu, there’s two main options to choose from:

1). Use VirtualBox or;

2). Dual-Boot Windows & Linux on your desktop/laptop.

Running XAMPP is going to be the easiest solution as it’s going to provide an out-of-box solution that will get you up and running quickly with minimal hassle and/or configuration.

If you choose VirtualBox or, the more semi-complex method, dual-booting, you will be responsible for setting up Apache/NGINX, PHP, and MySQL/MariaDB on your own as well as managing them.

** I say semi-complex as I don’t know if you’ve ever dual booted before. It’s not difficult, but takes a bit more time as you need to partition your disk(s) and ensure that you’re not trying to install Linux over your Windows installation as that could easily destroy your Windows installation altogether.

Tutorial here, on DigitalOcean is based for Ubuntu OS. As you are using Windows that will not work in your case.

You can use XAMPP for Windows, in my case it worked flawless.

However, for Windows 10 users, they can use LAMP tutorial in Ubuntu mode that came in anniversary update.