Php suddenly the $_ get parameter is empty

the server environment is windows server.
scenario description: the system running on the server is written in native php code, such as. / api.php?c=xxx&m=xxx, and this request has been able to get parameter values normally with $_ get. It was supposed to work normally. If $_ get cannot get the parameters (printed as null), it will be sent suddenly, and then only if you restart apache will it return to normal.
the above situation occurs after the server"s cpu core is adjusted. Originally, the server was a single-core cpu, and then it was adjusted to dual-core before it began to appear. What are the reasons and solutions for this situation?

Php
Jun.19,2022

use uppercase $_ GET


I don't think this has much to do with your server cpu. First of all, you need to make sure whether the parameters in your url are valuable. For example, the XXX in your. / api.php?c=xxx&m=xxx is empty. I think we should first solve the problem from the code side. Every request is written into the log. Check log to see what happens when error appears


I think it's best to take a look at the server log. Maybe the request didn't reach the page at all, so you can't get

.
Menu