-2

致命错误:/home/---/domains/---/public_html/---/system/storage/cache/e0/e04e1f01ecc413b48d48f7d0acd02b41afe20667628afe21e97945b89e1c590a.php 中允许的内存大小为 268435456 字节(尝试分配 8192 字节) 51

当我在 controller/common/header.php 中加载它时,我遇到了这个错误:

$this->load->controller("account/login");

我的 php.ini:

magic_quotes_gpc = Off
register_globals = Off
default_charset = UTF-8
memory_limit = 64M
max_execution_time = 36000
upload_max_filesize = 999M
post_max_size=999M
safe_mode = Off
mysql.connect_timeout = 20
session.auto_start = Off
session.use_only_cookies = On
session.use_cookies = On
session.use_trans_sid = Off
session.cookie_httponly = On
session.gc_maxlifetime = 3600
allow_url_fopen = On
;display_errors = 1
;error_reporting = E_ALL
4

1 回答 1

1

请尝试将内存限制设置得更高。

memory_limit = 256M

比重新加载你的网络服务器。

于 2019-02-06T21:25:06.307 回答