I'm trying to run a web-page built with PHP on my localhost but the page is loading really slow, it takes like 5 to 10 seconds to load, which makes no-sense. I'm certain that this is an Apache configuration problem but since I have no experience with PHP I have no idea how resolve it. I checked the PHP logs everything appears fine, the Apache log is also good it show the requests the requests returning 200 status.
The other issue I have, which leads me to believe that this is configuration issue is that to get the page I need use the url: localhost/index.php?/path.html instead of the expected localhost/path.html.
Any help would be appreciated.