It can be lots of reasons.
- CPU
- Memory
- Slow disks
- high system load
- Huge tables with no indexes
- Badly written SQL
- Badly written PHP
It'simpossible to say what the issue is without knowing more about your application and code.
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I have a strange issue with Laravel performance. Basically, I code using Xampp on windows and Laravel is pretty slow on my development machine it takes around 600ms on each page refresh. I thought maybe on a real server it will perform much better and when the time came to migrate my projects to centos server performance stayed the same. I did cache configs/routes etc but nothing helped. Then I tried to spin up a digital ocean droplet with ubuntu on it. And to my surprise, it worked within 20ms with debugging enabled! So what gives? What could be the issue here? PHP version on Centos was 7.2.
Please or to participate in this conversation.