For Programmers: Free Programming Magazines  


Home > Archive > PHP Eaccelerator > November 2006 > php 5.1 and smarty problems









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author php 5.1 and smarty problems
Gaetano Giunta

2006-11-22, 4:17 am

Hello.

I just set up ea 0.9.5 on a php 5.1.6 install, with smarty.

When I look at the controlpanel results, I see the list of sripts cached, with some funky results about the smarty templates.
As an example:

/home/devinternet/smarty/compile/it/%%4D^4DD^4DD4733A%%voli_arrivo.tpl.php 2006-11-22 09:06 56.64 KB 1 (0) 0
/home/devinternet/smarty/compile/it/%%4D^4DD^4DD4733A%%voli_arrivo.tpl.php 2006-11-22 10:11 56.64 KB 1 (0) 0
/home/devinternet/smarty/compile/it/%%4D^4DD^4DD4733A%%voli_arrivo.tpl.php 2006-11-22 08:01 56.64 KB 1 (0) 0

It looks like the same smarty compiled template is present 3 times in the ea cache.

Is it correct? Is it a bug / feature?

I did not try out the patch that uses filename-based hasing instaed of inode bashed hasing: is it recommended?

Or should I plain disable the ea caching of smarty compiled templates?

Thanks
Gaetano
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?...orge&CID=DEVDEV
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com