{"id":876,"date":"2017-12-27T22:36:33","date_gmt":"2017-12-27T13:36:33","guid":{"rendered":"https:\/\/hi3103.net\/notes\/?p=876"},"modified":"2022-07-09T23:33:32","modified_gmt":"2022-07-09T14:33:32","slug":"ewww-image-optimizer%e3%81%ae%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%a7%e3%83%8f%e3%83%9e%e3%81%a3%e3%81%9f","status":"publish","type":"post","link":"https:\/\/hi3103.net\/notes\/web\/876","title":{"rendered":"EWWW Image Optimizer\u3092\u6709\u52b9\u5316\u3059\u308b\u3068\u30a8\u30e9\u30fc\u304c\u51fa\u308b\u3068\u304d\u306e\u5bfe\u51e6\u6cd5"},"content":{"rendered":"<h3>\u75c7\u72b6<\/h3>\n<ul>\n<li>\u7ba1\u7406\u753b\u9762 &gt; \u30d7\u30e9\u30b0\u30a4\u30f3 \u304b\u3089\u300cEWWW Image Optimizer\u300d\u3092\u6709\u52b9\u5316\u3059\u308b\u3068\u30a8\u30e9\u30fc\u304c\u3067\u308b<br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/hi3103.net\/notes\/img\/uploads\/2017\/12\/ewww_error.png\" alt=\"EWWW Image Optimizer\u3092\u6709\u52b9\u5316\u3059\u308b\u3068\u30a8\u30e9\u30fc\u304c\u51fa\u308b\" width=\"777\" height=\"319\"  \/><\/li>\n<li>\u30c4\u30fc\u30eb\u30d5\u30a9\u30eb\u30c0\u304c\u4f5c\u308c\u306a\u3044<\/li>\n<\/ul>\n<blockquote>\n<p>EWWW Image Optimizer could not create the tool folder: \/home\/homepage\/public_html\/notes\/wp-content\/ewww\/. Please adjust permissions or create the folder.<\/p>\n<\/blockquote>\n<ul>\n<li>\u4f7f\u7528\u3059\u308b\u30d7\u30ed\u30b0\u30e9\u30e0\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u306a\u3044<\/li>\n<\/ul>\n<blockquote>\n<p>EWWW Image Optimizer uses jpegtran, optipng, pngout, pngquant, gifsicle, and cwebp. You are missing: jpegtran, optipng, gifsicle. Please install via the Settings Page or the Installation Instructions.<\/p>\n<\/blockquote>\n<p><!--more--><\/p>\n<ul>\n<li>\u4ee5\u4e0b\u306e\u6a29\u9650\u95a2\u4fc2\u306e\u8a2d\u5b9a\u3092\u5168\u90e8\u898b\u76f4\u3057\u3066\u307f\u305f\u304c\u30a8\u30e9\u30fc\u306f\u6d88\u3048\u305a\u3002\n<ul>\n<li>\u5404\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u30d1\u30fc\u30df\u30c3\u30b7\u30e7\u30f3\u30fb\u6240\u6709\u8005\u30fb\u30b0\u30eb\u30fc\u30d7\n<ul>\n<li>wp-content<\/li>\n<li>wp-content\/plugin<\/li>\n<li>\u30db\u30fc\u30e0\u30c7\u30a3\u30ec\u30af\u30c8\u30ea<\/li>\n<\/ul>\n<\/li>\n<li>\u30b5\u30fc\u30d0\u30fc\u5074\u3067\u8a2d\u5b9a\u3057\u305f\u30e6\u30fc\u30b6\u30fc\u3068\u6240\u5c5e\u30b0\u30eb\u30fc\u30d7<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h3>\u89e3\u6c7a\u65b9\u6cd5\uff1a\u4e0d\u8db3\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b<\/h3>\n<ul>\n<li>\u307e\u3055\u306b\u540c\u3058\u30a8\u30e9\u30fc\u306b\u906d\u9047\u3057\u3066\u3044\u308b\u65b9\u306e\u30a8\u30f3\u30c8\u30ea\u30fc\u306b\u884c\u304d\u7740\u3044\u305f\u306e\u3067\u3001\u4ee5\u4e0b\u3092\u53c2\u8003\u306b\u5b9f\u65bd\u3002\n<ul>\n<li><a href=\"http:\/\/shonoooo.hatenablog.com\/entry\/2017\/02\/04\/010624\">WordPress EWWW Image Optimizer \u30a8\u30e9\u30fc missing: optipng, gifsicle. Gmagick Imagick \u5b58\u5728\u3057\u307e\u305b\u3093\u306e\u5bfe\u51e6\u65b9\u6cd5 &#8211; \u672c\u539a\u6728\u306e\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0\u3067\u306f\u3042\u308b<\/a><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h4>optipng \u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h4>\n<pre><code># yum install optipng<\/code><\/pre>\n<h4>gifsicle \u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h4>\n<pre><code># yum install gifsicle<\/code><\/pre>\n<h4>ImageMagick \u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h4>\n<ul>\n<li>\u3042\u3089\u304b\u3058\u3081\u5fc5\u8981\u306a\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/li>\n<\/ul>\n<pre><code># yum install ImageMagick\n# yum install ImageMagick-devel<\/code><\/pre>\n<ul>\n<li>pecl\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u3048\u308b\u3088\u3046\u306b\u3059\u308b<\/li>\n<\/ul>\n<pre><code># yum install php-pear<\/code><\/pre>\n<ul>\n<li>pecl\u30b3\u30de\u30f3\u30c9\u3067imagick\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/li>\n<\/ul>\n<pre><code># pecl install imagick<\/code><\/pre>\n<ul>\n<li>\u4e0a\u8a18\u3092\u5b9f\u884c\u3057\u305f\u3089\u4ee5\u4e0b\u306e\u30a8\u30e9\u30fc\u304c\u51fa\u305f\u3002<\/li>\n<\/ul>\n<pre><code class=\"language-sh\">Parse error: syntax error, unexpected 'new' (T_NEW) in \/usr\/share\/pear\/PEAR\/Frontend.php on line 91<\/code><\/pre>\n<ul>\n<li>\u4ee5\u4e0b\u306e\u30a8\u30f3\u30c8\u30ea\u30fc\u3092\u53c2\u8003\u306b\u3001remi\u30ec\u30dd\u30b8\u30c8\u30ea\u306byum update\u3092\u304b\u3051\u3066\u307f\u308b\u3002\n<ul>\n<li><a href=\"http:\/\/d.hatena.ne.jp\/susan-style\/20110614\/1308001590\">CentOS\u306bimagemagick\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u65b9\u6cd5 &#8211; \u6e0b\u8c37\u306b\u4f4f\u3080WEB\u30c7\u30b6\u30a4\u30ca\u306e\u5099\u5fd8\u9332<\/a><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<pre><code class=\"language-sh\"># yum --enablerepo=remi-php71 update<\/code><\/pre>\n<ul>\n<li>\u518d\u5ea6\u4ee5\u4e0b\u3092\u5b9f\u884c \u2192\u901a\u3063\u305f\uff01<\/li>\n<\/ul>\n<pre><code># pecl install imagick<\/code><\/pre>\n<ul>\n<li>\u5b9f\u884c\u5f8c\u306b\u51fa\u3066\u304f\u308b\u4e0b\u8a18\u6587\u7ae0\u306f\u305d\u306e\u307e\u307ereturn<\/li>\n<\/ul>\n<pre><code>Please provide the prefix of ImageMagick installation [autodetect] :<\/code><\/pre>\n<ul>\n<li>php.ini\u3092\u7de8\u96c6<\/li>\n<\/ul>\n<pre><code># vi \/etc\/php.ini<\/code><\/pre>\n<ul>\n<li>\u4e00\u756a\u4e0b\u306b\u4ee5\u4e0b\u306e1\u6587\u3092\u8ffd\u8a18\u3057\u3066\u4fdd\u5b58<\/li>\n<\/ul>\n<pre><code>extension=imagick.so<\/code><\/pre>\n<ul>\n<li>Apache\u3092\u518d\u8d77\u52d5<\/li>\n<\/ul>\n<pre><code># systemctl restart httpd<\/code><\/pre>\n<ul>\n<li>imagick \u304c\u9069\u7528\u3055\u308c\u3066\u3044\u308b\u304b\u3092\u78ba\u8a8d<\/li>\n<\/ul>\n<pre><code># php -m | grep imagick\nimagick<\/code><\/pre>\n<h5>\u53c2\u8003\u8a18\u4e8b<\/h5>\n<ul>\n<li><a href=\"http:\/\/bashalog.c-brains.jp\/17\/10\/17-121319.php\">PHP\u3067\u306e\u753b\u50cf\u51e6\u7406\u3010ImageMagick\u7de8\u3011 | \u30d0\u30b7\u30e3\u30ed\u30b0\u3002<\/a><\/li>\n<\/ul>\n<h3>\u52d5\u4f5c\u78ba\u8a8d<\/h3>\n<ul>\n<li>\u4e00\u5ea6\u7121\u52b9\u306b\u3057\u305f\u3042\u3068\u3001\u518d\u5ea6\u6709\u52b9\u5316\u3092\u5b9f\u884c\u2192\u30a8\u30e9\u30fc\u304c\u6d88\u3048\u305f\u3002<\/li>\n<li>wp-content\u5185\u306b\u3082\u300cewww\u300d\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304c\u751f\u6210\u3055\u308c\u3066\u3044\u308b\u306e\u3092\u78ba\u8a8d\u3002<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u75c7\u72b6 \u7ba1\u7406\u753b\u9762 &gt; \u30d7\u30e9\u30b0\u30a4\u30f3 \u304b\u3089\u300cEWWW Image Optimizer\u300d\u3092\u6709\u52b9\u5316\u3059\u308b\u3068\u30a8\u30e9\u30fc\u304c\u3067\u308b \u30c4\u30fc\u30eb\u30d5\u30a9\u30eb\u30c0\u304c\u4f5c\u308c\u306a\u3044 EWWW Image Optimizer could not create th [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[53],"tags":[26,24,25],"class_list":["post-876","post","type-post","status-publish","format-standard","hentry","category-web","tag-centos7","tag-wordpress","tag-wordpress-plugin"],"_links":{"self":[{"href":"https:\/\/hi3103.net\/notes\/wp-json\/wp\/v2\/posts\/876","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hi3103.net\/notes\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hi3103.net\/notes\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hi3103.net\/notes\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hi3103.net\/notes\/wp-json\/wp\/v2\/comments?post=876"}],"version-history":[{"count":0,"href":"https:\/\/hi3103.net\/notes\/wp-json\/wp\/v2\/posts\/876\/revisions"}],"wp:attachment":[{"href":"https:\/\/hi3103.net\/notes\/wp-json\/wp\/v2\/media?parent=876"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hi3103.net\/notes\/wp-json\/wp\/v2\/categories?post=876"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hi3103.net\/notes\/wp-json\/wp\/v2\/tags?post=876"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}