Localhost very slow

Juicebond -  
 Sun -
Hello,

I am currently developing a website in PHP, and I am using a local server on Windows to visualize my results before uploading them to the server. However, I find that the connection to my localhost is very slow. Both the database access and page loading are very slow. It’s actually faster for me to upload my files each time to my server online, but over time it’s much less convenient than just saving the file and viewing it locally. I am using WampServer 2.0; I previously used EasyPHP, but it was the same issue.

Does anyone have a solution to help me speed this up?

Thank you,

Julien.
Configuration: Windows Vista Firefox 2.0.0.11

8 answers

L'INFORMATITI1
 
Hello,

I noticed that by typing http://127.0.0.1/ instead of http://localhost/ it was faster!

I use WAMP and Windows 7.

Best wishes.
9
Sun
 
Thank you
0
raimus88
 
Hello,
The solution to the problem is to modify the httpd.conf file of easyphp (in the conf_files directory). Change the line "ServerName localhost" to "ServerName 127.0.0.1". Before doing this, of course, check your logs to see if there is a more logical response.
However, I don't know the reason for this, but in any case, it works better.
http://www.af-netproject.com/

Configuration: Windows 7 / Firefox 14.0.1
3
solstyce
 
Thank you very much, that solved my problem!
0
Barbie
 
Great! That solved my issue; the pages weren't loading at all anymore.
0
cyrille2u
 
I stop my Internet connection while I develop and it's faster. But aside from that, if someone has another solution, that would be great.
2
Juicebond Posted messages 11 Status Member 15
 
Still no response to speed up my localhost..? Because it's a bit heavy waiting 10 seconds for each page refresh..

Or do you know of a PHP IDE that allows direct file editing on the server? That is to say, when I save, the update is made via FTP immediately..
1
Vincent
 
I have the same issue with VISTA, and an easyPHP2
it takes almost 5 seconds or more for the result to display
it's faster with free :-)

if you have a solution?
0
rg77140
 
I am bringing up the subject again while waiting to find a solution. I have the same problem as you, my easy PHP is very, very slow, taking more than 10 seconds with each click... I am also on Vista, it worked very well before on XP.
0
hinaoracle
 
idem
0
rg77140
 
It came from my antivirus (McAfee).

I uninstalled it and everything worked very well. Instead, I installed NOD32.

Good evening.
0
mthbuz Posted messages 77 Status Member 25
 
Hello everyone,

Same problem here, very long refreshing, I tried with 127.0.0.1 and it works for now but if anyone has another explanation I’m all ears.
0