This is perhaps not really a cscart question , but I have searched the depths of cyberspace for weeks for an answer and to no avail. So I thought I’d try here.
I have mySQL5.0, PHP5, Apache2.2 install on my Windoze XP development machine .(P4-D 3GHz dual cor machine)
The localhost machine runs SLOWER than my live site, displaying “Waiting for localhost” message for 3 to 6sec before reading the pages. And page read is also slow.
This is slower than my slow Live hosted site that I access via Satellite with a !
Does anyone have any ideas. Any experience with this problem?..its killing me!
Is there a list of modules that apache needs to load to work?
It seems that CGI or something is loading and exiting on each page load.
Help appreciated
I don’t know why it is so, but it is so generally. I have installed other scripts as CS-Cart on my “localhost” machine and they are slower (or very, very slow) as the live sites. Maybe it depends on the PC… no idea…
Hi Indy,
When comparing side-by-side, the localhost server to the live server. The localhost “waiting for localhost” delay is always a several seconds. The live server (via a slow satelite) is faster to start transfering data. Sometime the “waiting for http://www.remoteone.com.au” message does not even get a chance to render on the screen!
I have managed to get the script to load a tiny bit faster by tweeking the cache and other settings in mysql’s my.ini and apache’s http.conf. It seems there is a big delay for apache and/or the php engine to get started. Theres a “waiting for localhost” delay. Once started the page loads relitively fast.
Sure I understand that a live server should be faster at rendering the php etc than my localhost, but not over a satellite connection with a latency of 700-900mS as mine is.
I hope to soon try this on an ubuntu Linux server . Will be interesting to see if its better.
I even set the Windows Services httpd.exe(2) and mysql-nt.exe to “Realtime” to test.
but no change in the “waiting for localhost” delay.
Firefox and Opera are the same. And explorer … well that doesnt do anything fast ,so no comparison relevant.
I just wish I could find out which service is causing the delay.
Hi Indy,
Interesting that you have found localhost installations to be generally slow also.
Do you normally install on a Linux, Windows or Mac OS?
[quote name=‘remoteone’]Hi Indy,
Interesting that you have found localhost installations to be generally slow also.
Do you normally install on a Linux, Windows or Mac OS?[/quote]
My localhost is installed on WindowsXP
Update:
After spending weeks trying to speed up WAMP, I gave up.
Recently bought a MacBook, and installed MAMP.
Pleased to find MAMP to be Very Fast and really easy to set-up.
Only needed to config Apache to load mod_rewrite to get SEO working.