PHP 4.0 is extremely fast as it is, and is running at equivalent speed to 
mod_perl (your mileage may vary, but many people say it's faster, and I'm 
sure there are people for whom it's slower).  However, it doesn't do 
post-compilation caching (and as a matter of fact, neither does mod_perl, 
other than a very specific and not all too usable mechanism of read-only, 
static shared compiled scripts).

There's no doubt that you can deploy your web site without purchasing the 
Zend Cache, and on the other hand, there's no doubt that deploying it with 
the Zend Cache will result in much better performance (the Zend Cache is 
actually a bit of a misleading name, because it does all sorts of things 
other than just post-compilation caching).  In most cases (almost all cases 
I've seen to date) - using the Zend Cache is the most cost effective 
alternative, compared to alternative solutions (i.e. hardware).  It's 
really a question of what kind of performance you require, and whether PHP 
4.0 as it comes out of the box is quick enough for you.

Zeev

At 01:07 7/3/2001, Joe Rice wrote:

>Hi,
>   As you might gather from the subject, i'm trying to
>make a decision.  Before that i'm doing research
>to find out what best fits.  My question is;
>
> >From what i've read php4 does post-compilation caching,
>is this right?  If so, what is the point of Zend Cache or
>APC (Alternative PHP Cache)?  I know from experience that
>mod_perl does copy and run from a compiled version of the
>script into memory.  From the description of Zend Cache and
>APC they sound like the equivalent for php4.  I guess what i'm
>getting at is is php4 as fast as mod_perl or do i need something
>like zend cache?  also, is there anywhere with stated benchmarks
>that i can see to compare?
>
>
>Thanks,
>joe
>
>
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>To contact the list administrators, e-mail: [EMAIL PROTECTED]

--
Zeev Suraski <[EMAIL PROTECTED]>
CTO &  co-founder, Zend Technologies Ltd. http://www.zend.com/


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to