Home > Backend Development > PHP Tutorial > thinkphp3.1.3 内存有关问题

thinkphp3.1.3 内存有关问题

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-13 11:29:09
Original
919 people have browsed it

thinkphp3.1.3 内存问题

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 35 bytes) in E:\wamp\huike\ThinkPHP\Common\common.php on line 650

?

ini_set("memory_limit","12M");

?

//echo ini_get('display_errors');

?

?

define('APP_NAME','Index');//项目名称,非整个网站项目,此处是前台项目名称

define('APP_PATH','./Index/');//前端项目路径

define('RUNTIME_PATH','./Index/indexruntime/');//

require_once './ThinkPHP/ThinkPHP.php';

//echo C('username');

//define('APP_DEBUG',TRUE);

?

?

?>

添加?

ini_set("memory_limit","12M");

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Issues
Why thinkphp has better performance than laravel?
From 1970-01-01 08:00:00
0
0
0
ThinkPHP Why use composer?
From 1970-01-01 08:00:00
0
0
0
thinkphp versions supported by php6
From 1970-01-01 08:00:00
0
0
0
thinkphp upload files
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template