I have a basic install of Apache2 server and PHP5.3 on my local Ubuntu machine.
I created file index.php and put sleep 30 seconds in it
<?php sleep(30); // script sleep 30s ?>
When i run "localhost/index.php" in web browser, request are waiting that 30 seconds.
During that time I delete that line
sleep(30); and run in new tab "localhost/index.php"
That second request waiting first to finish, so wait that 30s.
That is a problem because Apache run only one process/thread. How to configure Apache to run normally? Or can someone explain to me what's going on?