摘要: Smarty是非常流行的模板系统,它分离了业务和逻辑、执行速度快,在php网站中有广泛的运用。不过在部署到sina app engine(sae)上时出现了问题,因为sae作为云计算平台式无法进行文件读写操作的,所以Smarty中输出的缓存文件就无法实现。错误信息:“SAE_Fatal_error: Uncaught exception 'SmartyException' with message 'unable to write file ./web/templates_c/wrt4e95555280ef1' ”SAE给出了解决方案就是使用Memcache。首 阅读全文
posted @ 2012-05-11 09:31 歪神weil 阅读(646) 评论(1) 推荐(1) 编辑