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

anchan42's avatar

Linux sub system

I'm doing my development on laragon but I think it is too slow. Load time is about 800 ms to a few seconds. Would the docker and linux sub system faster? Would it cause any problem later on when I deploy my app on Windows server?

0 likes
9 replies
vincent15000's avatar

I think that it's not due to Laragon. I already tried to use Laragon and I had no problem.

anchan42's avatar

I moved the project to a more powerfull machine and it a bit better. I got 400-500 ms booting time and around 200ms application time. Is that normal?

1 like
anchan42's avatar

@vincent15000 Just normal loading of a landing page would take that long. It was averaging around 900ms. It is in debug mode with debug bar enable but it just slows development right down. Every time I make any changes in the view and save, I have wait a bit for the page to re-load.

I enable the opcach on the PHP and the load time was reduced to 200ms which is a bit better. I was expecting it to be a bit more snappy though.

Tray2's avatar

Windows is seldom a good idea to run a web server on, it would be better to run it on a linux system. Docker is one option, and you can use Laravel Sail for that. A virtual machine is another option.

anchan42's avatar

@Tray2 The app will be deployed on a Windows server. Not sure if I do development on Linux, would it cause any problem?

Tray2's avatar

@anchan42 php doesn't care about the OS, so you can run it on any machine you like, I however would not host it on Windows, it's too much overhead. It's much better to run it on a linux machine.

That being said, it doesn't really matter what OS you use while developing, but it is easier to find tutorials for Linux and OsX than it is for windows.

1 like
jlrdw's avatar

Why don't you just download the zip versions of MySQL, PHP, and Apache, set them up and make your own little mini Server.

The first time you set them up on your own is a learning curve, but once you do it and if you take notes it's easy the next time.

Nginx instead of Apache is also fairly easy to set up.

The various sites have instructions.

anchan42's avatar

Thank you. I'm using Laragon at the minute. It got both Nginx and Apache installed. I will give it a try.

Please or to participate in this conversation.