Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

tovisbratsburg's avatar

Developing with PHP Storm on Ubuntu 20.04

Those of you who develop with Laravel on a Linux workstation such as Ubuntu. Do you usually install LAMP on your system, or do you compartmentalize installs of LAMP somehow with Vagrant or XAMPP?

0 likes
7 replies
Tray2's avatar

I'd go for a LAMP or LEMP when running linux. I'm all for using Homestead, Sail or plain Docker but I'd stay away from XAMPP.

tovisbratsburg's avatar

Is there an advantage to using a virtual machine that is the same machine essentially as the OS you are working on? I plan to set up LAMP using the same OS Ubuntu 20.04 in Google Cloud.

I can see using a VM on Windows to get access for Ubuntu or Debian, but am not sure if there is an advantage to using a VM for Ubuntu 20.04 on Ubuntu 20.04.

oranges13's avatar
Level 1

Containerization just increases the consistency of the environment that you're running against. Your personal computer has so many other things installed which could cause issues with debugging. It's easier to create a Docker container with the bare minimum so you know you're not introducing any weird dependencies or bugs. Also, it minimizes the "it works on my machine" issue -- because you can just ship your machine.

tovisbratsburg's avatar

Ah, and when you are working on stuff for multiple clients, they may have server differences you can mimic with the containers. Whereas personal development, you can stick with what you love on both the cloud and at home.

1 like

Please or to participate in this conversation.