All my php pages are slow. It is not my isp connection as support suggested.
The html extension download in less then two seconds on my computer.
The PHP extension takes 4-8 times longer.
All feedback welcomed from support and jodohost clients.
I need to discover and correct this problem. My affiliate program, oscommerce, and hundreds of additional pages are based on php. They all are slow and slower. ?(
My site is useless as slow as it is. The problem seems to be the php!
The connection/download times are quick from the UK, so it is not network or bandwidth.
Does your php site make use of a database? If so you could run some queries manually against the DB to see whether the slowdown is the web server or the db?
The Servers {Machines} are in Miami Fl, USA. The ISP providers are in North Carolina USA. Would it be local client machines?, server configurations?, h-sphere settings?, ip connections???
Can the end-users client machine be involved concerning slow php pages?
The client side can play some role in the loading speeds.
That page that is DB driven took about 3 seconds to load, which could be slow, or fast depending on the number of queries made. I don’t know the details on that software so I can’t say for certain.
Thanks for the feedback. Thru my H-Sphere CP…the following php switches are on: php.
Are there other items within the cp that would be effecting the php pages?
The page that Stephen is downloading in 3 seconds, takes 13 seconds on my machine. MSN, CNN, Comcast and other large pages download very fast on my machine, so I don’t believe it’s my connection. I have 5 different machines, all five of them are recording the same results. I am baffled!
I managed to sort it last night. Not using relative paths messed up the website. It turned out to be using the FQDN of mysql2. If I did it as mysql2.domain.com all PHP sites that use mysql were really slow. Changed it to IP for mysql and they are lightning fast now
Greggers,
I have the same problem and posted a similar thread on this forum as well. I also changed the address to MySQL server to IP-address, and my sites loaded within a second (previously, 6-7 seconds).