TShopping
標題:
cpanel Allowed memory size of X bytes exhausted (tried to
[打印本頁]
作者:
woff
時間:
2013-8-1 00:56
標題:
cpanel Allowed memory size of X bytes exhausted (tried to
cpanel 平台 今天遇到 網頁 APACHE 回應
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 71 bytes) in /home/fb/public_html/global.php on line 56
複製代碼
爬了一下完發現PHP問題
vi /usr/local/lib/php.ini
複製代碼
找到
memory_limit = 32M
複製代碼
改成
memory_limit = 128M
複製代碼
最後重啟APACHE
/etc/init.d/httpd restart
複製代碼
主要問題是因為SMARTY 的 CACHE 已經超過記憶體緩衝區32M的大小
把PHP的MEMORY改大就可以了
作者:
芳禾炳学
時間:
2014-6-18 16:34
这么好的帖子不顶就太对不起楼主了
歡迎光臨 TShopping (http://www.tshopping.com.tw/)
Powered by Discuz! X3.2