{"id":1902,"date":"2026-03-23T19:19:58","date_gmt":"2026-03-23T10:19:58","guid":{"rendered":"https:\/\/clouds.tokyo\/blog\/?p=1902"},"modified":"2026-04-14T19:29:20","modified_gmt":"2026-04-14T10:29:20","slug":"server_php_version","status":"publish","type":"post","link":"https:\/\/clouds.tokyo\/blog\/server_php_version\/","title":{"rendered":"\u30ec\u30f3\u30bf\u30eb\u30b5\u30fc\u30d0\u30fc\u3067\u30b7\u30a7\u30eb\u306ePHP\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u6307\u5b9a\u3059\u308b"},"content":{"rendered":"<p>\u30ec\u30f3\u30bf\u30eb\u30b5\u30fc\u30d0\u30fc\u3067\u306fphpinfo\u3067\u8868\u793a\u3057\u305fPHP\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3068\u3001ssh\u3067\u30ed\u30b0\u30a4\u30f3\u3057\u3066php -v\u3057\u305f\u6642\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u7570\u306a\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u305f\u3068\u3048\u3070\u30ec\u30f3\u30bf\u30eb\u30b5\u30fc\u30d0\u30fc\u3067composer\u3092\u4f7f\u7528\u3057\u305f\u3044\u3068\u304d\u306b<br \/>\nPHP\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u4f4e\u3044\u305b\u3044\u3067composer\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u308b\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u5236\u9650\u3055\u308c\u308b\u306a\u3069\u306e\u554f\u984c\u304c\u51fa\u3066\u304d\u307e\u3059\u3002<\/p>\n<p>\u3057\u304b\u3057\u591a\u304f\u306e\u30ec\u30f3\u30bf\u30eb\u30b5\u30fc\u30d0\u30fc\u3067\u306f\u30b7\u30a7\u30eb\u4e0a\u3067\u5b9f\u884c\u3059\u308bPHP\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u9078\u629e\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u9078\u629e\u3067\u304d\u308bPHP\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u78ba\u8a8d<\/p>\n<pre>\r\nls \/usr\/bin\/php*\r\n<\/pre>\n<p>\u4f8b\u3048\u3070PHP8.1\u3067composer\u3092\u5b9f\u884c\u3057\u305f\u3044\u3068\u304d\u306f<\/p>\n<pre>\r\n\/usr\/bin\/php8.1 composer require hogehoge\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u30ec\u30f3\u30bf\u30eb\u30b5\u30fc\u30d0\u30fc\u3067\u306fphpinfo\u3067\u8868\u793a\u3057\u305fPHP\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3068\u3001ssh\u3067\u30ed\u30b0\u30a4\u30f3\u3057\u3066php -v\u3057\u305f\u6642\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u7570\u306a\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002 \u305f\u3068\u3048\u3070\u30ec\u30f3\u30bf\u30eb\u30b5\u30fc\u30d0\u30fc\u3067composer\u3092\u4f7f\u7528\u3057\u305f\u3044\u3068\u304d\u306b PHP\u306e\u30d0\u30fc\u30b8\u30e7 &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/clouds.tokyo\/blog\/server_php_version\/\" class=\"more-link\"><span class=\"screen-reader-text\">&#8220;\u30ec\u30f3\u30bf\u30eb\u30b5\u30fc\u30d0\u30fc\u3067\u30b7\u30a7\u30eb\u306ePHP\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u6307\u5b9a\u3059\u308b&#8221; \u306e<\/span>\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"_jetpack_newsletter_access":""},"categories":[2],"tags":[96,118,640,669],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/pezW3u-uG","jetpack-related-posts":[{"id":1427,"url":"https:\/\/clouds.tokyo\/blog\/wp-move\/","url_meta":{"origin":1902,"position":0},"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":783,"url":"https:\/\/clouds.tokyo\/blog\/linux_pecl_http\/","url_meta":{"origin":1902,"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":868,"url":"https:\/\/clouds.tokyo\/blog\/linux_php7\/","url_meta":{"origin":1902,"position":2},"title":"\u3010Linux\u3011CentOS6.5\u3067PHP5.3\u3092\u3044\u304d\u306a\u308aPHP7.1\u306b\u3059\u308b","author":"yamamoto","date":"2017\u5e7411\u670815\u65e5","format":false,"excerpt":"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.\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":901,"url":"https:\/\/clouds.tokyo\/blog\/phpmyadmin_verup\/","url_meta":{"origin":1902,"position":3},"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":792,"url":"https:\/\/clouds.tokyo\/blog\/php_timezone\/","url_meta":{"origin":1902,"position":4},"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":[]},{"id":1681,"url":"https:\/\/clouds.tokyo\/blog\/mail_return_path\/","url_meta":{"origin":1902,"position":5},"title":"\u3010PHP\u3011Return-Path\u672a\u6307\u5b9a\u3060\u3068\u8ff7\u60d1\u30e1\u30fc\u30eb\u6271\u3044\u306b\u306a\u308b\u30b1\u30fc\u30b9","author":"yamamoto","date":"2024\u5e746\u67086\u65e5","format":false,"excerpt":"\u6700\u8fd1\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u304b\u3089\u306e\u4f9d\u983c\u3067\u3001Gmail\u5b9b\u3066\u306e\u30e1\u30fc\u30eb\u304c\u5c4a\u304b\u306a\u3044\u554f\u984c\u306e\u89e3\u6d88\u3068\u3044\u3046\u306e\u304c\u3042\u308a\u307e\u3057\u305f\u3002 \u8abf\u3079\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\/1902"}],"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=1902"}],"version-history":[{"count":2,"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/posts\/1902\/revisions"}],"predecessor-version":[{"id":1904,"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/posts\/1902\/revisions\/1904"}],"wp:attachment":[{"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/media?parent=1902"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/categories?post=1902"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/tags?post=1902"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}