Re: [SMARTY] Smarty and MMCache
| From: | boots | Date: | Tue, 05 Dec 2006 20:04:28 +0000 |
| Subject: | Re: [SMARTY] Smarty and MMCache | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-13613@lists.php.net to get a copy of this message | ||
--- Ahmad Al-Twaijiry <ahmadt@gmail.com> wrote:
> Hi everyone
Hi.
> I'm planning to use mmCache in my site, the question is it compatible
> with Smarty ? I'm using Smarty to generate my pages and (and cache
> some pages) and I don't want to modify my scripts
The mmcache is defunct and has been out of development for quite some time. As
far as I know, it won't work with PHP5. Maybe try its fork, eAccelerator or
consider using another product such as APC.
> so it is possible to use mmCache (to speed up PHP 5) with Smarty
> without using any plug-in ?
Yes. Smarty is written in PHP and it produces PHP code. The effects of an
opcode cache benefit Smarty just as they do any PHP project.
> also if the answer is yes, it is possible also to use mmCache encoder
> (to encrypt the PHP scripts) with Smarty ?
As far as I know, encoding is no longer supported under eAccelerator. If you
want encoding, try a commercial solution -- but why encode? (That is a
rhetorical question. I don't actually care why you would want to encode because
no answer would satisfy me :) )
boots
____________________________________________________________________________________
Want to start your own business?
Learn how on Yahoo! Small Business.
http://smallbusiness.yahoo.com/r-index