{"id":59,"date":"2023-06-05T13:06:35","date_gmt":"2023-06-05T05:06:35","guid":{"rendered":"http:\/\/pro369.com\/linux\/?p=59"},"modified":"2019-04-21T08:49:00","modified_gmt":"2019-04-21T08:49:00","slug":"%e4%bd%bf%e7%94%a8centos-6-%e5%a6%82%e4%bd%95%e5%ae%89%e8%a3%9d-php-gd2-%e5%9c%96%e7%89%87%e5%8a%9f%e8%83%bd-%e5%bb%b6%e4%bc%b8%e5%a5%97%e4%bb%b6%ef%bc%9f","status":"publish","type":"post","link":"https:\/\/por.tw\/linux\/%e4%bd%bf%e7%94%a8centos-6-%e5%a6%82%e4%bd%95%e5%ae%89%e8%a3%9d-php-gd2-%e5%9c%96%e7%89%87%e5%8a%9f%e8%83%bd-%e5%bb%b6%e4%bc%b8%e5%a5%97%e4%bb%b6%ef%bc%9f\/","title":{"rendered":"\u4f7f\u7528CentOS 6  \u5982\u4f55\u5b89\u88dd PHP GD2 \u5716\u7247\u529f\u80fd \u5ef6\u4f38\u5957\u4ef6\uff1f"},"content":{"rendered":"<p><font size=\"3\"><strong><font color=\"#008000\">\u5728CentOS 6&nbsp; \u5982\u4f55\u5b89\u88dd PHP GD2 \u5716\u7247\u529f\u80fd \u5ef6\u4f38\u5957\u4ef6\u5462\uff1f<\/font><br \/> <font color=\"#FF00FF\">\u4ee5\u4e0b\u662f\u7db2\u53cb\u7684\u554f\u984c\uff1a<\/font><\/strong><br \/> &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br \/> <font color=\"#0000FF\"><strong>\u4e3b\u6a5f\u7cfb\u7d71\u662f CentOS 6<br \/> \u5728\u5b89\u88fd xoops-2.5.4 \u6642\uff0c\u5728\u5b89\u88dd\u756b\u9762\u51fa\u73fe\uff1a<br \/> <font color=\"#800000\">\u5efa\u8b70\u555f\u7528\u7684\u5ef6\u4f38\u5957\u4ef6<br \/> \u4ee5\u4e0b\u5169\u500b\u662f\u6c92\u6709\u5b89\u88dd\u548c\u555f\u7528<br \/> \u5b89\u88dd\u5b57\u7b26\u96c6\u7de8\u78bc\u5ef6\u4f38\u5957\u4ef6<br \/> \u5716\u7247\u529f\u80fd\u5ef6\u4f38\u5957\u4ef6<\/font><\/p>\n<p> \u8acb\u554f\u8981\u600e\u9ebc\u5b89\u88dd\uff1f<\/strong><\/font><\/font><br \/> &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br \/> <strong><font color=\"#800080\">\u56de\u8986\uff1aCentOS 6&nbsp; \u5b89\u88dd PHP GD2 \u5716\u7247\u529f\u80fd \u5ef6\u4f38\u5957\u4ef6<\/font><br \/> <font color=\"#FF0000\">\u65b9\u6cd5\u5982\u4e0b\uff1a<\/font><\/strong><br \/> 1.CentOS\u5b89\u88ddPHP GD<br \/> \u4f7f\u7528\u300e\u7d42\u7aef\u6a5f\u300f\u57f7\u884c\uff1a<br \/> &nbsp;yum -y install php-gd<\/p>\n<p> 2.\u4fee\u6b63 yum bug &nbsp;<br \/> \u4f7f\u7528\u300e\u7d42\u7aef\u6a5f\u300f\u57f7\u884c\uff1a<br \/> &nbsp;yum clean all<br \/> &nbsp;&nbsp; &nbsp;<br \/> &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br \/> linux php \u5716\u7247\u529f\u80fd \u5ef6\u4f38\u5957\u4ef6<\/p>\n<p> \u662f\u5b89\u88dd\u4e86 php-gd \u53ef\u4ee5\u4e0b\u6307\u4ee4<\/p>\n<p> yum -y install php-gd<\/p>\n<p> \u5b89\u88dd\u597d\u5f8c\uff0c\u91cd\u65b0\u555f\u52d5 httpd \u5c31 ok \u4e86<\/p>\n<p> &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br \/> \u5b89\u88dd\u5b8c\u5f8c. \u6216\u662f\u5df2\u5b89\u88dd\u5f8c. \u9700\u8981\u5230 php.ini \u4e2d .<\/p>\n<p> \u52a0\u5165\u4e00\u884c<br \/> extension=gd.so<\/p>\n<p> \u5c07gd \u555f\u52d5\u5373\u53ef .<br \/> &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5728CentOS 6&nbsp; \u5982\u4f55\u5b89\u88dd PHP GD2 \u5716\u7247\u529f\u80fd \u5ef6\u4f38\u5957\u4ef6\u5462\uff1f \u4ee5\u4e0b\u662f\u7db2\u53cb\u7684\u554f\u984c\uff1a &#038;#82 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":487,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[21],"class_list":["post-59","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux","tag-linux"],"_links":{"self":[{"href":"https:\/\/por.tw\/linux\/wp-json\/wp\/v2\/posts\/59"}],"collection":[{"href":"https:\/\/por.tw\/linux\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/por.tw\/linux\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/por.tw\/linux\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/por.tw\/linux\/wp-json\/wp\/v2\/comments?post=59"}],"version-history":[{"count":0,"href":"https:\/\/por.tw\/linux\/wp-json\/wp\/v2\/posts\/59\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/por.tw\/linux\/wp-json\/wp\/v2\/media\/487"}],"wp:attachment":[{"href":"https:\/\/por.tw\/linux\/wp-json\/wp\/v2\/media?parent=59"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/por.tw\/linux\/wp-json\/wp\/v2\/categories?post=59"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/por.tw\/linux\/wp-json\/wp\/v2\/tags?post=59"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}