Localhost very slow
Juicebond
-
Sun -
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.
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
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.
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.
Sun
Thank you
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
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
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.
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..
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..
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?
it takes almost 5 seconds or more for the result to display
it's faster with free :-)
if you have a solution?
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.