I setup XAMPP because I really am not a hardcore web server person. I get the basics, can change config files, but if I tried to install everything from source I'm almost guaranteed to ruin my entire system.

I got XAMPP installed, got into NetInfo manager to setup, I can access my sites - hooray for me!

However, my sites don't work whatsoever and I'm now baffled. Here is what happens...

I have a site that uses clean urls and thus rewrite rules. It appears all the rewrites are working. However, the application usually stops halfway through (where it has worked on my PC localhost and on a live server). I tried debugging by randomly echo'ing in places to find where the application stops. Now it gets weird...

First - after every request, I have to restart apache. If I hit refresh in the browser two times, the second time it just hangs for infiniti.

Second - The spot in the application where the application ends is different almost every time. Again, this was found by echo'ing out after every 10-20 lines of code.

Thirdly, and most odd - If I make a change, reload apache, hit refresh, it does it's usual random spot in the application crash. However, if I reload apache immediately (without refreshing again, thus making a second request) it then hangs until infiniti on the first try after restarting apache. So, in order to test a change, I have to make two requests then restart apache.