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

Dnyan

New Coder
Jun 4, 2019
13
3
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
915
255
75
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
13
3
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
915
255
75
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

Coder
Jun 12, 2019
32
11
9
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

Joshua Farrell

New Coder
Moderator
Jun 11, 2019
11
7
4
Interesting, I have never had an issue running a local server, aside from experimenting off of an external drive that is connected via USB that ran slower than being directly connected inside the computer.
 
  • Like
Reactions: Ghost

Ghost

Active Coder
Moderator
Apr 19, 2019
303
140
43
Interesting, I have never had an issue running a local server, aside from experimenting off of an external drive that is connected via USB that ran slower than being directly connected inside the computer.
Yeah, the data cables can make such a huge difference
 

Dan-Kode

Well-Known Coder
May 24, 2019
433
119
53
github.com
I remember running XAMPP on Windows all because I couldn't get WAMP Server to work. I'm pretty sure that after XAMPP was installed, I couldn't figure out how to add my Web-Pages to it so I just gave up. Managed to get WAMP Server running after that as for me, WAMP is a lot easier than XAMPP.
 

edenwax

Coder
Mar 28, 2019
24
18
14
I've been using XAMPP for something like 10+ years and never had performance issues on Windows. I never really tried using 127.0.0.1/ , I've always used localhost/ instead and its been fine.
 

Brad

New Coder
May 9, 2019
13
2
3
Try Laragon, much faster.