{"id":208,"date":"2015-08-27T22:35:58","date_gmt":"2015-08-27T14:35:58","guid":{"rendered":"https:\/\/drho.club\/?p=208"},"modified":"2015-08-27T22:35:58","modified_gmt":"2015-08-27T14:35:58","slug":"centos-7-imagick-installation","status":"publish","type":"post","link":"https:\/\/104.es\/index.php\/2015\/08\/27\/centos-7-imagick-installation\/","title":{"rendered":"\u5728CentOS 7\u5b89\u88ddImagick"},"content":{"rendered":"<p>\u6bd4\u8d77MP4Box\uff0cImagick\u5012\u662f\u975e\u5e38\u597d\u5b89\u88dd\uff0c\u4e3b\u8981\u662f\u56e0\u70bayum\u6709\u652f\u63f4\uff0c\u76f4\u63a5\u5b89\u88dd\u5373\u53ef\u3002\u6b65\u9a5f\u5982\u4e0b\uff1a\uff08\u7576\u7136\u9084\u662f\u8981\u7528root\u6b0a\u9650\u4f86\u5b89\u88dd\u56c9\uff09<\/p>\n<p>[code]<br \/>\nyum install php-pear php-devel<br \/>\nyum install ImageMagick*<br \/>\npecl install Imagick<br \/>\n[\/code]<\/p>\n<p>\u5728\u5b89\u88dd\u5b8c\u7562\u4e4b\u5f8c\uff0c\u5225\u5fd8\u4e86\u9084\u8981\u628a\u4ee5\u4e0b\u9019\u4e00\u884c\u52a0\u5230php.ini\u4e2d\uff08\u4efb\u4f55\u4e00\u500b\u5730\u65b9\u5747\u53ef\uff09<\/p>\n<p>[code]<br \/>\nextension=imagick.so<br \/>\n[\/code]<\/p>\n<p>\u7136\u5f8c\uff0c\u9084\u8981\u518d\u91cd\u65b0\u555f\u52d5 httpd \u4f3a\u670d\u5668\u624d\u884c\uff1a<\/p>\n<p>[code]<br \/>\nservice httpd restart<br \/>\n[\/code]<\/p>\n<p>\u6700\u5f8c\uff0c\u518d\u5229\u7528\u4e0b\u5217\u7684\u6307\u4ee4\u6aa2\u67e5\u662f\u5426\u5b89\u88dd\u5b8c\u6210\uff1a<\/p>\n<p>[code]<br \/>\nphp -i | grep Imagick -i<br \/>\n[\/code]<\/p>\n<p>\u8981\u6709\u770b\u5230\u4e00\u4e9bImagick\u7684\u5167\u5bb9\u5217\u51fa\u4f86\u624d\u7b97\u5b8c\u6210\u5b89\u88dd\u5594\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6bd4\u8d77MP4Box\uff0cImagick\u5012\u662f\u975e\u5e38\u597d\u5b89\u88dd\uff0c\u4e3b\u8981\u662f\u56e0\u70bayum\u6709\u652f\u63f4\uff0c\u76f4\u63a5\u5b89\u88dd\u5373\u53ef\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[95],"tags":[116,121,129],"class_list":["post-208","post","type-post","status-publish","format-standard","hentry","category-clipbucket","tag-centos-7","tag-clipbucket","tag-imagick"],"jetpack_featured_media_url":"","jetpack-related-posts":[],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/104.es\/index.php\/wp-json\/wp\/v2\/posts\/208","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/104.es\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/104.es\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/104.es\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/104.es\/index.php\/wp-json\/wp\/v2\/comments?post=208"}],"version-history":[{"count":0,"href":"https:\/\/104.es\/index.php\/wp-json\/wp\/v2\/posts\/208\/revisions"}],"wp:attachment":[{"href":"https:\/\/104.es\/index.php\/wp-json\/wp\/v2\/media?parent=208"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/104.es\/index.php\/wp-json\/wp\/v2\/categories?post=208"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/104.es\/index.php\/wp-json\/wp\/v2\/tags?post=208"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}