I recently set up several different web projects that I'm working on locally using PHP 5.6 and MYSQL 5.6. One of the sites uses an API. I thought that this site was running slowly, then I realized that any other localhost pages would finish what they were doing first (i.e. if I load 3 pages on localhost, page 3 doesn't start actually running until pages 1 and 2 are finished. All the sites are in different folders, using different databases (if any), but this happens even if I try to load 2 pages in the same site. Is there any way around this? I think I could set up multiple localhosts, but actually the main problem is multiple requests with the same site being queued. This is definitely a problem outside the code: I checked MYSQL and the connection to the database isn't even made for the 2nd page until the 1st page finishes.
I hope I explained that ok!
I hope I explained that ok!