Welcome to WebmasterWorld Guest from

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

PHP and Zend optimization

Php Zend



11:37 pm on Oct 17, 2005 (gmt 0)

10+ Year Member

Dear members,

I am new to this BIG forum and have a question about PHP and ZEND.

We are running the web host comparison speed project where web hosts are ranked on their speed.

One of the tests we use is a 100kb PHP file that is uploaded to the servers of the competing web hosts. The script calculates the time it takes to load the file.

We are encountering very fast results on web hosts that have optimized their servers with Zend.

Can anyone give me advice wether these speed results (that are 100 to 1000-fold faster than average) are accurate page load results? Do these results reflect the real page load time or does Zend just calculate and report the time it takes to execute the script?

Please advice on how to deal with these results.


Jan Paul


12:05 am on Oct 18, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member

Your question is a bit obscure. What exactly happens? Do you run a 100kg script that uploads a file? Do you run an entirely different script to upload a 100kb garbage php file? Do u upload a 100kb php script that u then run that in turn uploads a file from somewhere else?


12:30 am on Oct 18, 2005 (gmt 0)

10+ Year Member


I will try to explain.

Users upload a 100kb file to their server.

It is a script with a PHP header, a PHP bottom and a body contains 100kb of plain text.

In the PHP header the page load time is set at 0. As soon as the bottom of the page is reached on a load in an internet browser the PHP script at the bottom knows how fast the bottom was reached. The time it took to load is reported to our speed project.

On Zend optimized servers the time to reach the end of the file is 100-fold to 1000-fold faster than on a server with regular PHP.

My questions are:

- Is the result with Zend the real page load time or is it just reporting the time it takes to execute the PHP script.

- Does Zend preload the complete file and then execute it?

- If it is the page generation time, how can I force the PHP script to withstand this preload?


Featured Threads

Hot Threads This Week

Hot Threads This Month