严重错误:耗尽了268435456字节的允许的内存大小(尝试分配8192字节)

时间:2019-02-06 21:18:32

标签: php upload-max-filesize

  

致命错误:/ home / --- / domains / --- / public_html / --- / system / storage / cache / e0 / e04e1f01ecc413b48d48f7d0acd02b41afe20667628afe21e97945b89e1第51行上的php

当我在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

1 个答案:

答案 0 :(得分:0)

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

memory_limit = 256M

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