{"id":94,"date":"2023-06-05T12:49:06","date_gmt":"2023-06-05T04:49:06","guid":{"rendered":"http:\/\/pro369.com\/php\/?p=94"},"modified":"2019-04-11T10:27:08","modified_gmt":"2019-04-11T10:27:08","slug":"%e8%a7%a3%e6%b1%ba%ef%bc%9a%e5%9f%b7%e8%a1%8c%e7%a8%8b%e5%bc%8f%e7%99%bc%e7%94%9f%e8%a8%98%e6%86%b6%e9%ab%94%e4%b8%8d%e8%b6%b3%e8%a7%a3%e6%b1%ba%e6%96%b9%e6%b3%95-fatal-error","status":"publish","type":"post","link":"https:\/\/por.tw\/php\/%e8%a7%a3%e6%b1%ba%ef%bc%9a%e5%9f%b7%e8%a1%8c%e7%a8%8b%e5%bc%8f%e7%99%bc%e7%94%9f%e8%a8%98%e6%86%b6%e9%ab%94%e4%b8%8d%e8%b6%b3%e8%a7%a3%e6%b1%ba%e6%96%b9%e6%b3%95-fatal-error\/","title":{"rendered":"\u89e3\u6c7a\uff1a\u57f7\u884c\u7a0b\u5f0f\u767c\u751f\u8a18\u61b6\u9ad4\u4e0d\u8db3\u89e3\u6c7a\u65b9\u6cd5 Fatal error"},"content":{"rendered":"<p><span style=\"font-size: medium;\"><strong style=\"background-color: #ffff00;\">\u89e3\u6c7a\uff1a\u57f7\u884c\u7a0b\u5f0f\u767c\u751f\u8a18\u61b6\u9ad4\u4e0d\u8db3\u89e3\u6c7a\u65b9\u6cd5 Fatal error<\/strong><\/span><br \/>\n<span style=\"color: #ff0000;\"><strong>\u7db2\u9801\u958b\u555f\u5f8c\u51fa\u73fe\u9019\u6a23\u7684\u5b57\u4e32\uff1a<\/strong><\/span>Fatal error: Allowed memory size of 16789338 bytes exhausted<br \/>\n\u9019\u662f\u56e0\u70ba\uff1aphp \u57f7\u884c\u7a0b\u5f0f\u767c\u751f\u8a18\u61b6\u9ad4\u4e0d\u8db3\u89e3\u6c7a\u65b9\u6cd5 Fatal error: Allowed memory size of 16789338 bytes exhausted<br \/>\n\u5728php.ini \u6587\u4ef6\u88e1\u628amemory_limit = 16M\u9019\u500b\u6578\u503c\u8abf\u5927\uff0c\u4f8b\u5982\u4fee\u6539\u621032M\u6216\u66f4\u5927\u3002<br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/visdacom.com\/php\/wp-content\/uploads\/2019\/04\/PHP-Website-Design-12-650x433.jpg\" alt=\"\" class=\"alignnone size-medium wp-image-394\" width=\"650\" height=\"433\" \/><br \/>\n\u4eca\u5929\u7e3d\u6559\u982d\u5728\u6b64\u63d0\u4f9b\u4e00\u500b\u66f4\u597d\u7684\u89e3\u6c7a\u65b9\u6cd5\uff0c\u53ea\u8981\u76f4\u63a5\u5728php\u7a0b\u5f0f\u4e2d\u8a2d\u5b9a<br \/>\n(\u7576\u7136\uff1a\u8a18\u61b6\u9ad4\u5927\u5c0f\u53ef\u8996\u9700\u6c42\uff0c\u8a18\u5f97\u8981\u653e\u5728\u6574\u500b\u7a0b\u5f0f\u7684\u524d\u9762)\u5c31\u53ef\u4ee5\u4e86<br \/>\n&lt;?php<br \/>\nini_set(\u2018memory_limit\u2019,&#8217;128m\u2019);<br \/>\n?&gt;<br \/>\n<span style=\"color: #0000ff;\"><strong><span style=\"color: #008000;\">\u9019\u500b\u65b9\u6cd5\u662f\u5728php\u7a0b\u5f0f\u4e0a\u52d5\u614b\u8a2d\u5b9amemory\uff0c\u4e0d\u6703\u52d5\u5230PHP\u7684\u5168\u57df\u8b8a\u6578\u8a2d\u5b9a\u3002<\/span><br \/>\n\u99ac\u4e0a\u53ef\u4ee5\u89e3\u6c7a\u57f7\u884c\u7a0b\u5f0f\u767c\u751f\u8a18\u61b6\u9ad4\u4e0d\u8db3\u89e3\u6c7a\u65b9\u6cd5 Fatal error&#8230;&#8230;&#8230;&#8230;&#8230;<\/strong><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u89e3\u6c7a\uff1a\u57f7\u884c\u7a0b\u5f0f\u767c\u751f\u8a18\u61b6\u9ad4\u4e0d\u8db3\u89e3\u6c7a\u65b9\u6cd5 Fatal error \u7db2\u9801\u958b\u555f\u5f8c\u51fa\u73fe\u9019\u6a23\u7684\u5b57\u4e32\uff1aFatal error [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":394,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[22],"class_list":["post-94","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-php","tag-php"],"_links":{"self":[{"href":"https:\/\/por.tw\/php\/wp-json\/wp\/v2\/posts\/94"}],"collection":[{"href":"https:\/\/por.tw\/php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/por.tw\/php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/por.tw\/php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/por.tw\/php\/wp-json\/wp\/v2\/comments?post=94"}],"version-history":[{"count":0,"href":"https:\/\/por.tw\/php\/wp-json\/wp\/v2\/posts\/94\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/por.tw\/php\/wp-json\/wp\/v2\/media\/394"}],"wp:attachment":[{"href":"https:\/\/por.tw\/php\/wp-json\/wp\/v2\/media?parent=94"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/por.tw\/php\/wp-json\/wp\/v2\/categories?post=94"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/por.tw\/php\/wp-json\/wp\/v2\/tags?post=94"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}