{"id":172,"date":"2023-10-16T14:19:53","date_gmt":"2023-10-16T05:19:53","guid":{"rendered":"https:\/\/web.cloudfree.jp\/journal\/?p=172"},"modified":"2023-11-18T23:59:45","modified_gmt":"2023-11-18T14:59:45","slug":"php%e3%82%92update%e3%81%97%e3%81%a6-ver-8-2-11","status":"publish","type":"post","link":"https:\/\/web.cloudfree.jp\/journal\/php%e3%82%92update%e3%81%97%e3%81%a6-ver-8-2-11\/","title":{"rendered":"PHP\u3092Update\u3057\u3066 Ver 8.2.11"},"content":{"rendered":"<h3 style=\"padding-top:var(--wp--preset--spacing--20);padding-bottom:var(--wp--preset--spacing--20);\" class=\"wp-block-post-title\">PHP\u3092Update\u3057\u3066 Ver 8.2.11<\/h3>\r\n\n<p class=\"has-tertiary-color has-text-color has-background has-small-font-size\" style=\"background-color:#8d8dd8;margin-top:0;margin-right:0;margin-bottom:0;margin-left:0;padding-top:0;padding-right:0;padding-bottom:0;padding-left:0\">2023-10-16 \u8a18\u8f09<br>\u6982\u8981\uff1aWindows10\u3067PHP\u306e\u30d0\u30fc\u30b8\u30e7\u30f3UP\u3092\u884c\u3063\u305f\u624b\u9806\u3092\u7d39\u4ecb\u3057\u3066\u3044\u307e\u3059<br>Keyword : Windows10, PHP,\u30d0\u30fc\u30b8\u30e7\u30f3,Update,\u66f4\u65b0,ini,Apache,\u9023\u643a,httpd.conf,<\/p>\n\n\n\n<p>\u73fe\u5728Windows10(22H2)\u3092\u4f7f\u7528\u4e2d\u3067\u3059\u3002<br>\u5148\u65e5\u306fApache\u3092\u6700\u65b0\u306bUpdate\u3057\u307e\u3057\u305f\u3002\u305d\u3057\u3066SSL\u3092\u5b9f\u88c5\u3057\u307e\u3057\u305f\u3002<br>\u3053\u306e\u3068\u3053\u308d\u3001\u30ed\u30fc\u30ab\u30eb\u958b\u767a\u74b0\u5883\u306e\u69cb\u7bc9\u306b\u52e4\u3057\u3093\u3067\u3044\u307e\u3059\u3002<br><br>\u6b21\u306fPHP\u3002\u73fe\u5728\u3053\u3053cloudfree\u3067\u306f PHP8.2.9 \u3092\u4f7f\u7528\u4e2d\u3067\u3059\u3002(2023.10.12\u6642\u70b9\u306e\u6700\u65b0)<br>\u30de\u30a4\u30de\u30b7\u30f3\u306b\u3082\u4e00\u5fdcPHP\u306f\u3044\u308c\u3066\u307e\u3057\u305f\u306e\u3067\u30d0\u30fc\u30b8\u30e7\u30f3\u78ba\u8a8d\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-bash\" data-file=\"DOS\u7a93\" data-lang=\"Bash\"><code>C:\\WINDOWS\\system32&gt;php -v\nPHP 8.2.7 (cli) (built: Jun 7 2023 10:25:38) (ZTS Visual C++ 2019 x64)\nCopyright (c) The PHP Group\nZend Engine v4.2.7, Copyright (c) Zend Technologies<\/code><\/pre><\/div>\n\n\n\n<p>8.2.7 \u306a\u306e\u3067Update\u3059\u308b\u610f\u5473\u3042\u308a\u3067\u3059\u3002\u305d\u306e\u524d\u306b\u65b0Apache\u3067PHP\u304c\u52d5\u304b\u306a\u3044\u3053\u3068\u3092\u78ba\u8a8d\u3002<br>phpinfo.php\u3068\u3044\u3046\u30d5\u30a1\u30a4\u30eb\u3092\u4ee5\u4e0b\u306e\u30b3\u30fc\u30c9\u3067\u4f5c\u6210\u3057\u3066C:\\pgm\\Apache24\\htdocs \u306b\u914d\u7f6e\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-php\" data-file=\"phpinfo.php\" data-lang=\"PHP\"><code>&lt;?php\n  echo &#39;Hello PHP&#39;;\n  phpinfo();\n?&gt;<\/code><\/pre><\/div>\n\n\n\n<p>http:\/\/localhost\/test.php \u3092\u547c\u3093\u3067\u307f\u307e\u3059\u3068\u3001\u601d\u3063\u305f\u901a\u308a\u306e\u767d\u30dc\u30f3\u30c6\u3001\u3067\uff2f\uff2b\u3002<\/p>\n\n\n\n<p>\u516c\u5f0fPHP\u3078\u53d6\u308a\u306b\u884c\u304f\u3068\u30018.2.9\u306f\u3082\u3046\u306a\u304f\u3066.11\u306b\u3002<br>cloudfree\u30b5\u30fc\u30d0\u3088\u308a\u65b0\u3057\u304f\u306a\u308a\u307e\u3059\u304c\u30ce\u30fc\u30d7\u30ed\u30d6\u30ec\u30e0\u3001\u5fae\u3005\u305f\u308b\u5dee\u306b\u306f\u3053\u3060\u308f\u308a\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<p>PHP 8.2 (8.2.11)<br>VS16 x64 Thread Safe (2023-Sep-26 16:01:20)<br>\u306e Zip [30.35MB] \u3092Download\u3002<\/p>\n\n\n\n<p>\u74b0\u5883\u5909\u6570\u3067Path\u3092\u901a\u3057\u3066\u308b\u3060\u3051\u3060\u3057\u3001PHP\u3053\u305d\u306f\u30d5\u30a9\u30eb\u30c0\u306e\u3059\u3052\u304b\u3048\u3067\u3044\u3051\u305d\u3046\u3002<br>\u4e00\u5fdcApache\u3092Stop\u3055\u305b\u3066(\u767d\u30dc\u30f3\u30c6\u3060\u304b\u3089\u95a2\u4fc2\u306a\u3044\u3051\u3069)\u3001\u3059\u3052\u304b\u3048\u3066\u30d0\u30fc\u30b8\u30e7\u30f3\u78ba\u8a8d\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-bash\" data-file=\"DOS\u7a93\" data-lang=\"Bash\"><code>C:\\WINDOWS\\system32&gt;php -v\nPHP 8.2.11 (cli) (built: Sep 26 2023 15:25:31) (ZTS Visual C++ 2019 x64)\nCopyright (c) The PHP Group\nZend Engine v4.2.11, Copyright (c) Zend Technologies<\/code><\/pre><\/div>\n\n\n\n<p>Good-Job\u3002(\u203b \u79c1\u306eSetup\u5148\u306f c:\\pgm\\php8 \u306a\u3093\u3067\u3059\u304c\u3001\u74b0\u5883\u5909\u6570\u3067Path\u306f\u901a\u3063\u3066\u307e\u3059)<br>Apache\u304b\u3089PHP\u30e2\u30b8\u30e5\u30fc\u30eb\u304c\u547c\u3073\u51fa\u305b\u308b\u3088\u3046\u306b httpd.conf \u306e LoadModule\u7fa4\u306e\u672b\u5c3e\u306b\u8ffd\u8a18\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-bash\" data-file=\"httpd.conf\" data-lang=\"Bash\"><code>LoadModule php_module &quot;c:\/pgm\/php8\/php8apache2_4.dll&quot;\nPHPIniDir &quot;c:\/pgm\/php8&quot;<\/code><\/pre><\/div>\n\n\n\n<p>\u3053\u308c\u3067Apache\u3092Start\u3055\u305b\u3066\u3001http:\/\/localhost\/test.php \u3092\u547c\u3093\u3067\u307f\u307e\u3059\u3068\u3002<br>\u767d\u30dc\u30f3\u30c6\u3002\u3084\u306f\u308a\u305d\u3046\u4e00\u767a\u3067\u306f\u52d5\u304d\u307e\u305b\u3093\u3002<br>\u30d5\u30a9\u30eb\u30c0\u3092\u306e\u305e\u3044\u3066php.ini\u3092\u4f5c\u3063\u3066\u306a\u304b\u3063\u305f\u3053\u3068\u306b\u6c17\u3065\u304d\u307e\u3057\u305f\u3002<br>php.ini-development \u3092\u30b3\u30d4\u30fc\u3057\u3066php.ini\u3092\u4f5c\u6210\u3002<br>\u4ee5\u524d\u306e\u3082\u306e\u3068\u3064\u304d\u3042\u308f\u305b\u3066\u5909\u66f4\u7b87\u6240\u3092\u66f8\u304d\u63db\u3048\u3002<br>(\u672c\u5f53\u306f\u8a2d\u5b9a\u304c\u5fc5\u8981\u306b\u306a\u3063\u305f\u3068\u304d\u306b\u90fd\u5ea6\u3001\u30b3\u30b3\u306b\u305d\u306e\u7406\u7531\u3092\u66f8\u304d\u306a\u304c\u3089\u3001\u66f8\u304d\u63db\u3048\u3066\u3044\u304d\u305f\u3044\u306e\u3060\u3051\u308c\u3069\u3001\u30c8\u30e9\u30d6\u30eb\u3063\u3066\u304b\u3089\u539f\u56e0\u7a76\u660e\u306b\u3044\u305f\u308b\u307e\u3067\u306b\u30b9\u30c8\u30ec\u30b9\u305f\u307e\u308b\u306e\u306f\u3082\u3046\u30b4\u30e1\u30f3\u3068\u3044\u3046\u6c17\u5206\u306a\u306e\u3067\u3001\u3082\u3046\u697d\u3055\u305b\u3066\u3082\u3089\u3046)<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-bash\" data-file=\"php.ini\" data-lang=\"Bash\"><code>;max_execution_time = 30\n; cloudfree = 180\nmax_execution_time = 3600\n; \u2026\u2026\n;memory_limit = 128M\n; cloudfree = 1G\nmemory_limit = 4096M\n; \u2026\u2026\n;post_max_size = 8M\n; cloudfree = 1G\npost_max_size = 1024M\n; \u2026\u2026\ninclude_path = &quot;.;c:\\pgm\\php8\\pear;c:\\pgm\\php8\\includes&quot;\n; \u2026\u2026\nextension_dir = &quot;ext&quot;\n; \u2026\u2026\nsys_temp_dir = &quot;c:\\pgm\\pgm_tmp&quot;\n; \u2026\u2026\n;upload_max_filesize = 2M\n; cloudfree = 1G\nupload_max_filesize = 1024M\n; \u2026\u2026\n\nextension=curl\n;cloudfree cURL support\tenabled\n\nextension=fileinfo\n;cloudfree fileinfo support\tenabled\n\nextension=gd\n;cloudfree GD Support enabled\n\nextension=mbstring\n;cloudfree Multibyte Support enabled\n\nextension=mysqli\n;cloudfree MysqlI Support\tenabled\n\nextension=openssl\n;cloudfree OpenSSL support enabled\n\nextension=pdo_mysql\n;cloudfree PDO Driver for MySQL\tenabled\n\n;vvvvvvvv 2023.11.08 Add for Windows .NET new COM(&quot;WScript.Shell&quot;)\nextension=php_com_dotnet.dll\n\n; \u2026\u2026\ndate.timezone = Asia\/Tokyo\n\n;session.cookie_lifetime = 0\n;cloudfree 0\nsession.cookie_lifetime = 2880\n\n;session.gc_maxlifetime = 1440\n;cloudfree 1440\nsession.gc_maxlifetime = 2880\n\n; \u2026\u2026\nmbstring.language = Japanese\n\n;cloudfree mbstring.encoding_translation\tOff\nmbstring.encoding_translation = Off\n\n;mbstring.detect_order = auto\n;cloudfree auto\nmbstring.detect_order = UTF-8,SJIS,EUC-JP,JIS,ASCII\n\n;cloudfree (no value)\nmbstring.substitute_character = none<\/code><\/pre><\/div>\n\n\n\n<p>\u4ee5\u4e0a\u306e\u7b87\u6240\u3092\u904e\u53bb\u306b\u66f8\u304d\u63db\u3048\u3066\u307e\u3057\u305f\u306e\u3067\u3068\u308a\u3042\u3048\u305a\u3042\u308f\u305b\u307e\u3057\u305f\u3002<br>\u305d\u308c\u3068\u66f8\u304d\u63db\u3048\u305f\u5024\u306f\u3001cloudfree \u3067\u306f\u3069\u3046\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u308b\u304b(2023.10)\u3082\u30b3\u30e1\u30f3\u30c8\u3067\u3044\u308c\u307e\u3057\u305f\u3002\u30b5\u30fc\u30d0\u3067\u3001phpinfo\u304c\u4f7f\u3048\u307e\u3057\u305f\u306e\u3067\u3002<br><br>\u3010\u6ce8\u610f\u3011php.ini\u306b\u65e5\u672c\u8a9e(\u30de\u30eb\u30c1\u30d0\u30a4\u30c8\u6587\u5b57)\u3092\u66f8\u304b\u306a\u3044\u3088\u3046\u306b\u3002;\u30b3\u30e1\u30f3\u30c8 \u306a\u3069\u306e\u6240\u306b\u3002<br>\u3000\u3000\u3000\u3000\u6b63\u3057\u304f\u8aad\u307f\u8fbc\u3093\u3067\u304f\u308c\u306a\u3044\u3088\u3046\u3067\u3059\u3002<br><br>\u3053\u308c\u3067\u30ea\u30c8\u30e9\u30a4\u3002\u307e\u3060\u52d5\u304b\u306a\u3044\u3002<br>\u3093\u30fc\u3001\u306a\u306b\u304c\u629c\u3051\u3066\u308b\u3093\u3060\u308d\u3046\uff1f\u2026\u2026\u3068\u8003\u3048\u3066\u3001\u300e\u305d\u3046\u3060\u3001httpd.conf\u306e\u62e1\u5f35\u5b50\u5bfe\u5fdc\u3060\u300f\u3068\u3072\u3089\u3081\u304d\u307e\u3057\u305f\u3002\u305d\u306e\u3042\u305f\u308a\u4f55\u3082\u66f8\u304d\u304f\u308f\u3048\u305f\u8a18\u61b6\u304c\u3042\u308a\u307e\u305b\u3093\u3002<br>httpd.conf\u306e\u53e4\u3044\u30d5\u30a1\u30a4\u30eb\u3092\u307f\u3066\u3001\u4ee5\u4e0b\u306e\u8a18\u8ff0\u3092\u8ffd\u8a18\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-bash\" data-file=\"httpd.conf\" data-lang=\"Bash\"><code>&lt;IfModule mime_module&gt;\n# \u2026\u2026\n&lt;FilesMatch &quot;\\.php$&quot;&gt;\n    AddHandler php-script .php\n    AddType application\/x-httpd-php .php\n&lt;\/FilesMatch&gt;\n&lt;\/IfModule&gt;<\/code><\/pre><\/div>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"985\" height=\"140\" src=\"https:\/\/web.cloudfree.jp\/journal\/wp-content\/uploads\/2023\/10\/hello_php.jpg\" alt=\"\" class=\"wp-image-245\" srcset=\"https:\/\/web.cloudfree.jp\/journal\/wp-content\/uploads\/2023\/10\/hello_php.jpg 985w, https:\/\/web.cloudfree.jp\/journal\/wp-content\/uploads\/2023\/10\/hello_php-300x43.jpg 300w, https:\/\/web.cloudfree.jp\/journal\/wp-content\/uploads\/2023\/10\/hello_php-768x109.jpg 768w\" sizes=\"(max-width: 985px) 100vw, 985px\" \/><\/figure>\n\n\n\n<p>\u3053\u3093\u3069\u3053\u305d\u3001\u52d5\u304d\u307e\u3057\u305f\u3002\uff3c(^o^)\uff0f<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u73fe\u5728Windows10(22H2)\u3092\u4f7f\u7528\u4e2d\u3067\u3059\u3002<br \/>\n\u5148\u65e5\u306fApache\u3092\u6700\u65b0\u306bUpdate\u3057\u307e\u3057\u305f\u3002\u305d\u3057\u3066SSL\u3092\u5b9f\u88c5\u3057\u307e\u3057\u305f\u3002<br \/>\n\u3053\u306e\u3068\u3053\u308d\u3001\u30ed\u30fc\u30ab\u30eb\u958b\u767a\u74b0\u5883\u306e\u69cb\u7bc9\u306b\u52e4\u3057\u3093\u3067\u3044\u307e\u3059\u3002\u6b21\u306fPHP\u3002<\/p>\n","protected":false},"author":1,"featured_media":180,"comment_status":"open","ping_status":"open","sticky":false,"template":"wp-custom-template-x24-index","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[21,23,28,14,24],"_links":{"self":[{"href":"https:\/\/web.cloudfree.jp\/journal\/wp-json\/wp\/v2\/posts\/172"}],"collection":[{"href":"https:\/\/web.cloudfree.jp\/journal\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/web.cloudfree.jp\/journal\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/web.cloudfree.jp\/journal\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/web.cloudfree.jp\/journal\/wp-json\/wp\/v2\/comments?post=172"}],"version-history":[{"count":0,"href":"https:\/\/web.cloudfree.jp\/journal\/wp-json\/wp\/v2\/posts\/172\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/web.cloudfree.jp\/journal\/wp-json\/wp\/v2\/media\/180"}],"wp:attachment":[{"href":"https:\/\/web.cloudfree.jp\/journal\/wp-json\/wp\/v2\/media?parent=172"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/web.cloudfree.jp\/journal\/wp-json\/wp\/v2\/categories?post=172"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/web.cloudfree.jp\/journal\/wp-json\/wp\/v2\/tags?post=172"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}