{"id":199252,"date":"2025-05-03T12:16:58","date_gmt":"2025-05-03T04:16:58","guid":{"rendered":"https:\/\/server.hk\/cnblog\/199252\/"},"modified":"2025-05-03T12:16:58","modified_gmt":"2025-05-03T04:16:58","slug":"%e8%a7%a3%e5%86%b3ecshop%e6%95%b0%e6%8d%ae%e6%81%a2%e5%a4%8d%e6%97%b6%e5%87%ba%e7%8e%b0%e9%94%99%e8%af%afallowed-memory","status":"publish","type":"post","link":"https:\/\/server.hk\/cnblog\/199252\/","title":{"rendered":"\u89e3\u51b3ecshop\u6570\u636e\u6062\u590d\u65f6\u51fa\u73b0\u9519\u8bef\u201cAllowed memory"},"content":{"rendered":"<p>&nbsp;ecshop\u7684\u540e\u53f0\u70b9\u8fd8\u539f\u6570\u636e\u5e93\u4e4b\u65f6\uff0c\u51fa\u73b0\u9519\u8bef <span style=\"font-family: Tahoma, Helvetica, SimSun, sans-serif, Hei;font-size: 12px;line-height: 18px\">\uff1aFatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 17816268 bytes) in D:\\&#8230;&#8230;\\admin\\database.php on line 631<\/span><\/p>\n<p>\u5982\u4f55\u5904\u7406\uff1f&nbsp;<\/p>\n<p>\u8fd9\u91cc\u597d\u6a21\u677f\u89e3\u51b3\u529e\u6cd5\uff1a<\/p>\n<p>\u627e\u5230\u6587\u4ef6<span style=\"font-family: Tahoma, Helvetica, SimSun, sans-serif, Hei;font-size: 12px;line-height: 18px\">admin\/database.php<\/span><\/p>\n<p>\u627e\u5230\u4ee3\u7801\uff1a<\/p>\n<pre>\n \n <ol>\n  \n  <li><span><span>@ini_set('memory_limit',&nbsp;'64M');&nbsp;<\/span><\/span><\/li>\n \n <\/ol><\/pre>\n<p>&nbsp;<\/p>\n<p>\u628a\u8fd9\u91cc\u7684 64M \u6539\u5927\u70b9\uff0c\u6bd4\u5982 640M<\/p>\n<p>&nbsp;<\/p>\n<pre>\n \n <ol>\n  \n  <li><span><span>@ini_set('memory_limit',&nbsp;'640M');&nbsp;<\/span><\/span><\/li>\n \n <\/ol><\/pre>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp;ecshop\u7684\u540e\u53f0\u70b9&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4925],"tags":[],"class_list":["post-199252","post","type-post","status-publish","format-standard","hentry","category-4925"],"_links":{"self":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/199252","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/comments?post=199252"}],"version-history":[{"count":0,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/199252\/revisions"}],"wp:attachment":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/media?parent=199252"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/categories?post=199252"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/tags?post=199252"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}