{"id":3259,"date":"2026-10-22T10:12:02","date_gmt":"2026-10-22T01:12:02","guid":{"rendered":"https:\/\/bokumin.org\/blog\/?p=3259"},"modified":"2026-10-22T12:00:20","modified_gmt":"2026-10-22T03:00:20","slug":"php2shell%e5%af%be%e5%bf%9c%e3%81%a7php83%e3%82%92ports%e3%81%8b%e3%82%89%e6%9b%b4%e6%96%b0%e3%81%97%e3%81%9f%ef%bc%88freebsd%ef%bc%89","status":"publish","type":"post","link":"https:\/\/bokumin.org\/blog\/2026\/10\/22\/php2shell%e5%af%be%e5%bf%9c%e3%81%a7php83%e3%82%92ports%e3%81%8b%e3%82%89%e6%9b%b4%e6%96%b0%e3%81%97%e3%81%9f%ef%bc%88freebsd%ef%bc%89\/","title":{"rendered":"PHP2Shell\u5bfe\u5fdc\u3067php83\u3092ports\u304b\u3089\u66f4\u65b0\u3057\u305f\uff08FreeBSD\uff09"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Updating php83 from ports for PHP2Shell (FreeBSD)<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u4e8b\u306e\u767a\u7aef<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">2026-10-21\u306b\u3001PHP\u672c\u4f53\u306e\u8106\u5f31\u6027\u304c2\u4ef6\u516c\u958b\u3055\u308c\u307e\u3057\u305f\u3002\u901a\u79f0PHP2Shell\u3068\u547c\u3070\u308c\u3066\u3044\u308b\u307f\u305f\u3044\u3067\u3059\u3002\u4fee\u6b63\u7248\u3082\u540c\u6642\u306b\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u79c1\u306e\u74b0\u5883\u3067\u306f\u3001FreeBSD\u306e\u516c\u5f0fpkg\uff08quarterly\uff09\u306ephp83 8.3.35\u3092php-fpm\u3067\u52d5\u304b\u3057\u3066\u3044\u3066\u3001\u524d\u6bb5\u306eApache\u3067\u8907\u6570\u306e\u30b5\u30a4\u30c8\u3092\u516c\u958b\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">pkg\u306f8.3.35\u306e\u307e\u307e\u66f4\u65b0\u3055\u308c\u305a\u3001\u3044\u3064\u8ffd\u3044\u3064\u304f\u306e\u304b\u3082\u5206\u304b\u308a\u307e\u305b\u3093\u30fb\u30fb\u30fb\u8a8d\u8a3c\u4e0d\u8981\u306e\u30ea\u30e2\u30fc\u30c8\u30b3\u30fc\u30c9\u5b9f\u884c\u3092Web\u306b\u516c\u958b\u3057\u305f\u72b6\u614b\u3067\u3001pkg\u306e\u66f4\u65b0\u3092\u5f85\u3064\u306e\u304c\u500b\u4eba\u7684\u306b\u6016\u304b\u3063\u305f\u306e\u3067\u3001\u4eca\u56de\u5fdc\u6025\u51e6\u7f6e\u3068\u3057\u3066\u3001ports\u304b\u3089\u30bd\u30fc\u30b9\u30d3\u30eb\u30c9\u3057\u3066\u66f4\u65b0\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u9014\u4e2d\u3067lld\u306e\u30a8\u30e9\u30fc\u3067\u30d3\u30eb\u30c9\u304c\u5931\u6557\u3057\u305f\u308a\u3068\u3061\u3087\u3063\u3068\u30cf\u30de\u3063\u305f\u306e\u3067\u3001\u5099\u5fd8\u9332\u3068\u3057\u3066\u6b8b\u3057\u3066\u304a\u304d\u307e\u3059\u3002<br>\u8ab0\u304b\u306e\u53c2\u8003\u306b\u306a\u308c\u3070\u5e78\u3044\u3067\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">PHP2Shell\u3068\u306f<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/www.cve.org\/CVERecord?id=CVE-2026-109618\" target=\"_blank\" rel=\"noopener\">CVE-2026-109618<\/a>\uff08OOM\u6642\u306e\u7834\u640d\uff09\u3068<a href=\"https:\/\/www.cve.org\/CVERecord?id=CVE-2026-109619\" target=\"_blank\" rel=\"noopener\">CVE-2026-109619<\/a>\uff08\u89e3\u653e\u5f8c\u306b\u6b8b\u308b\u30b0\u30ed\u30fc\u30d0\u30eb\u72b6\u614b\uff09\u306e2\u4ef6<\/li>\n\n\n\n<li>\u3069\u3061\u3089\u3082CVSS v4.0\u30679.2\u3001\u8a8d\u8a3c\u4e0d\u8981\u306e\u30ea\u30e2\u30fc\u30c8\u30b3\u30fc\u30c9\u5b9f\u884c<\/li>\n\n\n\n<li>\u5f71\u97ff\u3059\u308bSAPI\u306f\u3001PHP-FPM\u3001Apache mod_php\u3001php-cgi\u3001FrankenPHP\u3001LiteSpeed\u306a\u3069\u3001Web\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u51e6\u7406\u3059\u308b\u3082\u306e<\/li>\n\n\n\n<li>\u4fee\u6b63\u7248\u306f 8.5.12 \/ 8.4.27 \/ 8.3.36 \/ 8.2.35<\/li>\n\n\n\n<li>Wiz\u306e\u8a18\u8ff0\u3067\u306f\u3001CVE-2026-109618\u306fupload-progress\u306eunserializer\u3001CVE-2026-109619\u306fOPcache\u306etype confusion\u304c\u95a2\u4fc2\u3057\u3066\u3044\u308b\u3068\u306e\u3053\u3068<\/li>\n\n\n\n<li>PHP 8.1\u4ee5\u524d\u306f\u672c\u5bb6\u306e\u901a\u5e38\u30b5\u30dd\u30fc\u30c8\u5916\uff087.4 \/ 8.0 \/ 8.1\u5411\u3051\u306b\u30bd\u30fc\u30b9\u306e\u30d0\u30c3\u30af\u30dd\u30fc\u30c8\u304c\u5225\u9014\u516c\u958b\u3055\u308c\u3066\u3044\u307e\u3059\uff09<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\u60aa\u7528\u72b6\u6cc1\u306f\u60c5\u5831\u6e90\u306b\u3088\u3063\u3066\u5dee\u304c\u3042\u308a\u307e\u3059\u3002\u4eca\u306e\u3068\u3053\u308d\u3001\u4fb5\u5bb3\u306e\u78ba\u8a8d\u306f\u5831\u544a\u3055\u308c\u3066\u304a\u3089\u305a\u3001Cisco PSIRT\u306f\u60aa\u7528\u3092\u628a\u63e1\u3057\u3066\u3044\u306a\u3044\u3068\u3057\u3066\u3044\u307e\u3057\u305f\u3002\u4e00\u65b9\u3067CISA\u306f\u3001\u5373\u6642\u306e\u66f4\u65b0\u3092\u5f37\u304f\u6c42\u3081\u3066\u3044\u308b\u3088\u3046\u3067\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u4f5c\u696d\u74b0\u5883<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>FreeBSD 14.5-RELEASE-p3 amd64<\/li>\n\n\n\n<li>pkg\u30ea\u30dd\u30b8\u30c8\u30ea FreeBSD:14:amd64\/quarterly<\/li>\n\n\n\n<li>PHP 8.3.35<\/li>\n\n\n\n<li>php-fpm\uff08\u524d\u6bb5\u306fApache\u3001\u8907\u6570\u30b5\u30a4\u30c8\u3092\u516c\u958b\uff09<\/li>\n\n\n\n<li>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6e08\u307f\u62e1\u5f35: curl, gd, mbstring, mysqli, opcache, pdo, pdo_mysql, session, xml, zip<\/li>\n\n\n\n<li>PECL\u306a\u3069\u306f\u5165\u3063\u3066\u3044\u306a\u3044<\/li>\n\n\n\n<li>\u30d3\u30eb\u30c9\u30aa\u30d7\u30b7\u30e7\u30f3\uff08\u66f4\u65b0\u524d\uff09: CGI \/ CLI \/ DTRACE \/ EMBED \/ FPM \/ IPV6 \/ LINKTHR \/ MYSQLND \/ PCRE = on\u3001DEBUG \/ NOASLR \/ PHPDBG \/ ZTS = off<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">FreeBSD\u3067\u306e\u6271\u3044<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u524d\u63d0\u3068\u3057\u3066\u3001PHP\u306fFreeBSD\u306ebase\u306b\u306f\u542b\u307e\u308c\u305a\u3001Ports \/ pkg\uff08lang\/php8x\uff09\u3067\u914d\u5e03\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u305d\u306e\u305f\u3081\u3001FreeBSD-SA\u306f\u51fa\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u8106\u5f31\u6027\u60c5\u5831\u306fVuXML\uff08pkg audit\uff09\u3067\u6271\u308f\u308c\u307e\u3059\u304c\u3001\u79c1\u304c\u78ba\u8a8d\u3057\u305f10\/22 \u671d\uff18\u6642\u306e\u6642\u70b9\u3067\u306f\u3001PHP2Shell\u306b\u8a72\u5f53\u3059\u308b\u30a8\u30f3\u30c8\u30ea\u306f\u898b\u5f53\u305f\u308a\u307e\u305b\u3093\u3067\u3057\u305f\u3002<br>pkg audit\u3060\u3051\u306b\u983c\u3063\u3066\u3044\u308b\u3068\u6c17\u3065\u3051\u306a\u3044\u306e\u3067\u3001\u6ce8\u610f\u304c\u5fc5\u8981\u3067\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u4f5c\u696d\u958b\u59cb\u6642\u70b9\uff0810\/22 8:30\uff09\u306eports\u306e\u72b6\u6cc1\u306f\u6b21\u306e\u3068\u304a\u308a\u3067\u3057\u305f\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>php85: \u4fee\u6b63\u7248\u306f8.5.12\u3002ports\u306f\u66f4\u65b0\u6e08\u307f\uff0810\/21 13:40 UTC\uff09\u3001pkg\u306f8.5.11<\/li>\n\n\n\n<li>php84: \u4fee\u6b63\u7248\u306f8.4.27\u3002ports\u306f8.4.26_1\u306e\u307e\u307e\u672a\u66f4\u65b0\u3001pkg\u306f8.4.26<\/li>\n\n\n\n<li>php83: \u4fee\u6b63\u7248\u306f8.3.36\u3002ports\u306f\u66f4\u65b0\u6e08\u307f\uff0810\/21 13:39 UTC\uff09\u3001pkg\u306f8.3.35<\/li>\n\n\n\n<li>php82: \u4fee\u6b63\u7248\u306f8.2.35\u3002ports\u306f\u66f4\u65b0\u6e08\u307f\uff0810\/21 13:39 UTC\uff09\u3001pkg\u306f8.2.34<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\u88dc\u8db3\u3067\u3059\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>php81\u306f2025-12-31\u306bSunset\uff08ports\u304b\u3089\u524a\u9664\uff09\u6e08\u307f<\/li>\n\n\n\n<li>php82\u306fdeprecated\uff08EOL 2026-12-31\uff09\u3067\u3059\u304c\u3001\u4eca\u56de\u306e\u4fee\u6b63\u7248\u306f\u51fa\u3066\u3044\u308b<\/li>\n\n\n\n<li>\u30c7\u30d5\u30a9\u30eb\u30c8\u306ePHP\u306f2026-09-28\u306b8.4\u304b\u30898.5\u306b\u5909\u66f4\u3055\u308c\u305f\uff08UPDATING\uff09<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">\u3084\u3063\u305f\u3053\u3068<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>pkg\u3092\u5f85\u305f\u305a\u3001ports\u304b\u3089\u30d3\u30eb\u30c9\u3059\u308b\n<ul class=\"wp-block-list\">\n<li>\u516c\u5f0fpkg\uff08quarterly\uff09\u306f8.3.35\u306e\u307e\u307e\u3067\u3001\u66f4\u65b0\u6642\u671f\u304c\u4e0d\u660e\u3060\u3063\u305f<\/li>\n\n\n\n<li>Web\u306b\u516c\u958b\u3057\u3066\u3044\u3066\u3001\u8a8d\u8a3c\u4e0d\u8981\u306eRCE\u306a\u306e\u3067\u3001\u5f85\u3064\u30ea\u30b9\u30af\u306e\u307b\u3046\u304c\u5927\u304d\u3044\u3068\u5224\u65ad\u3057\u305f<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>ports\u306fmain\u3067\u306f\u306a\u304f\u30012026Q4\u30d6\u30e9\u30f3\u30c1\u3092\u4f7f\u3046\n<ul class=\"wp-block-list\">\n<li>main\u306fquarterly\u306epkg\u3088\u308a\u65b0\u3057\u3044\u4f9d\u5b58\u3092\u8981\u6c42\u3059\u308b\u3053\u3068\u304c\u3042\u308b<\/li>\n\n\n\n<li>quarterly\u30d6\u30e9\u30f3\u30c1\u306a\u3089\u3001\u4eca\u5165\u3063\u3066\u3044\u308b\u30d1\u30c3\u30b1\u30fc\u30b8\u3068\u6574\u5408\u3059\u308b\uff08php83-8.3.36_1\u3092\u78ba\u8a8d\uff09<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>\u62e1\u5f35\u3082\u540c\u3058\u30d0\u30fc\u30b8\u30e7\u30f3\u306b\u63c3\u3048\u308b\n<ul class=\"wp-block-list\">\n<li>\u7279\u306bopcache\u3068session\u306f\u66f4\u65b0\u5fc5\u9808\u3068\u3057\u305f<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">\u5b9f\u884c\u624b\u9806<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">\u4e8b\u524d\u78ba\u8a8d<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u307e\u305a\u3001\u4eca\u306e\u72b6\u614b\u3068\u30ea\u30dd\u30b8\u30c8\u30ea\u5074\u306e\u72b6\u614b\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"\" style=\"font-size:.875rem;--cbp-line-number-color:#D4D4D4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span role=\"button\" tabindex=\"0\" style=\"color:#D4D4D4;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>php -v                                         # 8.3.35 \u3092\u78ba\u8a8d\npkg info -x php8\npkg update\npkg rquery '%n-%v' php83 php83-opcache         # \u30ea\u30dd\u30b8\u30c8\u30ea\u306f 8.3.35 \u306e\u307e\u307e\npkg -vv | grep -E 'FreeBSD:|url'               # quarterly \u3092\u4f7f\u7528\npkg query -g '%o' 'php83-*'                    # \u62e1\u5f35\u306e\u4e00\u89a7\npkg query '%o %n-%v' | grep -Ei 'php|pecl'     # PECL \u7cfb\u306f\u306a\u3057<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki dark-plus\" style=\"background-color: #1E1E1E\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #DCDCAA\">php<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #569CD6\">-v<\/span><span style=\"color: #D4D4D4\">                                         <\/span><span style=\"color: #6A9955\"># 8.3.35 \u3092\u78ba\u8a8d<\/span><\/span>\n<span class=\"line\"><span style=\"color: #DCDCAA\">pkg<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #CE9178\">info<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #569CD6\">-x<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #CE9178\">php8<\/span><\/span>\n<span class=\"line\"><span style=\"color: #DCDCAA\">pkg<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #CE9178\">update<\/span><\/span>\n<span class=\"line\"><span style=\"color: #DCDCAA\">pkg<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #CE9178\">rquery<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #CE9178\">&#39;%n-%v&#39;<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #CE9178\">php83<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #CE9178\">php83-opcache<\/span><span style=\"color: #D4D4D4\">         <\/span><span style=\"color: #6A9955\"># \u30ea\u30dd\u30b8\u30c8\u30ea\u306f 8.3.35 \u306e\u307e\u307e<\/span><\/span>\n<span class=\"line\"><span style=\"color: #DCDCAA\">pkg<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #569CD6\">-vv<\/span><span style=\"color: #D4D4D4\"> | <\/span><span style=\"color: #DCDCAA\">grep<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #569CD6\">-E<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #CE9178\">&#39;FreeBSD:|url&#39;<\/span><span style=\"color: #D4D4D4\">               <\/span><span style=\"color: #6A9955\"># quarterly \u3092\u4f7f\u7528<\/span><\/span>\n<span class=\"line\"><span style=\"color: #DCDCAA\">pkg<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #CE9178\">query<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #569CD6\">-g<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #CE9178\">&#39;%o&#39;<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #CE9178\">&#39;php83-*&#39;<\/span><span style=\"color: #D4D4D4\">                    <\/span><span style=\"color: #6A9955\"># \u62e1\u5f35\u306e\u4e00\u89a7<\/span><\/span>\n<span class=\"line\"><span style=\"color: #DCDCAA\">pkg<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #CE9178\">query<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #CE9178\">&#39;%o %n-%v&#39;<\/span><span style=\"color: #D4D4D4\"> | <\/span><span style=\"color: #DCDCAA\">grep<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #569CD6\">-Ei<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #CE9178\">&#39;php|pecl&#39;<\/span><span style=\"color: #D4D4D4\">     <\/span><span style=\"color: #6A9955\"># PECL \u7cfb\u306f\u306a\u3057<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-end;background-color:#1E1E1E;color:#c7c7c7;font-size:12px;line-height:1;position:relative\">Bash<\/span><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">ports\u30c4\u30ea\u30fc\u3092quarterly\u30d6\u30e9\u30f3\u30c1\u306b\u5207\u308a\u66ff\u3048<\/h3>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"\" style=\"font-size:.875rem;--cbp-line-number-color:#D4D4D4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span role=\"button\" tabindex=\"0\" style=\"color:#D4D4D4;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>git -C \/usr\/ports fetch --depth 1 origin 2026Q4\ngit -C \/usr\/ports checkout 2026Q4\nmake -C \/usr\/ports\/lang\/php83 -V PKGNAME        # php83-8.3.36_1\u3068\u3067\u305f\u3089OK\npkg info -f php83 | grep -A15 -i options        # \u73fe\u884cpkg\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\nmake -C \/usr\/ports\/lang\/php83 showconfig        # ports\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u78ba\u8a8d<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki dark-plus\" style=\"background-color: #1E1E1E\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #DCDCAA\">git<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #569CD6\">-C<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #CE9178\">\/usr\/ports<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #CE9178\">fetch<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #569CD6\">--depth<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #B5CEA8\">1<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #CE9178\">origin<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #B5CEA8\">2026<\/span><span style=\"color: #CE9178\">Q4<\/span><\/span>\n<span class=\"line\"><span style=\"color: #DCDCAA\">git<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #569CD6\">-C<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #CE9178\">\/usr\/ports<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #CE9178\">checkout<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #B5CEA8\">2026<\/span><span style=\"color: #CE9178\">Q4<\/span><\/span>\n<span class=\"line\"><span style=\"color: #DCDCAA\">make<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #569CD6\">-C<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #CE9178\">\/usr\/ports\/lang\/php83<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #569CD6\">-V<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #CE9178\">PKGNAME<\/span><span style=\"color: #D4D4D4\">        <\/span><span style=\"color: #6A9955\"># php83-8.3.36_1\u3068\u3067\u305f\u3089OK<\/span><\/span>\n<span class=\"line\"><span style=\"color: #DCDCAA\">pkg<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #CE9178\">info<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #569CD6\">-f<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #CE9178\">php83<\/span><span style=\"color: #D4D4D4\"> | <\/span><span style=\"color: #DCDCAA\">grep<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #569CD6\">-A15<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #569CD6\">-i<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #CE9178\">options<\/span><span style=\"color: #D4D4D4\">        <\/span><span style=\"color: #6A9955\"># \u73fe\u884cpkg\u306e\u30aa\u30d7\u30b7\u30e7\u30f3<\/span><\/span>\n<span class=\"line\"><span style=\"color: #DCDCAA\">make<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #569CD6\">-C<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #CE9178\">\/usr\/ports\/lang\/php83<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #CE9178\">showconfig<\/span><span style=\"color: #D4D4D4\">        <\/span><span style=\"color: #6A9955\"># ports\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u78ba\u8a8d<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-end;background-color:#1E1E1E;color:#c7c7c7;font-size:12px;line-height:1;position:relative\">Bash<\/span><\/div>\n\n\n\n<p class=\"wp-block-paragraph\"><code>make -V PKGNAME<\/code> \u3067\u671f\u5f85\u3057\u305f\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u51fa\u308b\u304b\u3069\u3046\u304b\u306f\u3001\u5fc5\u305a\u78ba\u8a8d\u3059\u308b\u3088\u3046\u306b\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u30d3\u30eb\u30c9\u3068\u5165\u308c\u66ff\u3048<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><code>reinstall<\/code> \u306f\u5148\u306bdeinstall\u3057\u3066\u304b\u3089\u5165\u308c\u76f4\u3059\u52d5\u304d\u306a\u306e\u3067\u3001\u30d3\u30eb\u30c9\u306b\u5931\u6557\u3059\u308b\u3068PHP\u81ea\u4f53\u304c\u6d88\u3048\u3066\u3057\u307e\u3044\u307e\u3059\u3002\u305d\u306e\u305f\u3081\u3001\u5148\u306b <code>clean build<\/code> \u3067\u30d3\u30eb\u30c9\u3060\u3051\u3092\u6e08\u307e\u305b\u3066\u3001\u6210\u529f\u3057\u3066\u304b\u3089\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"\" style=\"font-size:.875rem;--cbp-line-number-color:#D4D4D4;--cbp-line-number-width:calc(2 * 0.6 * .875rem);line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span role=\"button\" tabindex=\"0\" style=\"color:#D4D4D4;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>make -C \/usr\/ports\/lang\/php83 install-missing-packages\nmake -C \/usr\/ports\/lang\/php83 config            # DTRACE \u306e\u30c1\u30a7\u30c3\u30af\u3092\u5916\u3059\nmake -C \/usr\/ports\/lang\/php83 clean build       # \u30d3\u30eb\u30c9\nmake -C \/usr\/ports\/lang\/php83 reinstall clean   # \u518d\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\n\n# \u62e1\u5f35\u30d1\u30c3\u30b1\u30fc\u30b8\u3082\u540c\u69d8\u306b\nfor o in $(pkg query -g '%o' 'php83-*'); do\n  make -C \/usr\/ports\/$o clean build             \ndone\nfor o in $(pkg query -g '%o' 'php83-*'); do\n  make -C \/usr\/ports\/$o reinstall clean       \ndone<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki dark-plus\" style=\"background-color: #1E1E1E\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #DCDCAA\">make<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #569CD6\">-C<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #CE9178\">\/usr\/ports\/lang\/php83<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #CE9178\">install-missing-packages<\/span><\/span>\n<span class=\"line\"><span style=\"color: #DCDCAA\">make<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #569CD6\">-C<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #CE9178\">\/usr\/ports\/lang\/php83<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #CE9178\">config<\/span><span style=\"color: #D4D4D4\">            <\/span><span style=\"color: #6A9955\"># DTRACE \u306e\u30c1\u30a7\u30c3\u30af\u3092\u5916\u3059<\/span><\/span>\n<span class=\"line\"><span style=\"color: #DCDCAA\">make<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #569CD6\">-C<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #CE9178\">\/usr\/ports\/lang\/php83<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #CE9178\">clean<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #CE9178\">build<\/span><span style=\"color: #D4D4D4\">       <\/span><span style=\"color: #6A9955\"># \u30d3\u30eb\u30c9<\/span><\/span>\n<span class=\"line\"><span style=\"color: #DCDCAA\">make<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #569CD6\">-C<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #CE9178\">\/usr\/ports\/lang\/php83<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #CE9178\">reinstall<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #CE9178\">clean<\/span><span style=\"color: #D4D4D4\">   <\/span><span style=\"color: #6A9955\"># \u518d\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #6A9955\"># \u62e1\u5f35\u30d1\u30c3\u30b1\u30fc\u30b8\u3082\u540c\u69d8\u306b<\/span><\/span>\n<span class=\"line\"><span style=\"color: #C586C0\">for<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #9CDCFE\">o<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #C586C0\">in<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #CE9178\">$(<\/span><span style=\"color: #DCDCAA\">pkg<\/span><span style=\"color: #CE9178\"> query <\/span><span style=\"color: #569CD6\">-g<\/span><span style=\"color: #CE9178\"> &#39;%o&#39; &#39;php83-*&#39;)<\/span><span style=\"color: #D4D4D4\">; <\/span><span style=\"color: #C586C0\">do<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D4D4D4\">  <\/span><span style=\"color: #DCDCAA\">make<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #569CD6\">-C<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #CE9178\">\/usr\/ports\/<\/span><span style=\"color: #9CDCFE\">$o<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #CE9178\">clean<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #CE9178\">build<\/span><span style=\"color: #D4D4D4\">             <\/span><\/span>\n<span class=\"line\"><span style=\"color: #C586C0\">done<\/span><\/span>\n<span class=\"line\"><span style=\"color: #C586C0\">for<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #9CDCFE\">o<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #C586C0\">in<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #CE9178\">$(<\/span><span style=\"color: #DCDCAA\">pkg<\/span><span style=\"color: #CE9178\"> query <\/span><span style=\"color: #569CD6\">-g<\/span><span style=\"color: #CE9178\"> &#39;%o&#39; &#39;php83-*&#39;)<\/span><span style=\"color: #D4D4D4\">; <\/span><span style=\"color: #C586C0\">do<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D4D4D4\">  <\/span><span style=\"color: #DCDCAA\">make<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #569CD6\">-C<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #CE9178\">\/usr\/ports\/<\/span><span style=\"color: #9CDCFE\">$o<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #CE9178\">reinstall<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #CE9178\">clean<\/span><span style=\"color: #D4D4D4\">       <\/span><\/span>\n<span class=\"line\"><span style=\"color: #C586C0\">done<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-end;background-color:#1E1E1E;color:#c7c7c7;font-size:12px;line-height:1;position:relative\">Bash<\/span><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">\u8d77\u52d5\u524d\u306e\u78ba\u8a8d\u3068\u518d\u8d77\u52d5<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u518d\u8d77\u52d5\u3059\u308b\u524d\u306b\u3001\u8a2d\u5b9a\u306e\u30c6\u30b9\u30c8\u3092\u3057\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"\" style=\"font-size:.875rem;--cbp-line-number-color:#D4D4D4;--cbp-line-number-width:calc(2 * 0.6 * .875rem);line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span role=\"button\" tabindex=\"0\" style=\"color:#D4D4D4;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>$ php -v                  \nPHP 8.3.36 (cli) (built: Oct 22 2026 09:34:41) (NTS)\nCopyright (c) The PHP Group\nZend Engine v4.3.36, Copyright (c) Zend Technologies\n    with Zend OPcache v8.3.36, Copyright (c), by Zend Technologies\n    \n    \n$ php -m\n&#91;PHP Modules&#93;\nCore\ncurl\n.\n.\n.\nxml\nZend OPcache\nzip\n\n&#91;Zend Modules&#93;\nZend OPcache\n\n\n$ sudo php-fpm -t         \n&#91;22-Oct-2026 11:59:18&#93; NOTICE: configuration file \/usr\/local\/etc\/php-fpm.conf test is successful\n\n$ sudo service php_fpm restart<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki dark-plus\" style=\"background-color: #1E1E1E\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #DCDCAA\">$<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #CE9178\">php<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #569CD6\">-v<\/span><span style=\"color: #D4D4D4\">                  <\/span><\/span>\n<span class=\"line\"><span style=\"color: #DCDCAA\">PHP<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #B5CEA8\">8.3<\/span><span style=\"color: #CE9178\">.36<\/span><span style=\"color: #D4D4D4\"> (cli) (<\/span><span style=\"color: #DCDCAA\">built:<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #CE9178\">Oct<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #B5CEA8\">22<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #B5CEA8\">2026<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #B5CEA8\">09<\/span><span style=\"color: #CE9178\">:34:41<\/span><span style=\"color: #D4D4D4\">) (<\/span><span style=\"color: #DCDCAA\">NTS<\/span><span style=\"color: #D4D4D4\">)<\/span><\/span>\n<span class=\"line\"><span style=\"color: #DCDCAA\">Copyright<\/span><span style=\"color: #D4D4D4\"> (c) The PHP Group<\/span><\/span>\n<span class=\"line\"><span style=\"color: #DCDCAA\">Zend<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #CE9178\">Engine<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #CE9178\">v4.3.36,<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #CE9178\">Copyright<\/span><span style=\"color: #D4D4D4\"> (c) Zend Technologies<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D4D4D4\">    <\/span><span style=\"color: #DCDCAA\">with<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #CE9178\">Zend<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #CE9178\">OPcache<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #CE9178\">v8.3.36,<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #CE9178\">Copyright<\/span><span style=\"color: #D4D4D4\"> (c), by Zend Technologies<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D4D4D4\">    <\/span><\/span>\n<span class=\"line\"><span style=\"color: #D4D4D4\">    <\/span><\/span>\n<span class=\"line\"><span style=\"color: #DCDCAA\">$<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #CE9178\">php<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #569CD6\">-m<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D4D4D4\">&#91;PHP Modules&#93;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #DCDCAA\">Core<\/span><\/span>\n<span class=\"line\"><span style=\"color: #DCDCAA\">curl<\/span><\/span>\n<span class=\"line\"><span style=\"color: #DCDCAA\">.<\/span><\/span>\n<span class=\"line\"><span style=\"color: #DCDCAA\">.<\/span><\/span>\n<span class=\"line\"><span style=\"color: #DCDCAA\">.<\/span><\/span>\n<span class=\"line\"><span style=\"color: #DCDCAA\">xml<\/span><\/span>\n<span class=\"line\"><span style=\"color: #DCDCAA\">Zend<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #CE9178\">OPcache<\/span><\/span>\n<span class=\"line\"><span style=\"color: #DCDCAA\">zip<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #D4D4D4\">&#91;Zend Modules&#93;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #DCDCAA\">Zend<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #CE9178\">OPcache<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #DCDCAA\">$<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #CE9178\">sudo<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #CE9178\">php-fpm<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #569CD6\">-t<\/span><span style=\"color: #D4D4D4\">         <\/span><\/span>\n<span class=\"line\"><span style=\"color: #D4D4D4\">&#91;<\/span><span style=\"color: #B5CEA8\">22<\/span><span style=\"color: #D4D4D4\">-Oct-2026 <\/span><span style=\"color: #B5CEA8\">11<\/span><span style=\"color: #D4D4D4\">:59:18&#93; NOTICE: configuration file \/usr\/local\/etc\/php-fpm.conf test is successful<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #DCDCAA\">$<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #CE9178\">sudo<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #CE9178\">service<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #CE9178\">php_fpm<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #CE9178\">restart<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-end;background-color:#1E1E1E;color:#c7c7c7;font-size:12px;line-height:1;position:relative\">Bash<\/span><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">\u30cf\u30de\u3063\u305f\u3053\u3068<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">\u30d3\u30eb\u30c9\u304clld\u306e\u30a8\u30e9\u30fc\u3067\u5931\u6557\u3057\u305f<\/h3>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"\" style=\"font-size:.875rem;--cbp-line-number-color:#D4D4D4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span role=\"button\" tabindex=\"0\" style=\"color:#D4D4D4;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>ld.lld: error: Zend\/.libs\/zend_dtrace.d.o requires an executable stack, but -z execstack is not specified<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki dark-plus\" style=\"background-color: #1E1E1E\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #DCDCAA\">ld.lld:<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #CE9178\">error:<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #CE9178\">Zend\/.libs\/zend_dtrace.d.o<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #CE9178\">requires<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #CE9178\">an<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #CE9178\">executable<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #CE9178\">stack,<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #CE9178\">but<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #569CD6\">-z<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #CE9178\">execstack<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #CE9178\">is<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #CE9178\">not<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #CE9178\">specified<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-end;background-color:#1E1E1E;color:#c7c7c7;font-size:12px;line-height:1;position:relative\">Bash<\/span><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">DTRACE\u30aa\u30d7\u30b7\u30e7\u30f3\u304c\u751f\u6210\u3059\u308b\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u3001lld\u304c\u62d2\u5426\u3057\u3066\u3044\u308b\u3068\u898b\u3089\u308c\u307e\u3059\u3002\u305f\u3060\u3057\u3053\u308c\u306f\u63a8\u6e2c\u3067\u3001\u540c\u4e00\u306e\u5831\u544a\u306f\u78ba\u8a8d\u3067\u304d\u3066\u3044\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>make config<\/code> \u3067DTRACE\u3092\u5916\u3057\u3066\u30d3\u30eb\u30c9\u3057\u305f\u3068\u3053\u308d\u3001\u6210\u529f\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>-z execstack<\/code> \u3092\u6307\u5b9a\u3059\u308b\u56de\u907f\u7b56\u3082\u3042\u308a\u305d\u3046\u3067\u3059\u304c\u3001\u30b9\u30bf\u30c3\u30af\u304c\u5b9f\u884c\u53ef\u80fd\u306b\u306a\u3063\u3066\u5805\u7262\u6027\u304c\u4e0b\u304c\u308b\u306e\u3067\u3001\u4f7f\u3044\u307e\u305b\u3093\u3067\u3057\u305f\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u306a\u304a\u3001\u30ed\u30b0\u306b\u51fa\u3066\u3044\u305f <code>MAKE_JOBS_UNSAFE=yes<\/code> \u306e\u30d2\u30f3\u30c8\u306f\u6c4e\u7528\u30e1\u30c3\u30bb\u30fc\u30b8\u3067\u3001\u4eca\u56de\u306e\u539f\u56e0\u3068\u306f\u7121\u95a2\u4fc2\u3067\u3057\u305f\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><br>\u4ee5\u4e0b\u4f5c\u696d\u7d42\u4e86\u5f8c\u306e\u72b6\u614b\u3067\u3059\u3002<br><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>php -v<\/code>\uff08CLI\uff09: PHP 8.3.36\uff08built: Oct 22 2026 09:34:41\uff09\u3001OPcache 8.3.36<\/li>\n\n\n\n<li><code>php-fpm -v<\/code>: PHP 8.3.36\uff08fpm-fcgi\uff09\u3001OPcache 8.3.36<\/li>\n\n\n\n<li><code>php-fpm -t<\/code>: test is successful<\/li>\n\n\n\n<li>php-fpm: \u8d77\u52d5\u78ba\u8a8d\u6e08<\/li>\n\n\n\n<li>\u30d3\u30eb\u30c9\u30aa\u30d7\u30b7\u30e7\u30f3: DTRACE=off<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\/usr\/local\/etc\/php\/ \u306b\u3042\u308b <code>ext-20-filter.ini<\/code> \u3068 <code>ext-20-phar.ini<\/code> \u306f\u3001\u3069\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u306b\u3082\u5c5e\u3055\u306a\u3044\u53e4\u3044\u30d5\u30a1\u30a4\u30eb\u3067\u3057\u305f\u3002<code>php -v<\/code> \u306b\u8b66\u544a\u306f\u51fa\u3066\u3044\u306a\u3044\u306e\u3067\u3001\u653e\u7f6e\u3067\u554f\u984c\u306a\u3055\u305d\u3046\u3067\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u8106\u5f31\u306a\u72b6\u614b\u3067\u516c\u958b\u3057\u3066\u3044\u305f\u671f\u9593\u306f\u3001\u304a\u304a\u3088\u305d10\/21\u591c\u306e\u4fee\u6b63\u7248\u516c\u958b\u304b\u3089\u300110\/22\u671d\u306e\u66f4\u65b0\u5b8c\u4e86\u307e\u3067\u3067\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u4fee\u6b63\u5f8c\u306e\u78ba\u8a8d\u4e8b\u9805<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">\u4fb5\u5bb3\u306e\u6709\u7121\u306e\u78ba\u8a8d<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u4fee\u6b63\u7248\u306e\u516c\u958b\u304b\u3089\u66f4\u65b0\u5b8c\u4e86\u307e\u3067\u306f\u8106\u5f31\u306a\u72b6\u614b\u3060\u3063\u305f\u306e\u3067\u3001\u5ff5\u306e\u305f\u3081\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"\" style=\"font-size:.875rem;--cbp-line-number-color:#D4D4D4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span role=\"button\" tabindex=\"0\" style=\"color:#D4D4D4;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>find \/usr\/local\/www\/apache24\/data -name '*.php' -mtime -3 -ls<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki dark-plus\" style=\"background-color: #1E1E1E\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #DCDCAA\">find<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #CE9178\">\/usr\/local\/www\/apache24\/data<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #569CD6\">-name<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #CE9178\">&#39;*.php&#39;<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #569CD6\">-mtime<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #569CD6\">-3<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #569CD6\">-ls<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-end;background-color:#1E1E1E;color:#c7c7c7;font-size:12px;line-height:1;position:relative\">Bash<\/span><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u66f4\u65b0\u3057\u305f\u899a\u3048\u306e\u306a\u3044\u5834\u6240\u306e\u30d5\u30a1\u30a4\u30eb\u3084\u3001uploads\u914d\u4e0b\u306e <code>.php<\/code> \u304c\u306a\u3044\u304b\u3092\u898b\u307e\u3059\u3002\u4eca\u306e\u3068\u3053\u308d\u306f\u554f\u984c\u306a\u3044\u3088\u3046\u3067\u3059\u304c\u3001Apache\u306e\u30a2\u30af\u30bb\u30b9\u30ed\u30b0\u3067\u3001\u8eab\u306b\u899a\u3048\u306e\u306a\u3044POST\u306e\u6025\u5897\u304c\u306a\u3044\u304b\u3082\u78ba\u8a8d\u3059\u308b\u4e88\u5b9a\u3067\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u65b0\u3057\u3044\u30cf\u30fc\u30c9\u30e1\u30e2\u30ea\u4e0a\u9650<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u4eca\u56de\u306e\u4fee\u6b63\u3067\u65b0\u3057\u3044\u30cf\u30fc\u30c9\u30e1\u30e2\u30ea\u4e0a\u9650\u304c\u52a0\u308f\u308a\u3001\u5230\u9054\u3059\u308b\u3068\u30d7\u30ed\u30bb\u30b9\u304c\u7d42\u4e86\u3057\u3066\u3001shutdown\u30cf\u30f3\u30c9\u30e9\u304c\u5b9f\u884c\u3055\u308c\u306a\u3044\u3068\u306e\u3053\u3068\u3067\u3059\u3002<code>memory_limit<\/code> \u3068 <code>post_max_size<\/code> \u304c\u3001\u30a2\u30d7\u30ea\u306e\u8981\u4ef6\u306b\u5408\u3063\u3066\u3044\u308b\u304b\u3092\u898b\u76f4\u305d\u3046\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u307e\u3068\u3081<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u3084\u3063\u305f\u3053\u3068\u81ea\u4f53\u306f\u3001ports\u30922026Q4\u30d6\u30e9\u30f3\u30c1\u306b\u5207\u308a\u66ff\u3048\u3066\u3001DTRACE\u3092\u5916\u3057\u3066php83\u3068\u62e1\u5f35\u3092\u5165\u308c\u76f4\u3057\u305f\u3060\u3051\u3067\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u307e\u305f\u3001pkg audit\u306b\u51fa\u306a\u3044\u6bb5\u968e\u3067\u3082\u6df1\u523b\u306a\u8106\u5f31\u6027\u304c\u516c\u958b\u3055\u308c\u308b\u3053\u3068\u304c\u3042\u308b\u3001\u3068\u3044\u3046\u306e\u3082\u6539\u3081\u3066\u5b9f\u611f\u3057\u307e\u3057\u305f\u3002VuXML\u3092\u5f85\u305f\u305a\u306b\u3001\u672c\u5bb6\u306e\u60c5\u5831\u3068ports\u306e\u66f4\u65b0\u72b6\u6cc1\u3092\u76f4\u63a5\u898b\u306b\u884c\u304f\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">make reinstall\u306f\u3001\u5148\u306bdeinstall\u3059\u308b\u306e\u3067\u3001\u30d3\u30eb\u30c9\u306b\u5931\u6557\u3059\u308b\u3068(\u4eca\u56de\u306e\u5834\u5408\u306fphp\u304c)\u6d88\u3048\u3066\u3057\u307e\u3046\u306e\u3067\u3001\u5148\u306bclean build\u3067\u30d3\u30eb\u30c9\u3092\u6e08\u307e\u305b\u3066\u304b\u3089\u3084\u308b\u306e\u304c\u5b89\u5168\u304b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u307e\u305f\u3001ZFS\u74b0\u5883\u306a\u3089\u4f5c\u696d\u524d\u306bsnapshot\u3092\u53d6\u3063\u3066\u304a\u3051\u3070\u8272\u3005\u3042\u3063\u3066\u3082\u5b89\u5fc3\u3067\u3059\u3002<br>\u4eca\u56de\u306e\u3088\u3046\u306a\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u306e\u5834\u5408\u3001PHP\u306e\u30b3\u30a2\u3060\u3051\u3067\u306f\u306a\u304f\u3001\u62e1\u5f35(opcache\u3084session)\u3082\u540c\u3058\u30d0\u30fc\u30b8\u30e7\u30f3\u306b\u63c3\u3048\u308b\u5fc5\u8981\u304c\u3042\u308b\u306e\u3067\u3001\u74b0\u5883\u3054\u3068\u306b\u78ba\u8a8d\u3092\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><br>\u4eca\u5f8c\u306f\u3001memory_limit\u307e\u308f\u308a\u306e\u898b\u76f4\u3057\u304c\u6b8b\u3063\u3066\u3044\u308b\u306e\u3067\u3001\u307c\u3061\u307c\u3061\u3084\u3063\u3066\u3044\u3053\u3046\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u53c2\u8003\u306b\u3057\u305f\u8a18\u4e8b<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/www.wiz.io\/blog\/php2shell-php-rce\">Wiz: PHP2Shell<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/en.wikipedia.org\/wiki\/PHP2Shell\">PHP2Shell\uff08Wikipedia\uff09<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/patchstack.com\/articles\/php-major-vulnerability-alert-10-2026\/\">Patchstack: PHP vulnerable to critical RCE<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/blog.qualys.com\/vulnerabilities-threat-research\/2026\/10\/20\/php-announces-critical-security-release-for-two-vulnerabilities\">Qualys: PHP2Shell<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/sec.cloudapps.cisco.com\/security\/center\/content\/CiscoSecurityAdvisory\/cisco-sa-php-october26-Jj384Daq\">Cisco Security Advisory: PHP October 2026<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/thehackernews.com\/2026\/10\/php-issues-emergency-patches-for-two.html\">The Hacker News: PHP Issues Emergency Patches for Two Critical PHP2Shell RCE Flaws<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.freshports.org\/lang\/php83\/\">FreshPorts: lang\/php83<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.freshports.org\/lang\/php85\/\">FreshPorts: lang\/php85<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/vuxml.freebsd.org\/freebsd\/\">FreeBSD VuXML<\/a><\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\u304a\u308f\u308a<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Updating php83 from ports for PHP2Shell (FreeBSD) \u4e8b\u306e\u767a\u7aef 2026-10-21\u306b\u3001PHP\u672c\u4f53\u306e\u8106\u5f31\u6027\u304c2\u4ef6\u516c\u958b\u3055\u308c\u307e\u3057\u305f\u3002\u901a\u79f0PHP2Shell\u3068\u547c\u3070\u308c\u3066\u3044\u308b\u307f\u305f\u3044\u3067\u3059 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"cybocfi_hide_featured_image":"","footnotes":""},"categories":[108,54,263],"tags":[264,265],"class_list":["post-3259","post","type-post","status-publish","format-standard","hentry","category-freebsd","category-php","category-security","tag-php-fpm","tag-ports"],"_links":{"self":[{"href":"https:\/\/bokumin.org\/blog\/wp-json\/wp\/v2\/posts\/3259","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bokumin.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bokumin.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bokumin.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/bokumin.org\/blog\/wp-json\/wp\/v2\/comments?post=3259"}],"version-history":[{"count":18,"href":"https:\/\/bokumin.org\/blog\/wp-json\/wp\/v2\/posts\/3259\/revisions"}],"predecessor-version":[{"id":3280,"href":"https:\/\/bokumin.org\/blog\/wp-json\/wp\/v2\/posts\/3259\/revisions\/3280"}],"wp:attachment":[{"href":"https:\/\/bokumin.org\/blog\/wp-json\/wp\/v2\/media?parent=3259"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bokumin.org\/blog\/wp-json\/wp\/v2\/categories?post=3259"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bokumin.org\/blog\/wp-json\/wp\/v2\/tags?post=3259"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}