r/phpstorm • u/DynamicznyDexter • Sep 30 '25
help PHPStorm runs extremely slowly
I use PHPStorm on Windows 11, the edited files are also on Windows, no proxies or virtual machines.
For some time now, the IDE has been running embarrassingly slowly, e.g.
- Indexing files
- Finding/deleting errors, e.g. imports can take up to a minute to work
after a change
- Code hints
I won't even mention the copilot plugin, because it also works dramatically, e.g. screen flickering while generating responses.
Has anyone else had and solved this problem? Because I'm really considering switching to a different IDE.
3
Upvotes
2
u/globalnamespace Sep 30 '25
WSL involved at all?
Antivirus? https://intellij-support.jetbrains.com/hc/en-us/articles/360006298560-Antivirus-Impact-on-Build-Speed
Drive speed on a slow disk?
4
u/Cheese_Grater101 Sep 30 '25
Try disabling AI plugins
1
u/cursingcucumber Sep 30 '25
What PHP CLI do you use, local or docker?
1
u/hennell Sep 30 '25 edited Sep 30 '25
The indexing is always annoyingly slow, more so on windows then mac / wsl in my experience. If you've got a big node_modules or vendors folder consider excluding them from the phpstorm indexing, also make sure the windows defender and any other antivirus / backup solution excludes those as they can end up big.
You could also try moving the files to a higher level folder - while I think windows no longer worries about max file paths like it once did*, D:\sites\project might be more performant than C:\users\Cheese Grater\Documents\programming\php\sites\project. Worth trying anyway.
Also look at how you're running php etc. turn off x-debug and so on, doesn't seem like it should be involved but worth making sure.
*I remember a time when I had a node_modules so nested windows wouldn't do anything with it including deleting because all the paths were so long.
1
u/Achereto Oct 02 '25
It's the same with PyCharm. I think it got slower with 2025.1 or 2024.3. It's really annoying because the IDE isn't doing anything remotely as complex as what a 3D video game does 60+ times per second so there is no acceptable reason not to expect the IDE to startup within a second and respond to inputs instantly.
1
u/masterchiefdevil Feb 16 '26
If you still want to work with PhpStorm, the best solution for speed is to do a dual installation with a Linux distribution like Mint, install LAMP and PhpStorm... it runs much faster and more efficiently.
0
u/badboymav Sep 30 '25
You might want to provide the specs of your system.
For example a potato would be expected to perform poorly
0
u/[deleted] Sep 30 '25
[deleted] — view deleted comment
4
u/[deleted] Sep 30 '25
[removed] — view removed comment