Re: PHP Fatal Error's
| From: | Ian Warner | Date: | Thu, 05 Oct 2006 16:32:08 +0000 |
| Subject: | Re: PHP Fatal Error's | ||
| References: | 1 2 3 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-25353@lists.php.net to get a copy of this message | ||
Ben Sytko wrote:
Justin,http://pear.php.net/package/HTML_Template_Sigma you will get better support on this list if you use that plus it is simpler and probably faster than Smarty, i have just built my multi sit template system with this. and HTML_PAGE2 works well.Sounds like your site can't keep up with the higher volume. Likely this is I/O that is causing the slowness. There are also other possible problems. There are plenty of resources on the net about optimizing your website. A first step might be to look at possibly caching some of your output so that PHP has to do less and so your DB isn't hit as much.Ahh, so this is most likely a issue with the database dying? Beside optimizing the code, are their any other alternatives? I mean, is this an issue with PEAR that it can't handle large loads, or just a poor server? I've read that Smarty can be slow, would this have an impact? Would it be better to just drop Smarty and just make my own template engine? Thanks, Ben Ben try one of PEARs own templates