Answer the question
In order to leave comments, you need to log in
Find out where the delay occurs
Hello.
There is a highly loaded server. Powered by PHP + MySQL + Apache (backend) + nginx (frontend).
The problem is this: any, the simplest PHP script, runs for about 5 seconds.
Script example:
$query = mysql_query("select `banned` from users where `user_id`='$id' LIMIT 1");
$data = mysql_fetch_assoc($query);
if($data['banned'] === '1')
{
echo 'Your account has been suspended.';
exit;
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question