3.2 Allowed memory 内存错误

浏览:1697 发布日期:2014/01/13 分类:求助交流
PHP Version 5.4.9
没有写任何多余的代码下载官方3.2包
把IndexController.class.php里面的index方法改成:
function index(){
$this->display();
}
View/Index/index.html 代码如下:
asdfsadf
<include file="Index/test"/>

View/Index/test.html 代码如下:

testtest

运行:
Allowed memory size of 134217728 bytes exhausted (tried to allocate 4169240017 bytes)
错误位置
FILE: /media/raid10/htdocs/xxx.com/ThinkPHP/Library/Think/Template.class.php  LINE: 423
ThinkPHP3.2.0 { Fast & Simple OOP PHP framework } -- [ WE CAN DO IT JUST THINK ]

把include标签去掉正常,测试使用Widget也一样提示内存错误。
最佳答案
评论() 相关
后面还有条评论,点击查看>>