Re: include() is being EXTREMELY slow
| From: | Justin French | Date: | Tue, 13 May 2003 06:01:55 +0000 |
| Subject: | Re: include() is being EXTREMELY slow | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-147401@lists.php.net to get a copy of this message | ||
The first thing you do when your site gets moved to another server is to
create a couple of phpinfo() files, place one on each server, and compare
the settings/features.
You could/should address the differences with your host, looking to get the
two packages as similar as possible, within reason.
If, for example, safe mode is ON on the new server, and was OFF on the old,
then this would make a HUGE difference -- I'm not sure if it would affect
your specific script and problem, but getting the settings as equal as
possible would be a nice start... as would searching for a new ISP, since
the problem is more than likely NOT your scripts, since they WERE working.
Justin
on 13/05/03 5:17 PM, Police Trainee (policetrainee@yahoo.com) wrote:
> greetings. my webhost recently switched to a new
> provider with the latest version of php with apache on
> unix.
>
> I have had nothing but problems with include() since
> then. Aside from not being able to include most (but
> not all) remote html files, even the LOCAL html, text,
> or php files being called locally by include() are
> taking extremely long to include (4-5 seconds).
>
> The files to be included are no longer than 2 to 10
> lines of text, but the delay is well into 4-5 seconds
> (which is considerably too long given that php is
> supposedly one of the fastest languages).
>
> I did not have this problem with my previous server.
> files (both remotely and locally) were included in a
> split second. Ideas? Help? Please?? Thank you.