Re: Scripts are fast locally, but slow on remote server

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Are you relying on autoload or anything of that nature to load in
class files, perhaps?

On Wed, January 16, 2008 1:02 am, Dave M G wrote:
> PHP list,
>
> I have a set of PHP scripts that seem to be efficient and quick enough
> both on my home testing environment, and a few different web-hosting
> services I use.
>
> However, on one particular web-hosting service, there is often a very
> painful 10 second (!) lag when first loading up the scripts. This long
> lag time can sometimes be manifest not just on the first page loaded,
> but the second and maybe third as well.
>
> But then after the first initial pages are loaded, the site seems to
> speed up to what I would consider normal download pages for times.
>
> There are some pages on the site that are not driven by these PHP
> scripts, and they load up very quickly, indicating that only my PHP
> scripts are affected.
>
> So the problem seems to be, as far as I can tell, that something about
> my PHP scripts is combining with some setting of this one web-hosting
> server to create some kind of slowdown.
>
> Is there any way I can diagnose a situation like this to get to the
> root
> of the problem? Perhaps there are common discrepancies between server
> settings that I can look out for?
>
> Any advice would be much appreciated.
>
> Thank you.
>
> --
> Dave M G
> Articlass - open source CMS
> http://articlass.org
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


-- 
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/from/lynch
Yeah, I get a buck. So?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux