Running XAMPP on windows can be dead slow and make you frustrate

Dnyan

New Coder
Jun 4, 2019
12
2
4
Doing a development on windows using XAMPP with default install on windows can give you a nightmares due to its dead slow speed of processing.
I too had same issue of slow processing speed on XAMPP.

I too did a lot of googling for solution to increase the speed.
At most of the places its showed that in etc conf file uncommenting the routing of 127.0.0.1 to local host solved the problem of many.

Increasing memory pool of innon db to 1G also made little improvement to many.

Personally i haven't seen any such improvements and also tried lot of changes like this.

Once i was just looking at my httpd-xampp.conf file and what i found is really a game changer.

At server name i found localhost 80

and i was always using 127.0.0.1/ to browse the files

so i changed localhost to 127.0.0.1, saved the changes and restarted the XAMPP.

Trust me, now i am getting a super lighting fast speed.

If you browse through localhost for your development in url, do ensure your httpd.conf file to have same server name.

i use 127.0.0.1, so i changed it to that in server name.

This is what i understood, if you want system to resolve name and redirect you to data, it gonna take time to find hit.

If you hit the same url address as you put into httpd-xampp.conf file, it directly gets connected and gives you super-fast results.
 

ZarJohn

New Coder
Jun 6, 2019
12
12
3
At server name i found localhost 80

and i was always using 127.0.0.1/ to browse the files

so i changed localhost to 127.0.0.1, saved the changes and restarted the XAMPP.
Normally localhost should always resolve to 127.0.0.1 as default O_O

This is what i understood, if you want system to resolve name and redirect you to data, it gonna take time to find hit.
This sounds like an issue with an dns server, as it should only take a couple ms

Doing a development on windows using XAMPP with default install on windows can give you a nightmares due to its dead slow speed of processing.
I too had same issue of slow processing speed on XAMPP.
XAMPP loads a lot of stuff you often don't need. I personally use docker virtualized webservers or run it in a linux vm.
 
  • Like
Reactions: Tealk

Malcolm

Administrator
Administrator
Jan 2, 2018
759
185
55
Canada
codeforum.org
I currently run XAMPP on both my machines (View my PC Specs here) and don't have any issues. Perhaps on my laptop, it's a little slow, but that's due to my laptop not being too powerful. Could your issues be related to your computer specifications?
 

Dnyan

New Coder
Jun 4, 2019
12
2
4
Don't know its a system specific problem or something else but editing the httpd.xampp.conf file did helped me to make it super-fast load on local environment, faster than a server where my website is hosted.
 

Malcolm

Administrator
Administrator
Jan 2, 2018
759
185
55
Canada
codeforum.org
Hmm interesting.. I would imagine that it would have been computer specs because XAMPP pretty much converts your computer into a server. I'm interested in how you set that up to work faster!
 

root

New Coder
Jun 12, 2019
24
10
4
I am am using xampp on Windows and on Laptop my whole life and didn't get any problems like you mention.

Try with different machine or switch to wampserver.
 
  • Like
Reactions: Malcolm