{"id":3577,"date":"2016-03-13T08:32:32","date_gmt":"2016-03-12T23:32:32","guid":{"rendered":"https:\/\/160.16.84.155\/wordpress\/?p=3577"},"modified":"2016-03-12T21:54:00","modified_gmt":"2016-03-12T12:54:00","slug":"php%e3%82%925-4%e3%81%8b%e3%82%895-6%e3%81%ab","status":"publish","type":"post","link":"https:\/\/ephemeral-arcadia.jp\/passo_wp\/2016\/03\/php%e3%82%925-4%e3%81%8b%e3%82%895-6%e3%81%ab.html","title":{"rendered":"PHP\u30925.4\u304b\u30895.6\u306b"},"content":{"rendered":"<p>VPS(CentOS)\u306b\u3066\u3044\u304f\u3064\u304b\u81ea\u4f5c\u306ePHP\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u52d5\u304b\u3057\u3066\u3044\u307e\u3059\u3002<br \/>\n\u4eca\u307e\u3067\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u306f\u4f7f\u3063\u3066\u3044\u306a\u304b\u3063\u305f\u306e\u3067\u3059\u304c\u3001\u3084\u3063\u3071\u308a\u3042\u3063\u305f\u65b9\u304c\u958b\u767a\u3057\u3084\u3059\u3044\u306e\u3067<strong>Laravel<\/strong>\u3092\u5c0e\u5165\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>Laravel\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306f5.1\u3092\u9078\u629e\u3002<br \/>\n\u3053\u306e\u5834\u5408\u3001PHP\u306f<strong>5.5.9\u4ee5\u4e0a<\/strong>\u3067\u306a\u304f\u3066\u306f\u3044\u3051\u306a\u3044\u3068\u306e\u3053\u3068\u3067\u3001VPS\u306ePHP\u3092\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002<br \/>\n\u73fe\u72b6\u306f5.4\u304c\u52d5\u3044\u3066\u3044\u308b\u306e\u3067\u3053\u308c\u3092<strong>5.6<\/strong>\u306b\u4e0a\u3052\u307e\u3059\u3002<br \/>\n\u524d\u306b\u30bd\u30fc\u30b9\u304b\u3089\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u3089\u6563\u3005\u306a\u76ee\u306b\u3042\u3063\u305f\u306e\u3067\u3001\u4eca\u56de\u306fyum\u3092\u4f7f\u3063\u3066\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"lang:sh decode:true\">#\u307e\u305a\u306f\u3069\u306e\u30d5\u30a1\u30a4\u30eb\u304c\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3055\u308c\u308b\u304b\u3092\u30c1\u30a7\u30c3\u30af\r\nsudo yum check-update --enablerepo=remi-php56,remi\r\n\r\n#\u554f\u984c\u306a\u3055\u305d\u3046\u3060\u3063\u305f\u3089\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\r\nsudo yum update --enablerepo=remi-php56,remi<\/pre>\n<p>\u9014\u4e2d\u3001\u3044\u304f\u3064\u304b\u30ef\u30fc\u30cb\u30f3\u30b0\u306f\u51fa\u307e\u3059\u304c\u3001\u7121\u8996\u3002(\u3049\u3043)<br \/>\nphp -v\u3067\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u78ba\u8a8d\u3059\u308b\u3068imagick\u306b\u95a2\u3059\u308b\u30a8\u30e9\u30fc\u304c\u2026\u3002<\/p>\n<pre class=\"lang:sh decode:true \">PHP Warning:  PHP Startup: imagick: Unable to initialize module\r\nModule compiled with module API=20100525\r\nPHP    compiled with module API=20131226\r\nThese options need to match\r\n in Unknown on line 0\r\nPHP 5.6.19 (cli) (built: Mar  3 2016 08:05:32) \r\nCopyright (c) 1997-2016 The PHP Group\r\nZend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies<\/pre>\n<p>PHP\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u5909\u308f\u3063\u305f\u305f\u3081\u3089\u3057\u3044\u306e\u3067\u3001pecl\u3067imagick\u3092\u518d\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3002<\/p>\n<pre class=\"lang:sh decode:true\">sudo pecl install imagick<\/pre>\n<p>\u3053\u308c\u3067php -v\u3057\u3066\u3082\u30a8\u30e9\u30fc\u3092\u5410\u304b\u306a\u304f\u306a\u308a\u307e\u3057\u305f\u3002<br \/>\nLaravel5.1\u306e\u5c0e\u5165\u6e96\u5099\u3001\u5b8c\u4e86\u3067\u3059!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>VPS(CentOS)\u306b\u3066\u3044\u304f\u3064\u304b\u81ea\u4f5c\u306ePHP\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u52d5\u304b\u3057\u3066\u3044\u307e\u3059\u3002 \u4eca\u307e\u3067\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u306f\u4f7f\u3063\u3066\u3044\u306a\u304b\u3063\u305f\u306e\u3067\u3059\u304c\u3001\u3084\u3063\u3071\u308a\u3042\u3063\u305f\u65b9\u304c\u958b\u767a\u3057\u3084\u3059\u3044\u306e\u3067Laravel\u3092\u5c0e\u5165\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002  [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-3577","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/ephemeral-arcadia.jp\/passo_wp\/wp-json\/wp\/v2\/posts\/3577","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ephemeral-arcadia.jp\/passo_wp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ephemeral-arcadia.jp\/passo_wp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ephemeral-arcadia.jp\/passo_wp\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/ephemeral-arcadia.jp\/passo_wp\/wp-json\/wp\/v2\/comments?post=3577"}],"version-history":[{"count":2,"href":"https:\/\/ephemeral-arcadia.jp\/passo_wp\/wp-json\/wp\/v2\/posts\/3577\/revisions"}],"predecessor-version":[{"id":3579,"href":"https:\/\/ephemeral-arcadia.jp\/passo_wp\/wp-json\/wp\/v2\/posts\/3577\/revisions\/3579"}],"wp:attachment":[{"href":"https:\/\/ephemeral-arcadia.jp\/passo_wp\/wp-json\/wp\/v2\/media?parent=3577"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ephemeral-arcadia.jp\/passo_wp\/wp-json\/wp\/v2\/categories?post=3577"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ephemeral-arcadia.jp\/passo_wp\/wp-json\/wp\/v2\/tags?post=3577"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}