Mobile Phone - Secured Loans - Personal Loans - Loans - Loans

PDA

View Full Version : PHP pages load very slowly


IamNed
Jan 16th 2006, 11:08 pm
I have a simple website with basic php include functions. Nothign that complex yet it takes a very long tim to load the pages. These are simple pages without much code. I have no idea why it is taking so long to open the pages. HTML pages open quickly but php is very slow.

TheHoff
Jan 16th 2006, 11:17 pm
Hosted on Apache or IIS?

mdvaldosta
Jan 16th 2006, 11:19 pm
What's your server load? On a shared server?

DavidAusman
Jan 17th 2006, 4:04 am
Mostly it is either because of server problem or looping error. Double check if you had made looping error

Uvex
Jan 17th 2006, 12:00 pm
Do the pages have lots of images on them? A lot of content? How many includes are you trying to do?

IamNed
Jan 17th 2006, 12:11 pm
I have 5 images on each page. One image is usually a header and the rest are neavigation buttons.

I have about 6 includes per page with 300 words of content per page.

I have a reseller hosting with apache.

Whats a looping error?

Uvex
Jan 17th 2006, 12:17 pm
5 images shouldn't cause the problem unless of course they are big ones with high resolutions. Would it be possible to have a look at the page at all?

Might benefit us to actually see the conflicting page..

GeorgeB.
Jan 17th 2006, 12:38 pm
Code example? Link to the page?

All you really told us is for example: My car is running slow. It's a simple little car without many features. How do I fix it?

TMan
Jan 17th 2006, 2:33 pm
Are you including things from other servers? Maybe they are slow...