{"id":868,"date":"2017-11-15T19:14:29","date_gmt":"2017-11-15T10:14:29","guid":{"rendered":"https:\/\/clouds.tokyo\/blog\/?p=868"},"modified":"2017-11-15T19:20:08","modified_gmt":"2017-11-15T10:20:08","slug":"linux_php7","status":"publish","type":"post","link":"https:\/\/clouds.tokyo\/blog\/linux_php7\/","title":{"rendered":"\u3010Linux\u3011CentOS6.5\u3067PHP5.3\u3092\u3044\u304d\u306a\u308aPHP7.1\u306b\u3059\u308b"},"content":{"rendered":"<p>PHP\u306e\u30b7\u30b9\u30c6\u30e0\u958b\u767a\u3067PHP7\u4ee5\u4e0a\u304c\u8981\u6c42\u3055\u308c\u308b\u6848\u4ef6\u3082\u5897\u3048\u3066\u304d\u3066\u3044\u308b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u3067\u3082CentOS6.5\u3067\u306e\u6a19\u6e96\u306f\u3059\u3067\u306b\u30b5\u30dd\u30fc\u30c8\u304c\u5207\u308c\u3066\u4e45\u3057\u3044PHP5.3\u3067\u3059\u3002<br \/>\n\u305d\u308d\u305d\u308d\u300cPHP5.3\u3067\u7a3c\u50cd\u3057\u3066\u3044\u307e\u3059\u300d\u3068\u8a00\u3046\u306e\u304c\u6065\u305a\u304b\u3057\u304f\u306a\u3063\u3066\u304d\u307e\u3057\u305f\u3002<\/p>\n<p>\u610f\u3092\u6c7a\u3057\u3066PHP7\u306b\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u3059\u308b\u3053\u3068\u306b\u3057\u305f\u306e\u3067\u3059\u304c\u3001<br \/>\n\u307e\u305a\u306f\u672c\u756a\u30b5\u30fc\u30d0\u30fc\u3067\u8a66\u3059\u524d\u306b<br \/>\n\u30b9\u30bf\u30f3\u30d0\u30a4\u30b5\u30fc\u30d0\u30fc\u3067PHP7.1\u306b\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u3057\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<pre>\r\n\/\/ \u30ea\u30dd\u30b8\u30c8\u30ea\u8ffd\u52a0  \r\nyum install epel-release  \r\nrpm -Uvh http:\/\/rpms.famillecollet.com\/enterprise\/remi-release-6.rpm\r\n\r\n\/\/ PHP5.3\u524a\u9664\r\nyum remove php-*\r\n\r\n\/\/ PHP7.1\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb(\u5404\u30e2\u30b8\u30e5\u30fc\u30eb\u306f\u304a\u597d\u307f\u3067)\r\nyum install --enablerepo=remi,remi-php71 php php-devel php-mbstring php-mcrypt php-gd php-xml\r\n<\/pre>\n<p>\u3059\u3050\u306bWeb\u30b5\u30fc\u30d0\u30fc\u3092\u518d\u8d77\u52d5\u3057\u3066\u52d5\u4f5c\u78ba\u8a8d\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u3061\u306a\u307f\u306b\u79c1\u306e\u30b5\u30fc\u30d0\u30fc\u3067\u306f\u3001\u306a\u3093\u3068PHP4\u306e\u540d\u6b8b\u3067\u30b3\u30f3\u30b9\u30c8\u30e9\u30af\u30bf\u306e\u5b9a\u7fa9\u3067\u30af\u30e9\u30b9\u540d\u3092\u4f7f\u3063\u3066\u3044\u305f\u3068\u3053\u308d\u304c\u3042\u3063\u3066\u3001\u30a8\u30e9\u30fc\u306b\u306a\u3063\u3066\u307e\u3057\u305f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>PHP\u306e\u30b7\u30b9\u30c6\u30e0\u958b\u767a\u3067PHP7\u4ee5\u4e0a\u304c\u8981\u6c42\u3055\u308c\u308b\u6848\u4ef6\u3082\u5897\u3048\u3066\u304d\u3066\u3044\u308b\u3068\u601d\u3044\u307e\u3059\u3002 \u3067\u3082CentOS6.5\u3067\u306e\u6a19\u6e96\u306f\u3059\u3067\u306b\u30b5\u30dd\u30fc\u30c8\u304c\u5207\u308c\u3066\u4e45\u3057\u3044PHP5.3\u3067\u3059\u3002 \u305d\u308d\u305d\u308d\u300cPHP5.3\u3067\u7a3c\u50cd\u3057\u3066\u3044\u307e\u3059\u300d\u3068\u8a00\u3046\u306e\u304c\u6065\u305a\u304b\u3057\u304f &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/clouds.tokyo\/blog\/linux_php7\/\" class=\"more-link\"><span class=\"screen-reader-text\">&#8220;\u3010Linux\u3011CentOS6.5\u3067PHP5.3\u3092\u3044\u304d\u306a\u308aPHP7.1\u306b\u3059\u308b&#8221; \u306e<\/span>\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"_jetpack_newsletter_access":""},"categories":[2],"tags":[95,96,360,361,362],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/pezW3u-e0","jetpack-related-posts":[{"id":901,"url":"https:\/\/clouds.tokyo\/blog\/phpmyadmin_verup\/","url_meta":{"origin":868,"position":0},"title":"\u3010phpMyAdmin\u3011\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u3057\u305f\u3089\u300cUnknown system variable &#8216;lc_messages&#8217;\u300d\u3068\u3044\u3046\u30a8\u30e9\u30fc\u304c\u51fa\u308b","author":"yamamoto","date":"2017\u5e7412\u670815\u65e5","format":false,"excerpt":"\u5148\u65e5\u30b9\u30c6\u30fc\u30b8\u30f3\u30b0\u74b0\u5883\u3092PHP7\u306b\u3057\u3066\u3001\u30b7\u30b9\u30c6\u30e0\u306e\u52d5\u4f5c\u306f\u78ba\u8a8d\u3057\u305f\u306e\u3067\u3059\u304c\u3001 phpMyAdmin\u3092\u78ba\u8a8d\u2026","rel":"","context":"\u5099\u5fd8\u9332","block_context":{"text":"\u5099\u5fd8\u9332","link":"https:\/\/clouds.tokyo\/blog\/category\/memo\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":783,"url":"https:\/\/clouds.tokyo\/blog\/linux_pecl_http\/","url_meta":{"origin":868,"position":1},"title":"\u3010Linux\u3011pecl_http\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u306a\u3044\u3068\u304d\u306f","author":"yamamoto","date":"2017\u5e748\u670814\u65e5","format":false,"excerpt":"CentOS6\u3001PHP5.3.3\u306e\u74b0\u5883\u3067pecl_http\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3088\u3046\u3068\u3057\u305f\u3068\u3053\u308d\u3001\u3053\u3093\u306a\u30e1\u2026","rel":"","context":"\u5099\u5fd8\u9332","block_context":{"text":"\u5099\u5fd8\u9332","link":"https:\/\/clouds.tokyo\/blog\/category\/memo\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":719,"url":"https:\/\/clouds.tokyo\/blog\/linux_version\/","url_meta":{"origin":868,"position":2},"title":"\u3010Linux\u3011\u5404\u7a2e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u8abf\u3079\u308b","author":"yamamoto","date":"2017\u5e745\u67089\u65e5","format":false,"excerpt":"\u8abf\u3079\u65b9\u3082\u69d8\u3005\u306a\u306e\u3067\u3064\u3044\u5fd8\u308c\u3066\u3057\u307e\u3044\u307e\u3059\u3088\u306d\u3002 CentOS\u306e\u30d0\u30fc\u30b8\u30e7\u30f3 cat \/etc\/redha\u2026","rel":"","context":"\u5099\u5fd8\u9332","block_context":{"text":"\u5099\u5fd8\u9332","link":"https:\/\/clouds.tokyo\/blog\/category\/memo\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":876,"url":"https:\/\/clouds.tokyo\/blog\/linux_yum_installed\/","url_meta":{"origin":868,"position":3},"title":"\u3010Linux\u3011yum\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6e08\u307f\u4e00\u89a7\u3092\u8868\u793a","author":"yamamoto","date":"2017\u5e7411\u670815\u65e5","format":false,"excerpt":"\u305f\u3068\u3048\u3070\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308bPHP\u30e2\u30b8\u30e5\u30fc\u30eb\u306e\u4e00\u89a7\u306f yum list installed | g\u2026","rel":"","context":"\u5099\u5fd8\u9332","block_context":{"text":"\u5099\u5fd8\u9332","link":"https:\/\/clouds.tokyo\/blog\/category\/memo\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1427,"url":"https:\/\/clouds.tokyo\/blog\/wp-move\/","url_meta":{"origin":868,"position":4},"title":"\u53e4\u3044WordPress\u306e\u30b5\u30fc\u30d0\u30fc\u79fb\u884c\u306f\u7c21\u5358\u3067\u306f\u306a\u3044","author":"yamamoto","date":"2022\u5e748\u670826\u65e5","format":false,"excerpt":"Wordpress\u3092\u5225\u306e\u30b5\u30fc\u30d0\u30fc\u306b\u79fb\u884c\u3057\u306a\u3051\u308c\u3070\u3044\u3051\u306a\u3044\u3068\u304d\u3001 Wordpress\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\uff08\u30b5\u30fc\u2026","rel":"","context":"\u5099\u5fd8\u9332","block_context":{"text":"\u5099\u5fd8\u9332","link":"https:\/\/clouds.tokyo\/blog\/category\/memo\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":792,"url":"https:\/\/clouds.tokyo\/blog\/php_timezone\/","url_meta":{"origin":868,"position":5},"title":"\u3010PHP\u3011\u53d6\u5f97\u3057\u305f\u73fe\u5728\u65e5\u6642\u304c9\u6642\u9593\u305a\u308c\u3066\u3044\u308b\u3068\u304d\u306f","author":"yamamoto","date":"2017\u5e748\u670825\u65e5","format":false,"excerpt":"PHP\u3067date\u3084strtotime\u3067\u53d6\u5f97\u3057\u305f\u73fe\u5728\u65e5\u6642\u304c9\u6642\u9593\u305a\u308c\u3066\u3044\u308b\u3068\u304d\u306f\u3001 \u65e5\u672c\u3067\u306f\u306a\u3044\u30bf\u30a4\u30e0\u2026","rel":"","context":"\u5099\u5fd8\u9332","block_context":{"text":"\u5099\u5fd8\u9332","link":"https:\/\/clouds.tokyo\/blog\/category\/memo\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/posts\/868"}],"collection":[{"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/comments?post=868"}],"version-history":[{"count":7,"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/posts\/868\/revisions"}],"predecessor-version":[{"id":875,"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/posts\/868\/revisions\/875"}],"wp:attachment":[{"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/media?parent=868"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/categories?post=868"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/tags?post=868"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}