{"id":6140,"date":"2024-08-23T21:05:10","date_gmt":"2024-08-23T13:05:10","guid":{"rendered":"http:\/\/wordpress.jiyun.net\/?p=6140"},"modified":"2024-11-30T20:18:58","modified_gmt":"2024-11-30T12:18:58","slug":"%e5%ae%9d%e5%a1%94%e9%9d%a2%e6%9d%bf%e5%ae%89%e8%a3%85-easyimag-%e4%b8%80%e6%ac%be%e6%9c%80%e7%ae%80%e5%8d%95%e5%9b%be%e5%ba%8a%e7%9a%84%e5%ae%89%e8%a3%85%e4%bd%93%e9%aa%8c","status":"publish","type":"post","link":"http:\/\/puo.cn\/?p=6140","title":{"rendered":"\u5b9d\u5854\u9762\u677f\u5b89\u88c5 EasyImag \u2013 \u4e00\u6b3e\u6700\u7b80\u5355\u56fe\u5e8a\u7684\u5b89\u88c5\u4f53\u9a8c"},"content":{"rendered":"<p><a rel=\"nofollow\" title=\"\u67e5\u770b\u4e0e EasyImag \u76f8\u5173\u7684\u6587\u7ae0\" href=\"https:\/\/www.daniao.org\/tag\/easyimag\/\" target=\"_blank\" rel=\"noopener\"><span class=\"tag-key\">EasyImag<\/span><\/a>e\u652f\u6301\u591a\u6587\u4ef6\u4e0a\u4f20,\u7b80\u5355\u65e0\u6570\u636e\u5e93,\u5f00\u7bb1\u5373\u98df\uff0c\u53ef\u4ee5\u8fd4\u56deurl,markdown,bbscode,html\u7b49\u94fe\u63a5\u5f62\u5f0f\u3002\u8fd9\u4e2a\u56fe\u5e8a\u7684\u6700\u521d\u7248\u672c\u4e8e2018\u5e747\u6708\u53d1\u5e03\uff0c\u5982\u679c4\u5e74\u8fc7\u53bb\u4e86\uff0c\u4f5c\u8005\u8fd8\u5728\u66f4\u65b0\uff0c\u8fd9\u771f\u7684\u662f\u5f88\u4e0d\u5bb9\u6613\u7684\u4e8b\u60c5\u3002\u7531\u4e8e\u4e4b\u524d\u7684\u7248\u672c\u8fc7\u8001\u5e76\u4e14\u4f7f\u7528falsh\u4e0a\u4f20\uff0c\u5728\u5f53\u524dhtml5\u6d41\u884c\u5927\u52bf\u6240\u8d8b\u4e0b\uff0c\u4f5c\u8005\u91cd\u65b0\u65b0\u5199\u4e86\u4e00\u4e2a\u4ee5html5\u4e3a\u9ed8\u8ba4\u4e0a\u4f20\u5e76\u4e14\u652f\u6301flash,\u5411\u4e0b\u517c\u5bb9\u81f3IE9\u3002<\/p>\n<p>\u8fd9\u7bc7\u6587\u7ae0\u8fd8\u662f\u7528\u5b9d\u5854\u6765\u642d\u5efa\u8be5\u7a0b\u5e8f\uff0c\u5b9d\u5854\u670d\u52a1\u5668\u9762\u677f\uff0c\u4e00\u952e\u5168\u80fd\u90e8\u7f72\u53ca\u7ba1\u7406\uff0c\u9001\u4f603188\u5143\u793c\u5305\uff0c\u70b9\u6211\u9886\u53d6<a rel=\"nofollow\" href=\"https:\/\/www.daniao.org\/5821.html\" target=\"_blank\" rel=\"noopener\">https:\/\/www.bt.cn\/?invite_code=MV9ub2NxdmI=<\/a><\/p>\n<p>&nbsp;<\/p>\n<h4 id=\"0\" class=\"toch\">1\u3001\u7b80\u4ecb<\/h4>\n<p>\u9879\u76ee\uff1ahttps:\/\/github.com\/icret\/<a rel=\"nofollow\" title=\"\u67e5\u770b\u4e0e EasyImag \u76f8\u5173\u7684\u6587\u7ae0\" href=\"https:\/\/www.daniao.org\/tag\/easyimag\/\" target=\"_blank\" rel=\"noopener\"><span class=\"tag-key\">EasyImag<\/span><\/a>es2.0<\/p>\n<p>\u6f14\u793a\uff1ahttps:\/\/png.cm\/<\/p>\n<h4 id=\"1\" class=\"toch\">2\u3001\u51c6\u5907<\/h4>\n<p>\u4ee5\u4e0b\u662f\u672c\u6559\u7a0b\u51c6\u5907\u7684\u642d\u5efa\u73af\u5883\uff1a<\/p>\n<p>VPS\u4e00\u53f0\u8fd9\u91cc\u7528\u7684\u662fRackNerd\u7684vps:<a rel=\"nofollow\" href=\"https:\/\/www.daniao.org\/15415.html\" target=\"_blank\" rel=\"noopener\">https:\/\/www.daniao.org\/15415.html<\/a><\/p>\n<p><a rel=\"nofollow\" title=\"\u67e5\u770b\u4e0e \u5b9d\u5854\u9762\u677f \u76f8\u5173\u7684\u6587\u7ae0\" href=\"https:\/\/www.daniao.org\/tag\/%e5%ae%9d%e5%a1%94%e9%9d%a2%e6%9d%bf\/\" target=\"_blank\" rel=\"noopener\"><span class=\"tag-key\">\u5b9d\u5854\u9762\u677f<\/span><\/a><\/p>\n<p>PHP7.4\uff08PHP &gt;= 5.6\uff0c\u5b89\u88c5\u597dFileinfo\u6269\u5c55\uff09<\/p>\n<p>nginx1.21<\/p>\n<p>\u57df\u540d\u51c6\u5907\u4e00\u4e2a<\/p>\n<p>&nbsp;<\/p>\n<h4 id=\"2\" class=\"toch\">3\u3001\u90e8\u7f72<\/h4>\n<p>1\uff09\u65b0\u5efa\u4e00\u4e2a\u7f51\u7ad9\uff0c\u5b9d\u5854\u5982\u4f55\u5efa\u7ad9\u7565\u8fc7<\/p>\n<p>2\uff09\u4e0b\u8f7d\u7a0b\u5e8f\uff0c\u5982\u679c\u662f<a rel=\"nofollow\" title=\"\u67e5\u770b\u4e0e \u5b9d\u5854\u9762\u677f \u76f8\u5173\u7684\u6587\u7ae0\" href=\"https:\/\/www.daniao.org\/tag\/%e5%ae%9d%e5%a1%94%e9%9d%a2%e6%9d%bf\/\" target=\"_blank\" rel=\"noopener\"><span class=\"tag-key\">\u5b9d\u5854\u9762\u677f<\/span><\/a>\u7528\u6237\u53ef\u4ee5\u7528\u5b9d\u5854\u81ea\u5e26\u7684\u8fdc\u7a0b\u4e0b\u8f7d\u6765\u5b9e\u73b0\u3002\u4e4b\u540e\u89e3\u538b\uff0c\u590d\u5236\u5230\u7f51\u7ad9\u7684\u6839\u76ee\u5f55\uff0c\u5e76\u5220\u9664.user.ini\uff0c\u76f4\u63a5\u5220\u9664\u5373\u53ef\u3002<\/p>\n<p>3\uff09\u6d4f\u89c8\u5668\u8f93\u5165\u57df\u540d\u8bbf\u95ee\uff0c\u4f1a\u8df3\u51faEasyIamge 2.0 \u5b89\u88c5\u73af\u5883\u68c0\u6d4b\uff0c\u5982\u56fe\uff1a<\/p>\n<p>4\uff09\u4e0b\u4e00\u6b65\u540e\uff0c\u8f93\u5165\u4f60\u7684\u57df\u540d\uff0c\u7ba1\u7406\u5458\u8d26\u53f7\u7b49\uff0c\u5982\u56fe\uff1a<\/p>\n<p>5\uff09\u5b89\u88c5\u5b8c\u6210\uff0c\u4e4b\u540e\u53ef\u4ee5\u7528\u7528\u6237\u540d\u548c\u5bc6\u7801\u8bbf\u95ee\u540e\u53f0\u3002\u8fdb\u5165\u540e\u53f0\u540e\uff0c\u53ef\u4ee5\u81ea\u884c\u4fee\u6539\u4e00\u4e9btdk\u7b49\u3002<\/p>\n<p>6\uff09\u7b2c\u4e00\u6b21\u8bbf\u95ee\u524d\u53f0\u4f1a\u6709\u4e00\u4e2a\u73af\u5883\u68c0\u6d4b\u63d0\u9192\u5982\u56fe\uff0c\u8fd9\u4e2a\u81ea\u5df1\u6309\u7167\u8bf4\u660e\u6765\u505a\u3002<\/p>\n<h4 id=\"3\" class=\"toch\">4\u3001\u7b80\u5355\u4f7f\u7528<\/h4>\n<p>\u4ee5\u4e0a\u5c31\u7b97\u662f\u628a\u56fe\u5e8a\u642d\u5efa\u6210\u529f\u4e86\uff0c\u73b0\u5728\u6765\u7b80\u5355\u63d0\u73b0\u4e00\u756a\uff0c\u7b80\u5355\u770b\u4e2a\u56fe\u5427\u3002<\/p>\n<h4 id=\"4\" class=\"toch\">5\u3001\u6700\u540e<\/h4>\n<p>1\uff09\u7a0b\u5e8f\u5347\u7ea7<\/p>\n<ul dir=\"auto\">\n<li>\u5907\u4efd<code>config<\/code>(\u6ca1\u6709\u589e\u52a0\u4e0a\u4f20\u7528\u6237\u548capi\u53ef\u4ee5\u53ea\u4fdd\u7559<code>config.php<\/code>\u6587\u4ef6)\u76ee\u5f55\u548c<code>\u4e0a\u4f20\u76ee\u5f55<\/code><\/li>\n<li>\u5c06\u65b0\u7a0b\u5e8f\u4e0b\u8f7d\u81f3\u7f51\u7ad9\u76ee\u5f55\u89e3\u538b\u8986\u76d6\uff0c\u7136\u540e\u5c06\u5907\u4efd\u7684\u6587\u4ef6\u66ff\u6362\u65e2\u5b8c\u6210\u5347\u7ea7<\/li>\n<\/ul>\n<p>2\uff09\u5b89\u5168\u914d\u7f6e<\/p>\n<ul dir=\"auto\">\n<li>Apache\u73af\u5883\u5728\u4e0a\u4f20\u76ee\u5f55\u6dfb\u52a0\u914d\u7f6e\u6587\u4ef6<code>.htaccess<\/code>\u00a0\u4f7f\u4e0a\u4f20\u76ee\u5f55\u4e0d\u53ef\u8fd0\u884cPHP\u7a0b\u5e8f\uff08\u9ed8\u8ba4\u5df2\u7ecf\u5b58\u5728)<\/li>\n<\/ul>\n<div>\n<div class=\"codebox\">\n<div class=\"btn-clipboard bgt\" title=\"Copy\"><\/div>\n<ol class=\"linenums\">\n<li class=\"L0\"><span class=\"tag\">&lt;FilesMatch<\/span> <span class=\"atv\">&#8220;.(?i:php|php3|php4|php5)&#8221;<\/span><span class=\"tag\">&gt;<\/span><\/li>\n<li class=\"L1\"><span class=\"pln\">Order allow,deny<\/span><\/li>\n<li class=\"L2\"><span class=\"pln\">Deny from all<\/span><\/li>\n<li class=\"L3\"><span class=\"tag\">&lt;\/FilesMatch&gt;<\/span><\/li>\n<\/ol>\n<\/div>\n<\/div>\n<ul dir=\"auto\">\n<li>Nginx\u73af\u5883\u7981\u6b62\u591a\u4e2a\u76ee\u5f55\u8fd0\u884c<code>PHP<\/code>\u7a0b\u5e8f\uff1a<\/li>\n<\/ul>\n<div>\n<div class=\"codebox\">\n<div class=\"btn-clipboard bgt\" title=\"Copy\"><\/div>\n<ol class=\"linenums\">\n<li class=\"L0\"><span class=\"com\"># &#8220;i|public&#8221;\u662f\u4f60\u8981\u7981\u6b62\u7684\u76ee\u5f55 \u653e\u5230listen\u6bb5\u843d\u4e4b\u540e\u624d\u751f\u6548<\/span><\/li>\n<li class=\"L1\"><span class=\"pln\"> location <\/span><span class=\"pun\">~*<\/span> <span class=\"pun\">^<\/span><span class=\"str\">\/(i|public)\/<\/span><span class=\"pun\">.*<\/span><span class=\"pln\">.<\/span><span class=\"pun\">(<\/span><span class=\"pln\">php<\/span><span class=\"pun\">|<\/span><span class=\"pln\">php5<\/span><span class=\"pun\">)<\/span><span class=\"pln\">$<\/span><\/li>\n<li class=\"L2\"><span class=\"pun\">{<\/span><\/li>\n<li class=\"L3\"><span class=\"pln\"> deny all<\/span><span class=\"pun\">;<\/span><\/li>\n<li class=\"L4\"><span class=\"pun\">}<\/span><\/li>\n<\/ol>\n<\/div>\n<\/div>\n<ul dir=\"auto\">\n<li>Lighthttpd\u73af\u5883\u7981\u6b62\u591a\u4e2a\u76ee\u5f55\u8fd0\u884c<code>PHP<\/code>\u7a0b\u5e8f\uff1a<\/li>\n<\/ul>\n<div>\n<div class=\"codebox\">\n<div class=\"btn-clipboard bgt\" title=\"Copy\"><\/div>\n<ol class=\"linenums\">\n<li class=\"L0\"><span class=\"pln\">$HTTP<\/span><span class=\"pun\">[<\/span><span class=\"str\">&#8220;url&#8221;<\/span><span class=\"pun\">]<\/span> <span class=\"pun\">=~<\/span> <span class=\"str\">&#8220;^\/(i|public)\/&#8221;<\/span> <span class=\"pun\">{<\/span><\/li>\n<li class=\"L1\"><span class=\"pln\"> fastcgi<\/span><span class=\"pun\">.<\/span><span class=\"pln\">server <\/span><span class=\"pun\">=<\/span> <span class=\"pun\">()<\/span><\/li>\n<li class=\"L2\"><span class=\"pun\">}<\/span><\/li>\n<\/ol>\n<\/div>\n<\/div>\n<p>3\uff09\u4f7f\u7528\u6ce8\u610f<\/p>\n<ol dir=\"auto\">\n<li>\u8bf7\u5c06\u6240\u6709\u6587\u4ef6\u8d4b\u4e88<code>0755<\/code>\u548c<code>www<\/code>\u6743\u9650<\/li>\n<li>\u5bf9<code>PHP<\/code>\u4e0d\u592a\u719f\u6089\u7684\u8bf7\u4e0d\u8981\u5c06<a rel=\"nofollow\" title=\"\u67e5\u770b\u4e0e \u56fe\u5e8a\u7a0b\u5e8f \u76f8\u5173\u7684\u6587\u7ae0\" href=\"https:\/\/www.daniao.org\/tag\/%e5%9b%be%e5%ba%8a%e7%a8%8b%e5%ba%8f\/\" target=\"_blank\" rel=\"noopener\"><span class=\"tag-key\">\u56fe\u5e8a\u7a0b\u5e8f<\/span><\/a>\u653e\u7f6e\u4e8e\u4e8c\u7ea7\u76ee\u5f55<\/li>\n<li>\u8bf7\u5173\u95ed\u9632\u8de8\u7ad9\u6216\u5220\u9664\u57df\u540d\u6587\u4ef6\u5939\u5185\u7684<code>user.ini<\/code>\u6587\u4ef6 \u5982\u5b9d\u5854\u9762\u677f<\/li>\n<li>\u7f51\u7ad9\u57df\u540d\u4e0e\u56fe\u7247\u57df\u540d\u5fc5\u987b\u586b\u5199\uff0c\u5982\u679c\u53ea\u6709\u4e00\u4e2a\u57df\u540d\u8bf7\u586b\u5199\u6210\u4e00\u6837\u7684<\/li>\n<li>\u7b2c\u4e00\u6b21\u4f7f\u7528\u4f1a\u6267\u884c\u5b89\u88c5\u7a0b\u5e8f\u5e76\u751f\u6210<code>install.lock<\/code>\u00a0\u4e0d\u6267\u884c\u5b89\u88c5\u53ef\u4ee5\u5220\u9664<code>install<\/code>\u76ee\u5f55<\/li>\n<li>\u7b2c\u4e00\u6b21\u8bbf\u95ee\u4f1a\u68c0\u67e5\u73af\u5883\u5e76\u5728<code>config<\/code>\u76ee\u5f55\u4e0b\u751f\u6210<code>EasyImage.lock<\/code><\/li>\n<li>\u53ef\u4ee5\u4f7f\u7528\u8c37\u6b4c\u6d4f\u89c8\u5668\u7684\u8c03\u8bd5\u6a21\u5f0f\u67e5\u770b\u9519\u8bef<code>F12-&gt;console<\/code><\/li>\n<li>\u51fa\u73b0<code>undefined function imagecreatefromwebp()<\/code>\u662f\u56e0\u4e3aGD\u6ca1\u5b89\u88c5webp<\/li>\n<li>\u51fa\u73b0<code>upload File size exceeds the maximum value<\/code>\u00a0\u8c03\u6574<code>PHP<\/code>\u4e0a\u4f20\u5927\u5c0f<\/li>\n<li>\u51fa\u73b0<code>Warning: is_dir(): open_basedir restriction in effect<\/code>\u89e3\u51b3\u65b9\u6cd5\u540c<code>3<\/code><\/li>\n<li>\u51fa\u73b0<code>Fatal error: Allowed memory size......<\/code>\u4e3b\u673a\u5185\u5b58\u6216\u5206\u914d\u7ed9PHP\u7684\u5185\u5b58\u4e0d\u591f \u89e3\u51b3\u65b9\u6cd5\u767e\u5ea6<\/li>\n<li>\u4e0d\u51fa\u9a8c\u8bc1\u7801: \u6743\u9650\u95ee\u9898\u89c1\u95ee\u98981 CDN\u7f13\u5b58\u4e86\/\u5f00\u9632\u706b\u5899\u4e86<\/li>\n<\/ol>\n<p>https:\/\/www.daniao.org\/5422.html<\/p>\n","protected":false},"excerpt":{"rendered":"<p>EasyImage\u652f\u6301\u591a\u6587\u4ef6\u4e0a\u4f20,\u7b80\u5355\u65e0\u6570\u636e\u5e93,\u5f00\u7bb1\u5373\u98df\uff0c\u53ef\u4ee5\u8fd4\u56deurl,markdown,bbscode,html\u7b49\u94fe\u63a5\u5f62\u5f0f\u3002\u8fd9\u4e2a\u56fe\u5e8a\u7684\u6700\u521d\u7248\u672c\u4e8e2018\u5e747\u6708\u53d1\u5e03\uff0c\u5982\u679c4\u5e74\u8fc7\u53bb\u4e86\uff0c\u4f5c\u8005\u8fd8\u5728\u66f4\u65b0\uff0c\u8fd9\u771f\u7684\u662f\u5f88\u4e0d\u5bb9\u6613\u7684\u4e8b\u60c5\u3002\u7531\u4e8e\u4e4b\u524d\u7684\u7248\u672c\u8fc7\u8001&#8230;<\/p>\n","protected":false},"author":1,"featured_media":6145,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[136],"tags":[],"topic":[],"class_list":["post-6140","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-136"],"_links":{"self":[{"href":"http:\/\/puo.cn\/index.php?rest_route=\/wp\/v2\/posts\/6140","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/puo.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/puo.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/puo.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/puo.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6140"}],"version-history":[{"count":1,"href":"http:\/\/puo.cn\/index.php?rest_route=\/wp\/v2\/posts\/6140\/revisions"}],"predecessor-version":[{"id":644011,"href":"http:\/\/puo.cn\/index.php?rest_route=\/wp\/v2\/posts\/6140\/revisions\/644011"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/puo.cn\/index.php?rest_route=\/"}],"wp:attachment":[{"href":"http:\/\/puo.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6140"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/puo.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6140"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/puo.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6140"},{"taxonomy":"topic","embeddable":true,"href":"http:\/\/puo.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftopic&post=6140"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}