thinkphp3.1.3 内存有关问题

WBOY
Release: 2016-06-13 12:42:23
Original
921 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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!