2010年1月21日星期四

Re: [fw-mvc] Re: Little trouble with Zend Framework 1.10.0

-- DanielJ <djackson@strategies.co.uk> wrote
(on Thursday, 21 January 2010, 06:21 AM -0800):
> I can confirm this is an issue with XCache.
>
> We run PHP 5.2.6-1+lenny4 with Suhosin-Patch 0.9.6.2 with XCache.
>
> I've started a project with ZF 1.9.6 on this server a few weeks back - today
> I downloaded 1.10 Beta, repointed my library to look at 1.10 and got the
> same error.
>
> When XCache was disabled the error went away, when I pointed my library back
> to 1.9.6 it also worked.
>
>
> Haven't look into where the issue might be.

I know that other users have reported similar issues with eAccelerator.
My guess is that the cache is only looking at the directory relative to
the include_path (and not the include_path) when determining whether
or not to cache new classfiles -- and when a require_once call is
issued, it then merrily goes on its way and attempts to load the new
file and add it to the cache.

You might want to try using APC instead, to see if it resolves this
situation; it'd likely be faster than tracking down a solution in
XCache.

--
Matthew Weier O'Phinney
Project Lead | matthew@zend.com
Zend Framework | http://framework.zend.com/
PGP key: http://framework.zend.com/zf-matthew-pgp-key.asc

没有评论: