How can I solve the problem when it is extremely slow when I use phpstudy nginx to run php files? Running html files is extremely fast, but the php file cannot be opened for a long time. I used apache before and it kept getting hung up, so I changed it to nginx. But after that, it was very difficult to enter the backend. I searched a lot online and couldn't find the reason.
It is impossible to guess what is causing this. Debug it with PHP breakpoints. Start from the entry file and see which part of the code is causing the slow speed.