{"id":8998,"date":"2025-02-23T16:38:07","date_gmt":"2025-02-23T07:38:07","guid":{"rendered":"https:\/\/arakoki70.com\/?p=8998"},"modified":"2025-03-03T08:42:41","modified_gmt":"2025-03-02T23:42:41","slug":"php%e3%82%92%e3%83%aa%e3%83%9d%e3%82%b8%e3%83%88%e3%83%aa%e3%82%92%e8%bf%bd%e5%8a%a0%e3%81%97%e3%81%a6%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%99%e3%82%8b","status":"publish","type":"post","link":"https:\/\/arakoki70.com\/?p=8998","title":{"rendered":"nginx + PHP\u3092\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u6307\u5b9a\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b"},"content":{"rendered":"<div style=\"background: #f5f5f5; padding: 10px; border: 2px solid #800000; text-align: center; box-shadow: 5px 5px 5px #aaa; font-size: 16px;\"><span style=\"font-size: 14pt;\"><strong><span style=\"font-size: 12pt;\"><a class=\"google-anno\" href=\"https:\/\/arakoki70.com\/#\" data-google-vignette=\"false\" data-google-interstitial=\"false\"><span class=\"google-anno-t\">Raspberry Pi<\/span><\/a> Web <a class=\"google-anno\" href=\"https:\/\/arakoki70.com\/#\" data-google-vignette=\"false\" data-google-interstitial=\"false\">\u00a0<span class=\"google-anno-t\">\u30b5\u30fc\u30d0\u30fc<\/span><\/a>\u306e\u69cb\u7bc9<\/span><br \/>\r\nnginx + WordPress<br \/>\r\nPHP\u3092\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u6307\u5b9a\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/strong><\/span><\/div>\r\n<div>\u00a0<\/div>\r\n<div>PHP\u306e\u65b0\u3057\u3044\u30d0\u30fc\u30b8\u30e7\u30f3\u306b\u306f\u3001\u65b0\u3057\u3044\u6a5f\u80fd\u3084\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u306e\u5411\u4e0a\u304c\u542b\u307e\u308c\u3066\u3044\u308b\u3002WordPress\u3084\u4ed6\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3067\u65b0\u3057\u3044PHP\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u63a8\u5968\u3055\u308c\u308b\u3053\u3068\u304c\u3042\u308b\u304c\u3001Raspberry Pi OS \u306e\u300c\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u30ea\u30dd\u30b8\u30c8\u30ea\u300d\u306e\u4e0b\u3067\u306f\u6700\u65b0\u30d0\u30fc\u30b8\u30e7\u30f3\u306ePHP\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u4e8b\u304c\u51fa\u6765\u306a\u3044\u3002<\/div>\r\n<div>\u00a0<\/div>\r\n<div><a href=\"https:\/\/arakoki70.com\/wp-content\/uploads\/2025\/02\/php-fpm_0111.png\" data-rel=\"lightbox-gallery-3lz2B74p\" data-rl_title=\"php-fpm_0111\" data-rl_caption=\"\" title=\"php-fpm_0111\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-9001\" src=\"https:\/\/arakoki70.com\/wp-content\/uploads\/2025\/02\/php-fpm_0111.png\" alt=\"PHP\u516c\u5f0f\u30b5\u30a4\u30c8\u3067\u3001\u6700\u65b0\u7248\u306ePHP\u3092\u78ba\u8a8d\u3059\u308b\" width=\"800\" height=\"533\" \/><\/a><\/div>\r\n<div>\u00a0<\/div>\r\n<div>\u4ee5\u4e0b\u306b\u3001nginx \u3067 WordPress \u3092\u7a3c\u50cd\u3055\u305b\u308b\u305f\u3081\u306b\u5fc5\u8981\u306a\u300c\u6700\u65b0\u306ePHP\u300d\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u65b9\u6cd5\u3068\u305d\u306e\u6ce8\u610f\u70b9\u3092\u307e\u3068\u3081\u305f\u3002<\/div>\r\n<div><!--more--><\/div>\r\n<div>\u00a0<\/div>\r\n<div>\u00a0<\/div>\r\n<div>\t<p>&nbsp;<\/p>\n\t<div align=\"center\" style=\"font-size:8pt;\">\u30b9\u30dd\u30f3\u30b5\u30fc \u30ea\u30f3\u30af<br \/>\n<!-- \t<script async src=\"\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script> -->\n\t<!-- \u8a18\u4e8b\u30fb\u30ec\u30b9\u30dd\u30f3\u30b7\u30d6-7 -->\n\t<ins class=\"adsbygoogle\"\n     style=\"display:block\"\n     data-ad-client=\"ca-pub-3816629014893825\"\n     data-ad-slot=\"1428770894\"\n     data-ad-format=\"auto\"\n     data-full-width-responsive=\"true\"><\/ins>\n\t<script>\n\t(adsbygoogle = window.adsbygoogle || []).push({});\n\t<\/script>\n\t<amp-ad width=\"100vw\" height=\"320\"\n     type=\"adsense\"\n     data-ad-client=\"ca-pub-3816629014893825\"\n     data-ad-slot=\"1428770894\"\n     data-auto-format=\"rspv\"\n     data-full-width=\"\">\n\t <div overflow=\"\"><\/div>\n\t<\/amp-ad>\n\t<\/div>\n\t<p>&nbsp;<\/p>\n<\/div>\r\n<div>\u00a0<\/div>\r\n<div>\u00a0<\/div>\r\n<div style=\"border: 1px solid #c0c0c0; padding: 7px; background: #f5f5f5; border-radius: 8px; position: relative; top: 0px; font-family: Arial, Helvetica, sans-serif; font-size: 16px;\">\r\n<div><strong><span style=\"font-size: 14pt;\">\u3000\u76ee\u3000\u6b21<\/span><\/strong><\/div>\r\n<div style=\"margin-left: 20pt; line-height: 200%;\"><span style=\"color: magenta;\">1.\u3000<\/span><a href=\"#title1\"><strong>WordPress\u306b\u5fc5\u8981\u306aPHP\u30e2\u30b8\u30e5\u30fc\u30eb<\/strong><\/a><br \/>\r\n<span style=\"color: magenta;\">2.\u3000<\/span><a href=\"#title2\"><strong>sudo apt install php \u3092\u5b9f\u884c\u3057\u3066\u306f\u306a\u3089\u306a\u3044<\/strong><\/a><br \/>\r\n<span style=\"color: magenta;\">3.\u3000<\/span><a href=\"#title3\"><strong>php-fpm \u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306b\u3064\u3044\u3066<\/strong><\/a><br \/>\r\n<span style=\"color: magenta;\">4.\u3000<\/span><a href=\"#title4\"><strong>sudo apt install php8.3 \u306e\u610f\u5473<\/strong><\/a><br \/>\r\n<span style=\"color: magenta;\">5.\u3000<\/span><a href=\"#title5\"><strong>\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u8ffd\u52a0\u3068PHP\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/strong><\/a><br \/>\r\n<span style=\"color: magenta;\">6.\u3000<\/span><a href=\"#title6\"><strong>\u8907\u6570\u30d0\u30fc\u30b8\u30e7\u30f3\u306e\u5207\u308a\u66ff\u3048\u3068\u30a2\u30f3\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/strong><\/a><\/div>\r\n<\/div>\r\n<div>\u00a0<\/div>\r\n<div id=\"title1\">\u00a0<\/div>\r\n<div>\u00a0<\/div>\r\n<div style=\"border: 1px solid #800000; padding: 5px 10px 3px 10px; background: #c5ff88;\"><strong>1. WordPress\u306b\u5fc5\u8981\u306aPHP\u30e2\u30b8\u30e5\u30fc\u30eb<\/strong><\/div>\r\n<div>\u00a0<\/div>\r\n<div>WordPress\u3092Nginx\u3067\u7a3c\u50cd\u3055\u305b\u308b\u305f\u3081\u306b\u5fc5\u8981\u306aPHP\u30e2\u30b8\u30e5\u30fc\u30eb\u3002<\/div>\r\n<div>\u00a0<\/div>\r\n<div>\u2460. <strong>php-fpm<\/strong>\uff08PHP FastCGI Process Manager\uff09<br \/>\r\nNginx\u306fFastCGI\u3092\u4f7f\u7528\u3057\u3066PHP\u3092\u51e6\u7406\u3059\u308b\u305f\u3081\u3001php-fpm\u304c\u5fc5\u8981\u3002<\/div>\r\n<div>\u00a0<\/div>\r\n<div>\u2461. <strong>php-mysql<\/strong><br \/>\r\nWordPress\u306f\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3068\u3057\u3066MySQL\uff08\u307e\u305f\u306fMariaDB\uff09\u3092\u4f7f\u7528\u3059\u308b\u3002<\/div>\r\n<div>\u00a0<\/div>\r\n<div>\u2462. <strong>php-curl<\/strong><br \/>\r\n\u5916\u90e8API\u3068\u306e\u901a\u4fe1\u3084\u66f4\u65b0\u30c1\u30a7\u30c3\u30af\u3067\u4f7f\u7528\u3055\u308c\u308b\u3002<\/div>\r\n<div>\u00a0<\/div>\r\n<div>\u2463. <strong>php-gd<\/strong><br \/>\r\n\u753b\u50cf\u306e\u51e6\u7406\uff08\u30b5\u30e0\u30cd\u30a4\u30eb\u751f\u6210\u306a\u3069\uff09\u3067\u5fc5\u8981\u3002<\/div>\r\n<div>\u00a0<\/div>\r\n<div>\u2464. <strong>php-xml<\/strong><br \/>\r\nWordPress\u306eXML\u95a2\u9023\u6a5f\u80fd\u3084\u30c6\u30fc\u30de\u30fb\u30d7\u30e9\u30b0\u30a4\u30f3\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6642\u306b\u4f7f\u7528\u3055\u308c\u308b\u3002<\/div>\r\n<div>\u00a0<\/div>\r\n<div>\u2465. <strong>php-mbstring<\/strong><br \/>\r\n\u30de\u30eb\u30c1\u30d0\u30a4\u30c8\u6587\u5b57\u5217\u306e\u51e6\u7406\uff08\u7279\u306b\u65e5\u672c\u8a9e\u74b0\u5883\uff09\u306b\u5fc5\u8981\u3002<\/div>\r\n<div>\u00a0<\/div>\r\n<div>\u2466. <strong>php-zip<\/strong><br \/>\r\n\u30d7\u30e9\u30b0\u30a4\u30f3\u3084\u30c6\u30fc\u30de\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u30fb\u66f4\u65b0\u3067ZIP\u30d5\u30a1\u30a4\u30eb\u3092\u6271\u3046\u305f\u3081\u306b\u5fc5\u8981\u3002<\/div>\r\n<div>\u00a0<\/div>\r\n<div>\u2467. <strong>php-soap<\/strong><br \/>\r\n\u7279\u5b9a\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u3067SOAP\u901a\u4fe1\u304c\u5fc5\u8981\u306a\u5834\u5408\u306b\u4f7f\u3046\u3002<\/div>\r\n<div>\u00a0<\/div>\r\n<div>\u2468. <strong>php-intl<\/strong><br \/>\r\n\u56fd\u969b\u5316\u6a5f\u80fd\u3084\u8a00\u8a9e\u95a2\u9023\u306e\u6a5f\u80fd\u3092\u5f37\u5316\u3059\u308b\u305f\u3081\u306b\u4f7f\u7528\u3055\u308c\u308b\u3002<\/div>\r\n<div>\u00a0<\/div>\r\n<div>\u2469. <strong>php-bcmath<\/strong> <br \/>\r\n\u4efb\u610f\u306e\u7cbe\u5ea6\u3067\u6d6e\u52d5\u5c0f\u6570\u70b9\u306e\u8a08\u7b97\u3092\u884c\u3046\u305f\u3081\u306e\u95a2\u6570\u7fa4\u3002<\/div>\r\n<div>\u00a0<\/div>\r\n<div>\u246a. <strong>php-imagick<\/strong><br \/>\r\nPHP\u304b\u3089ImageMagick API\u3092\u4f7f\u3063\u3066\u753b\u50cf\u30d5\u30a1\u30a4\u30eb\u306e\u4f5c\u6210\u30fb\u7de8\u96c6\u3092\u884c\u3046\u3002<\/div>\r\n<div>\u00a0<\/div>\r\n<div>\u203b\uff1a<strong>php-json<\/strong>\uff1aWordPress\u306e\u30b3\u30a2\u6a5f\u80fd\u3067JSON\u306e\u51e6\u7406\u304c\u4f7f\u7528\u3055\u308c\u308b\u3002<br \/>\r\n\u306f\u3001\u4f9d\u5b58\u95a2\u4fc2\u3067\u81ea\u52d5\u7684\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u308b\u3002<\/div>\r\n<div>\u00a0<\/div>\r\n<div id=\"title2\">\u00a0<\/div>\r\n<div>\u00a0<\/div>\r\n<div style=\"border: 1px solid #800000; padding: 5px 10px 3px 10px; background: #c5ff88;\"><strong>2. sudo apt install php \u3092\u5b9f\u884c\u3057\u3066\u306f\u306a\u3089\u306a\u3044<\/strong><\/div>\r\n<div>\u00a0<\/div>\r\n<div>sudo apt install php \u3092\u5b9f\u884c\u3059\u308b\u3068\u3001<strong><span style=\"color: #ff0000;\">Apache\u3082\u4e00\u7dd2\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u308b<\/span><\/strong>\u3002<\/div>\r\n<div>\u00a0<\/div>\r\n<div><span style=\"color: #0000ff;\"><strong>php \u30d1\u30c3\u30b1\u30fc\u30b8<\/strong><\/span>\u306f\u300c\u30e1\u30bf\u30d1\u30c3\u30b1\u30fc\u30b8\u300d\u3067\u3042\u308a\u3001\u6b21\u306e\u3088\u3046\u306a\u5f79\u5272\u3092\u6301\u3064\u3002<br \/>\r\n\u30fb\u30b7\u30b9\u30c6\u30e0\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u308bPHP\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u30d0\u30fc\u30b8\u30e7\u30f3\uff08\u4f8b\uff1aphp8.2 \u3084 php8.3\uff09\u3092\u6c7a\u5b9a\u3059\u308b\u3002<br \/>\r\n\u30fbApache\u7528\u30e2\u30b8\u30e5\u30fc\u30eb\uff08libapache2-mod-php\uff09\u3092\u4f9d\u5b58\u95a2\u4fc2\u3068\u3057\u3066\u6301\u3064\u3002<br \/>\r\n\u3053\u306e\u305f\u3081\u3001sudo apt install php \u3092\u5b9f\u884c\u3059\u308b\u3068\u3001libapache2-mod-php \u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3001\u7d50\u679c\u7684\u306bApache\u3082\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u308b\u3002<\/div>\r\n<div>\u00a0<\/div>\r\n<div>apache2 \u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u308b\u3068\u3001nginx \u306e\u8d77\u52d5\u3067\u6b21\u306e\u30a8\u30e9\u30fc\u304c\u51fa\u308b\u3002<\/div>\r\n<pre><code class=\u201dhljs console\">sudo systemctl restart nginx\r\nJob for nginx.service failed because the control process exited with error code.\r\nSee \"systemctl status nginx.service\" and \"journalctl -xeu nginx.service\" for details.<\/code><\/pre>\r\n<div>\u00a0<\/div>\r\n<div>\u30a8\u30e9\u30fc\u30ed\u30b0\u3092\u898b\u308b\u3068\u3001\u30dd\u30fc\u30c880 \u304c\u4ed6\u306e\u30d7\u30ed\u30bb\u30b9\u3067\u4f7f\u7528\u4e2d\u306b\u306a\u3063\u3066\u3044\u308b\u3002<\/div>\r\n<pre><code class=\u201dhljs console\">sudo cat \/var\/log\/nginx\/error.log\r\n[emerg] 2297#2297: bind() to 0.0.0.0:80 failed (98: Address already in use)<\/code><\/pre>\r\n<div>\u00a0<\/div>\r\n<div>\u4f7f\u7528\u4e2d\u306e\u30d7\u30ed\u30bb\u30b9\u3092\u78ba\u8a8d\u3059\u308b\u3068\u3001\u6b21\u306e\u3088\u3046\u306b\u8868\u793a\u3055\u308c\u308b\u3002<\/div>\r\n<pre><code class=\u201dhljs console\">sudo netstat -tuln | grep :80\r\ntcp6       0      0 :::80                   :::*                    LISTEN<\/code><\/pre>\r\n<div>\u00a0<\/div>\r\n<div>\u30dd\u30fc\u30c880\u3092\u4f7f\u7528\u3057\u3066\u3044\u308b\u30d7\u30ed\u30bb\u30b9\u3092\u7279\u5b9a\u3059\u308b\u3002<br \/>\r\n<strong>sudo lsof -i :80<\/strong><br \/>\r\n<a href=\"https:\/\/arakoki70.com\/wp-content\/uploads\/2025\/02\/apache2_0011.png\" data-rel=\"lightbox-gallery-3lz2B74p\" data-rl_title=\"apache2_0011\" data-rl_caption=\"\" title=\"apache2_0011\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-8999\" src=\"https:\/\/arakoki70.com\/wp-content\/uploads\/2025\/02\/apache2_0011.png\" alt=\"\u30dd\u30fc\u30c880\u3092\u4f7f\u7528\u3057\u3066\u3044\u308b\u30d7\u30ed\u30bb\u30b9\u3092\u7279\u5b9a\u3059\u308b\" width=\"800\" height=\"280\" \/><\/a><\/div>\r\n<div>\u00a0<\/div>\r\n<div>\u539f\u56e0\u306f apache2 \u304c\u30ea\u30c3\u30b9\u30f3\u3057\u3066\u3044\u307e\u3057\u305f\u3002<\/div>\r\n<div>\u00a0<\/div>\r\n<div>\u4ee5\u4e0a\u306e\u3088\u3046\u306b\u3001sudo apt install php \u3092\u5b9f\u884c\u3059\u308b\u3068\u3001Apache\u3082\u4e00\u7dd2\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3001\u601d\u308f\u306c\u554f\u984c\u304c\u767a\u751f\u3059\u308b\u3053\u3068\u304c\u3042\u308b\u3002<\/div>\r\n<div>\u00a0<\/div>\r\n<div>\u00a0<\/div>\r\n<div style=\"border: 1px solid #4169e1; padding: 5px 10px 3px 10px; color: #ffffff; background: #191970; border-radius: 5px; position: relative; top: 0px;\">\u25a0 Apache2\u3092\u524a\u9664\u3059\u308b\u65b9\u6cd5<\/div>\r\n<div>\u00a0<\/div>\r\n<div>\u2460. Apache2\u3092\u505c\u6b62\u3059\u308b<br \/>\r\nsudo systemctl stop apache2<\/div>\r\n<div>\u00a0<\/div>\r\n<div>\u2461. \u81ea\u52d5\u8d77\u52d5\u3092\u7121\u52b9\u5316\u3059\u308b<br \/>\r\nsudo systemctl disable apache2<\/div>\r\n<div>\u00a0<\/div>\r\n<div>\u2462. Apache2\u3092\u30a2\u30f3\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b<br \/>\r\nsudo apt-get remove --purge apache2 -y<br \/>\r\nsudo apt-get autoremove -y<br \/>\r\nsudo apt-get autoclean<\/div>\r\n<div>\u00a0<\/div>\r\n<div>\u2463. \u6b8b\u5b58\u30d5\u30a1\u30a4\u30eb\u306e\u524a\u9664<br \/>\r\nsudo rm -rf \/etc\/apache2<br \/>\r\nsudo rm -rf \/var\/www\/html<\/div>\r\n<div>\u00a0<\/div>\r\n<div id=\"title3\">\u00a0<\/div>\r\n<div>\u00a0<\/div>\r\n<div style=\"border: 1px solid #800000; padding: 5px 10px 3px 10px; background: #c5ff88;\"><strong>3. php-fpm \u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306b\u3064\u3044\u3066<\/strong><\/div>\r\n<div>\u00a0<\/div>\r\n<div style=\"border: 1px solid #800000; padding: 10px; background: #FFF0F5;\">Nginx\u74b0\u5883\u3067WordPress\u3092\u52d5\u304b\u3059\u5834\u5408\u306f\u3001<br \/>\r\n<strong>php-fpm\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3060\u3051<\/strong>\u3067\u5341\u5206\u3067\u3042\u308b\u3002<\/div>\r\n<div>\u00a0<\/div>\r\n<div>sudo apt install php \u3092\u5b9f\u884c\u3059\u308b\u3068Apache\u7528\u306e\u30e2\u30b8\u30e5\u30fc\u30eb\u3082\u4e00\u7dd2\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u308b\u305f\u3081\u3001Nginx\u3060\u3051\u3092\u4f7f\u3046\u5834\u5408\u306f\u4e0d\u8981\u306a\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u304c\u542b\u307e\u308c\u308b\u3002<\/div>\r\n<div>\u00a0<\/div>\r\n<div>php-fpm \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3068\u3001PHP\u81ea\u4f53\u3082\u540c\u6642\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u308b\u304c\u3001php \u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u5834\u5408\u3068\u306f\u5185\u5bb9\u304c\u7570\u306a\u308b\u3002<\/div>\r\n<div>\u00a0<\/div>\r\n<div>php-fpm \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3068\u3001\u4ee5\u4e0b\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u308b\u3002<\/div>\r\n<div>\u00a0<\/div>\r\n<div>\u2460. PHP FastCGI Process Manager (FPM)<br \/>\r\nPHP\u3092FastCGI\u3068\u3057\u3066\u5b9f\u884c\u3059\u308b\u305f\u3081\u306e\u30d7\u30ed\u30bb\u30b9\u30de\u30cd\u30fc\u30b8\u30e3\u30fc\u3067\u3001\u4e3b\u306bNginx\u74b0\u5883\u3067\u4f7f\u7528\u3055\u308c\u3001\u30ea\u30af\u30a8\u30b9\u30c8\u3054\u3068\u306bFastCGI\u3092\u901a\u3058\u3066PHP\u3092\u5b9f\u884c\u3059\u308b\u3002<\/div>\r\n<div>\u00a0<\/div>\r\n<div>\u2461. \u5171\u901a\u30e2\u30b8\u30e5\u30fc\u30eb\u3068\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb<br \/>\r\n\u57fa\u672c\u7684\u306aPHP\u30e2\u30b8\u30e5\u30fc\u30eb\uff08php-common\uff09\u304c\u542b\u307e\u308c\u308b\u3002<\/div>\r\n<div>\u00a0<\/div>\r\n<div>\u2462. PHP\u81ea\u4f53\uff08CLI\u3082\u542b\u3080\uff09<br \/>\r\nCLI\u7248\u306ePHP\u3082\u4e00\u7dd2\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u308b\u3002\u3053\u308c\u306b\u3088\u308a\u3001php \u30b3\u30de\u30f3\u30c9\u3082\u5229\u7528\u53ef\u80fd\u3068\u306a\u308b\u3002<\/div>\r\n<div>\u00a0<\/div>\r\n<div>php \u3068 php-fpm \u306e\u9055\u3044\u3002<br \/>\r\n<a href=\"https:\/\/arakoki70.com\/wp-content\/uploads\/2025\/02\/php-fpm_0011.png\" data-rel=\"lightbox-gallery-3lz2B74p\" data-rl_title=\"php-fpm_0011\" data-rl_caption=\"\" title=\"php-fpm_0011\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-9000\" src=\"https:\/\/arakoki70.com\/wp-content\/uploads\/2025\/02\/php-fpm_0011.png\" alt=\"php \u3068 php-fpm \u306e\u9055\u3044\" width=\"598\" height=\"106\" \/><\/a><\/div>\r\n<div>\u00a0<\/div>\r\n<div id=\"title4\">\u00a0<\/div>\r\n<div>\u00a0<\/div>\r\n<div style=\"border: 1px solid #800000; padding: 5px 10px 3px 10px; background: #c5ff88;\"><strong>4. sudo apt install php8.3 \u306e\u610f\u5473<\/strong><\/div>\r\n<div>\u00a0<\/div>\r\n<div>PHP\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3010<strong><span style=\"color: #ff0000;\">8.3<\/span><\/strong>\u3011\u3092\u660e\u793a\u3057\u3066\u3001<br \/>\r\n\u3000<strong>sudo apt install php8.3<\/strong> <br \/>\r\n\u3092\u5b9f\u884c\u3057\u305f\u5834\u5408\u306b\u3001Apache\u304c\u81ea\u52d5\u7684\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u308b\u3053\u3068\u306f\u306a\u3044\u3002<\/div>\r\n<div>\u00a0<\/div>\r\n<div>\u6b21\u306e\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u308b\u3002<\/div>\r\n<div>\u00a0<\/div>\r\n<div>\u2460. PHP CLI<br \/>\r\nPHP\u306e\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\uff08CLI\uff09\u304c\u542b\u307e\u308c\u3001php8.3 \u30b3\u30de\u30f3\u30c9\u304c\u5229\u7528\u53ef\u80fd\u306b\u306a\u308a\u308b\u3002<\/div>\r\n<div>\u00a0<\/div>\r\n<div>\u2461. \u5171\u901a\u30e2\u30b8\u30e5\u30fc\u30eb<br \/>\r\nPHP\u306e\u52d5\u4f5c\u306b\u5fc5\u8981\u306a\u57fa\u672c\u30e2\u30b8\u30e5\u30fc\u30eb\uff08php8.3-common\uff09\u304c\u542b\u307e\u308c\u308b\u3002<\/div>\r\n<div>\u00a0<\/div>\r\n<div>\u2462. Apache\u7528\u306e\u30e2\u30b8\u30e5\u30fc\u30eb\uff08libapache2-mod-php8.3\uff09<br \/>\r\n\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306fApache\u7528\u306e\u30e2\u30b8\u30e5\u30fc\u30eb\u3082\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u308b\u304c\u3001Nginx\u74b0\u5883\u3067\u306f\u4f7f\u308f\u308c\u306a\u3044\u3002<\/div>\r\n<div>\u00a0<\/div>\r\n<div>\u7570\u306a\u308bPHP\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u540c\u6642\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd\u3002<br \/>\r\n\u4f8b\uff1a<strong>sudo apt install php7.4 php8.3<\/strong><\/div>\r\n<div>\u00a0<\/div>\r\n<div id=\"title5\">\u00a0<\/div>\r\n<div>\u00a0<\/div>\r\n<div style=\"border: 1px solid #800000; padding: 5px 10px 3px 10px; background: #c5ff88;\"><strong>5. \u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u8ffd\u52a0\u3068PHP\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/strong><\/div>\r\n<div>\u00a0<\/div>\r\n<div><a href=\"https:\/\/www.php.net\/\" target=\"_blank\" rel=\"noopener\">PHP\u306e\u516c\u5f0f\u30b5\u30a4\u30c8\u3067<\/a>\u3001\u6700\u65b0\u306ePHP\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u78ba\u8a8d\u3059\u308b\u3002<br \/>\r\n<a href=\"https:\/\/arakoki70.com\/wp-content\/uploads\/2025\/02\/php-fpm_0111.png\" data-rel=\"lightbox-gallery-3lz2B74p\" data-rl_title=\"php-fpm_0111\" data-rl_caption=\"\" title=\"php-fpm_0111\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-9001\" src=\"https:\/\/arakoki70.com\/wp-content\/uploads\/2025\/02\/php-fpm_0111.png\" alt=\"PHP\u516c\u5f0f\u30b5\u30a4\u30c8\u3067\u3001\u6700\u65b0\u7248\u306ePHP\u3092\u78ba\u8a8d\u3059\u308b\" width=\"800\" height=\"533\" \/><\/a><\/div>\r\n<div>\u00a0<\/div>\r\n<div>Raspberry Pi OS<span style=\"color: #0000ff;\"><strong> bookworm<\/strong><\/span> \u306e\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u4e0b\u3067\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u308bPHP\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u78ba\u8a8d\u3057\u3066\u307f\u308b\u3002<\/div>\r\n<pre><code class=\u201dhljs console\">sudo apt-cache policy php\r\nphp:\r\n  \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u30d0\u30fc\u30b8\u30e7\u30f3: (\u306a\u3057)\r\n  \u5019\u88dc:               2:8.2+93\r\n  \u30d0\u30fc\u30b8\u30e7\u30f3\u30c6\u30fc\u30d6\u30eb:\r\n     2:8.2+93 500\r\n        500 http:\/\/deb.debian.org\/debian bookworm\/main arm64 Packages\r\n        500 http:\/\/deb.debian.org\/debian bookworm\/main armhf Packages\r\n\r\nsudo apt depends php\r\nphp\r\n  \u4f9d\u5b58: php8.2\r\n\r\napt-cache madison php\r\n       php |   2:8.2+93 | http:\/\/deb.debian.org\/debian bookworm\/main arm64 Packages\r\n       php |   2:8.2+93 | http:\/\/deb.debian.org\/debian bookworm\/main armhf Packages<\/code><\/pre>\r\n<div>\u00a0<\/div>\r\n<div>\u30d0\u30fc\u30b8\u30e7\u30f3 <span style=\"color: #ff0000;\"><strong>8.2<\/strong><\/span> \u304c\u5019\u88dc\u306b\u306a\u3063\u3066\u3044\u308b\u3002<\/div>\r\n<div>\u00a0<\/div>\r\n<div>\u00a0<\/div>\r\n<div style=\"border: 1px solid #4169e1; padding: 5px 10px 3px 10px; color: #ffffff; background: #191970; border-radius: 5px; position: relative; top: 0px;\"><strong>\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u8ffd\u52a0\u3057\u3066\u3001PHP\u306e\u6700\u65b0\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b<\/strong><\/div>\r\n<div>\u00a0<\/div>\r\n<div>\u2460. GPG\u30ad\u30fc\u306e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9<\/div>\r\n<pre><code class=\u201dhljs console\">sudo wget -qO \/etc\/apt\/trusted.gpg.d\/php.gpg https:\/\/packages.sury.org\/php\/apt.gpg<\/code><\/pre>\r\n<div>\u00a0<\/div>\r\n<div>\u2461. \u30d1\u30c3\u30b1\u30fc\u30b8\u30ea\u30b9\u30c8\u306bPHP\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u8ffd\u52a0<\/div>\r\n<pre><code class=\u201dhljs console\">echo \"deb https:\/\/packages.sury.org\/php\/ $(lsb_release -sc) main\" | sudo tee \/etc\/apt\/sources.list.d\/php.list<\/code><\/pre>\r\n<div>\u00a0<\/div>\r\n<div>\u2462. \u30d1\u30c3\u30b1\u30fc\u30b8\u30ea\u30b9\u30c8\u3092\u66f4\u65b0<\/div>\r\n<pre><code class=\u201dhljs console\">sudo apt update<\/code><\/pre>\r\n<div>\u00a0<\/div>\r\n<div>\u2463. \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u53ef\u80fd\u306aPHP\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u78ba\u8a8d<\/div>\r\n<pre><code class=\u201dhljs console\">sudo apt-cache policy php\r\nphp:\r\n  \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u30d0\u30fc\u30b8\u30e7\u30f3: (\u306a\u3057)\r\n  \u5019\u88dc:               2:8.3+95+0~20240927.54+debian12~1.gbpe0084c\r\n  \u30d0\u30fc\u30b8\u30e7\u30f3\u30c6\u30fc\u30d6\u30eb:\r\n     2:8.3+95+0~20240927.54+debian12~1.gbpe0084c 500\r\n        500 https:\/\/packages.sury.org\/php bookworm\/main arm64 Packages\r\n        500 https:\/\/packages.sury.org\/php bookworm\/main armhf Packages\r\n     2:8.2+93 500\r\n        500 http:\/\/deb.debian.org\/debian bookworm\/main arm64 Packages\r\n        500 http:\/\/deb.debian.org\/debian bookworm\/main armhf Packages\r\n\r\nsudo apt depends php\r\nphp\r\n  \u4f9d\u5b58: php8.3\r\n\r\napt-cache madison php\r\n       php | 2:8.3+95+0~20240927.54+debian12~1.gbpe0084c | https:\/\/packages.sury.org\/php bookworm\/main arm64 Packages\r\n       php | 2:8.3+95+0~20240927.54+debian12~1.gbpe0084c | https:\/\/packages.sury.org\/php bookworm\/main armhf Packages\r\n       php |   2:8.2+93 | http:\/\/deb.debian.org\/debian bookworm\/main arm64 Packages\r\n       php |   2:8.2+93 | http:\/\/deb.debian.org\/debian bookworm\/main armhf Packages<\/code><\/pre>\r\n<div>\u00a0<\/div>\r\n<div>\u30d0\u30fc\u30b8\u30e7\u30f3 <span style=\"color: #ff0000;\"><strong>8.2 \u3068 8.3<\/strong><\/span> \u304c\u5019\u88dc\u306b\u306a\u3063\u305f\u3002<\/div>\r\n<div>\u00a0<\/div>\r\n<div>\u00a0<\/div>\r\n<div>\u2464.<strong> PHP\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u660e\u793a<\/strong>\u3010<strong><span style=\"color: #ff0000;\">8.3<\/span><\/strong>\u3011<strong>\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/strong><\/div>\r\n<pre><code class=\u201dhljs console\">sudo apt install php8.3 php8.3-fpm php8.3-mysql php8.3-xml php8.3-curl php8.3-gd php8.3-mbstring php8.3-zip php8.3-soap php8.3-intl php8.3-bcmath php8.3-imagick<\/code><\/pre>\r\n<div>\u00a0<\/div>\r\n<div>PHP\u306e\u30e2\u30b8\u30e5\u30fc\u30eb\u304c\u6b63\u3057\u304f\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u304b\u78ba\u8a8d\u3059\u308b\u3002<\/div>\r\n<pre><code class=\u201dhljs console\">php -m\r\n[PHP Modules]\r\nbcmath\r\ncalendar\r\nCore\r\nctype\r\ncurl\r\ndate\r\ndom\r\nexif\r\nFFI\r\nfileinfo\r\nfilter\r\nftp\r\ngd\r\ngettext\r\nhash\r\niconv\r\nimagick\r\nintl\r\njson\r\nlibxml\r\nmbstring\r\nmysqli\r\nmysqlnd\r\nopenssl\r\npcntl\r\npcre\r\nPDO\r\npdo_mysql\r\nPhar\r\nposix\r\nrandom\r\nreadline\r\nReflection\r\nsession\r\nshmop\r\nSimpleXML\r\nsoap\r\nsockets\r\nsodium\r\nSPL\r\nstandard\r\nsysvmsg\r\nsysvsem\r\nsysvshm\r\ntokenizer\r\nxml\r\nxmlreader\r\nxmlwriter\r\nxsl\r\nZend OPcache\r\nzip\r\nzlib\r\n\r\n[Zend Modules]\r\nZend OPcache<\/code><\/pre>\r\n<div>\u00a0<\/div>\r\n<div>PHP\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u78ba\u8a8d\u3002<\/div>\r\n<pre><code class=\u201dhljs console\">php -v\r\nPHP 8.3.17 (cli) (built: Feb 15 2025 09:04:04) (NTS)\r\nCopyright (c) The PHP Group\r\nZend Engine v4.3.17, Copyright (c) Zend Technologies\r\n    with Zend OPcache v8.3.17, Copyright (c), by Zend Technologies<\/code><\/pre>\r\n<div>\u00a0<\/div>\r\n<div>PHP <strong><span style=\"color: #ff0000;\">8.3<\/span><\/strong> \u306e\u307f\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u308b\u3002<\/div>\r\n<div>\u00a0<\/div>\r\n<div>\u00a0<\/div>\r\n<div>-------------------------------------------------------------------------------------<\/div>\r\n<div>\u00a0<\/div>\r\n<div style=\"border: 1px solid #4169e1; padding: 5px 10px 3px 10px; color: #ffffff; background: #191970; border-radius: 5px; position: relative; top: 0px;\">PHP\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u660e\u793a\u305b\u305a\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u5834\u5408\u3002<\/div>\r\n<pre><code class=\u201dhljs console\">sudo apt install php-fpm php-mysql php-json php-xml php-curl php-gd php-mbstring php-zip php-soap php-intl php-bcmath php-imagick<\/code><\/pre>\r\n<div>\u00a0<\/div>\r\n<div>\u203b\uff1aPHP\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u660e\u793a\u3010<strong>8.3<\/strong>\u3011\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u6642\u3088\u308a\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u308b\u30e2\u30b8\u30e5\u30fc\u30eb\u6570\u304c\u5927\u5e45\u306b\u5c11\u306a\u304f\u306a\u3063\u305f\u3002<\/div>\r\n<div>\u00a0<\/div>\r\n<div>PHP\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u78ba\u8a8d\u3059\u308b\u3068\u3001\u3010<strong>8.4.4<\/strong>\u3011\u3068\u8868\u793a\u3055\u308c\u308b\u3002<\/div>\r\n<pre><code class=\u201dhljs console\">php -v\r\nPHP 8.4.4 (cli) (built: Feb 15 2025 09:04:02) (NTS)\r\nCopyright (c) The PHP Group\r\nZend Engine v4.4.4, Copyright (c) Zend Technologies\r\n    with Zend OPcache v8.4.4, Copyright (c), by Zend Technologies<\/code><\/pre>\r\n<div>\u00a0<\/div>\r\n<div>php \u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u30fc\u3092\u898b\u308b\u3068\u30018.3 \u3068 8.4 \u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u3002<br \/>\r\n<a href=\"https:\/\/arakoki70.com\/wp-content\/uploads\/2025\/02\/php-fpm_0121.png\" data-rel=\"lightbox-gallery-3lz2B74p\" data-rl_title=\"php-fpm_0121\" data-rl_caption=\"\" title=\"php-fpm_0121\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-9002\" src=\"https:\/\/arakoki70.com\/wp-content\/uploads\/2025\/02\/php-fpm_0121.png\" alt=\"php \u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u30fc\u3092\u898b\u308b\u3068\u30018.3 \u3068 8.4 \u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\" width=\"600\" height=\"286\" \/><\/a><\/div>\r\n<div>\u00a0<\/div>\r\n<div>\u00a08.4 \u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u30fc\u306b\u306f fpm \u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u30fc\u304c\u7121\u3044\u3002<br \/>\r\n<a href=\"https:\/\/arakoki70.com\/wp-content\/uploads\/2025\/02\/php-fpm_0131.png\" data-rel=\"lightbox-gallery-3lz2B74p\" data-rl_title=\"php-fpm_0131\" data-rl_caption=\"\" title=\"php-fpm_0131\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-9003\" src=\"https:\/\/arakoki70.com\/wp-content\/uploads\/2025\/02\/php-fpm_0131.png\" alt=\"\u00a08.4 \u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u30fc\u306b\u306f fpm \u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u30fc\u304c\u7121\u3044\" width=\"600\" height=\"352\" \/><\/a><\/div>\r\n<div>\u00a0<\/div>\r\n<div>\u00a0<\/div>\r\n<div style=\"border: 1px solid #4169e1; padding: 5px 10px 3px 10px; color: #ffffff; background: #191970; border-radius: 5px; position: relative; top: 0px;\">NGINX\u304c\u4f7f\u7528\u3057\u3066\u3044\u308bPHP\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u8abf\u3079\u308b<\/div>\r\n<div>\u00a0<\/div>\r\n<div>NGINX\u304c\u4f7f\u7528\u3057\u3066\u3044\u308bPHP\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u8abf\u3079\u308b\u30b3\u30de\u30f3\u30c9\u3002<\/div>\r\n<div style=\"border: 1px solid #4169e1; padding: 5px 10px 3px 10px; background: #f0f8ff; border-radius: 5px; position: relative; top: 0px;\"><strong>sudo grep -r \"fastcgi_pass\" \/etc\/nginx\/<br \/>\r\n<\/strong><\/div>\r\n<div>\u00a0<\/div>\r\n<pre><code class=\u201dhljs console\">sudo grep -r \"fastcgi_pass\" \/etc\/nginx\/\r\n\/etc\/nginx\/sites-available\/default:     #       fastcgi_pass unix:\/run\/php\/php7.4-fpm.sock;\r\n\/etc\/nginx\/sites-available\/default:     #       fastcgi_pass 127.0.0.1:9000;\r\n\/etc\/nginx\/conf.d\/sotodasi\/acc-cont6t.conf:                fastcgi_pass   unix:\/run\/php\/php8.3-fpm.sock;\r\n\/etc\/nginx\/conf.d\/treksite.conf:                        fastcgi_pass unix:\/run\/php\/php8.3-fpm.sock;\r\n\/etc\/nginx\/conf.d\/default.conf:    #    fastcgi_pass   127.0.0.1:9000;<\/code><\/pre>\r\n<div>\u00a0<\/div>\r\n<div id=\"title6\">\u00a0<\/div>\r\n<div>\u00a0<\/div>\r\n<div style=\"border: 1px solid #800000; padding: 5px 10px 3px 10px; background: #c5ff88;\"><strong>6. \u8907\u6570\u30d0\u30fc\u30b8\u30e7\u30f3\u306e\u5207\u308a\u66ff\u3048\u3068\u30a2\u30f3\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/strong><\/div>\r\n<div>\u00a0<\/div>\r\n<div>1. \u8907\u6570\u306ePHP\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u5834\u5408\u306e\u3001\u30d0\u30fc\u30b8\u30e7\u30f3\u306e\u5207\u308a\u66ff\u3048\u3002<br \/>\r\n<strong>sudo update-alternatives --config php<\/strong><\/div>\r\n<div>\u00a0<\/div>\r\n<div style=\"border: 1px solid #800000; padding: 10px; background: #FFF0F5;\"><strong>sudo update-alternatives --config php<\/strong> \u30b3\u30de\u30f3\u30c9\u306f\u3001<br \/>\r\nCLI\uff08\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\uff09\u3067\u4f7f\u7528\u3059\u308bPHP\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u5207\u308a\u66ff\u3048\u308b\u305f\u3081\u306e\u8a2d\u5b9a\u3067\u3059\u3002<br \/>\r\n\u4e00\u65b9\u3001NGINX\u304c\u5229\u7528\u3057\u3066\u3044\u308bPHP\u306f\u3001<br \/>\r\nphp-fpm\u30bd\u30b1\u30c3\u30c8\uff08fastcgi_pass unix:\/run\/php\/php8.x-fpm.sock;\uff09\u3092\u4ecb\u3057\u3066\u52d5\u4f5c\u3059\u308b\u305f\u3081\u3001<span style=\"color: #ff00ff;\"><strong>CLI\u306ePHP\u30d0\u30fc\u30b8\u30e7\u30f3\u8a2d\u5b9a\u306fNGINX\u306b\u306f\u5f71\u97ff\u3057\u307e\u305b\u3093<\/strong><\/span>\u3002<\/div>\r\n<div>\u00a0<\/div>\r\n<div>\u00a0<\/div>\r\n<div>\u73fe\u5728\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u8abf\u3079\u3066\u3001\u5207\u308a\u66ff\u3048\u305f\u4f8b\u3002<\/div>\r\n<pre><code class=\u201dhljs console\">php -v\r\nPHP 8.4.4 (cli) (built: Feb 15 2025 09:04:02) (NTS)\r\nCopyright (c) The PHP Group\r\nZend Engine v4.4.4, Copyright (c) Zend Technologies\r\n    with Zend OPcache v8.4.4, Copyright (c), by Zend Technologies\r\n\r\nsudo update-alternatives --config php\r\nalternative php (\/usr\/bin\/php \u3092\u63d0\u4f9b) \u306b\u306f 2 \u500b\u306e\u9078\u629e\u80a2\u304c\u3042\u308a\u307e\u3059\u3002\r\n\r\n  \u9078\u629e\u80a2    \u30d1\u30b9           \u512a\u5148\u5ea6  \u72b6\u614b\r\n------------------------------------------------------------\r\n  0            \/usr\/bin\/php8.4   84        \u81ea\u52d5\u30e2\u30fc\u30c9\r\n* 1            \/usr\/bin\/php8.3   83        \u624b\u52d5\u30e2\u30fc\u30c9\r\n  2            \/usr\/bin\/php8.4   84        \u624b\u52d5\u30e2\u30fc\u30c9\r\n\r\n\u73fe\u5728\u306e\u9078\u629e [*] \u3092\u4fdd\u6301\u3059\u308b\u306b\u306f \u3001\u3055\u3082\u306a\u3051\u308c\u3070\u9078\u629e\u80a2\u306e\u756a\u53f7\u306e\u30ad\u30fc\u3092\u62bc\u3057\u3066\u304f\u3060\u3055\u3044: \r\n\r\n\u307e\u305f\u306f\r\nsudo update-alternatives --set php \/usr\/bin\/php8.3\r\nupdate-alternatives: \/usr\/bin\/php (php) \u3092\u63d0\u4f9b\u3059\u308b\u305f\u3081\u306b\u30de\u30cb\u30e5\u30a2\u30eb\u30e2\u30fc\u30c9\u3067 \/usr\/bin\/php8.3 \u3092\u4f7f\u3044\u307e\u3059\r\n\r\n php -v\r\nPHP 8.3.17 (cli) (built: Feb 15 2025 09:04:04) (NTS)\r\nCopyright (c) The PHP Group\r\nZend Engine v4.3.17, Copyright (c) Zend Technologies\r\n    with Zend OPcache v8.3.17, Copyright (c), by Zend Technologies<\/code><\/pre>\r\n<div>\u00a0<\/div>\r\n<div>2. PHP\u306e\u30a2\u30f3\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3002<br \/>\r\n<strong>sudo apt remove --purge php* -y<\/strong><br \/>\r\n<strong>sudo apt autoremove -y<\/strong><\/div>\r\n<div>\u00a0<\/div>\r\n<div>\u00a0<\/div>\r\n<div style=\"text-align: right;\">\u4ee5\u4e0a\u3002<br \/>\r\n(2025.02.23)<\/div>\r\n<div style=\"clear: both;\">\u00a0<\/div>\r\n<div>\t<p>&nbsp;<\/p>\n\t<div align=\"center\" style=\"font-size:8pt;\">\u30b9\u30dd\u30f3\u30b5\u30fc \u30ea\u30f3\u30af<br \/>\n<!-- \t<script async src=\"\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script> -->\n\t<!-- \u8a18\u4e8b\u30fb\u30ec\u30b9\u30dd\u30f3\u30b7\u30d6-7 -->\n\t<ins class=\"adsbygoogle\"\n     style=\"display:block\"\n     data-ad-client=\"ca-pub-3816629014893825\"\n     data-ad-slot=\"1428770894\"\n     data-ad-format=\"auto\"\n     data-full-width-responsive=\"true\"><\/ins>\n\t<script>\n\t(adsbygoogle = window.adsbygoogle || []).push({});\n\t<\/script>\n\t<amp-ad width=\"100vw\" height=\"320\"\n     type=\"adsense\"\n     data-ad-client=\"ca-pub-3816629014893825\"\n     data-ad-slot=\"1428770894\"\n     data-auto-format=\"rspv\"\n     data-full-width=\"\">\n\t <div overflow=\"\"><\/div>\n\t<\/amp-ad>\n\t<\/div>\n\n\t<p>&nbsp;<\/p>\n\n\t<p align=\"center\">\n\t<amp-social-share type=\"email\"><\/amp-social-share>\n\t&nbsp;<amp-social-share type=\"facebook\" data-param-app_id=\"131027923993169\"><\/amp-social-share>\n\t&nbsp;<amp-social-share type=\"linkedin\"><\/amp-social-share>\n\t&nbsp;<amp-social-share type=\"pinterest\"><\/amp-social-share>\n\t&nbsp;<amp-social-share type=\"tumblr\"><\/amp-social-share>\n\t&nbsp;<amp-social-share type=\"twitter\"><\/amp-social-share>\n\t&nbsp;<amp-social-share type=\"whatsapp\"><\/amp-social-share>\n\t&nbsp;<amp-social-share type=\"line\"><\/amp-social-share>\n\t<\/p>\n\n\t<p>&nbsp;<\/p>\n\t\n\t<!-- \u95a2\u9023\u30fb\u30ec\u30b9\u30dd\u30f3\u30b7\u30d6 kanren-70 -->\n\t<div align=\"center\">\n\t\n\t<ins class=\"adsbygoogle\"\n     style=\"display:block\"\n     data-ad-format=\"autorelaxed\"\n     data-ad-client=\"ca-pub-3816629014893825\"\n     data-ad-slot=\"8839675487\"><\/ins>\n\t<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n\t<\/script>\n\t\n\t<amp-ad width=\"100vw\" height=\"320\"\n\t\ttype=\"adsense\"\n\t\tdata-ad-client=\"ca-pub-3816629014893825\"\n\t\tdata-ad-slot=\"8839675487\"\n\t\tdata-auto-format=\"mcrspv\"\n\t\tdata-full-width=\"\">\n\t\t<div overflow=\"\"><\/div>\n\t<\/amp-ad>\n\t\n\t<\/div>\n\t\n\t<div> <\/div>\n\n\t<p>&nbsp;<\/p>\n<\/div>\r\n<div>\u00a0<\/div>","protected":false},"excerpt":{"rendered":"Raspberry Pi Web \u00a0\u30b5\u30fc\u30d0\u30fc\u306e\u69cb\u7bc9 nginx + WordPress PHP\u3092\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u6307\u5b9a\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb \u00a0 PHP\u306e\u65b0\u3057\u3044\u30d0\u30fc\u30b8\u30e7\u30f3\u306b\u306f\u3001\u65b0\u3057\u3044\u6a5f\u80fd\u3084\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u306e\u5411\u4e0a\u304c\u542b\u307e\u308c\u3066\u3044\u308b\u3002Word &hellip; <p class=\"link-more\"><a href=\"https:\/\/arakoki70.com\/?p=8998\" class=\"more-link\"><span class=\"screen-reader-text\">&#8220;nginx + PHP\u3092\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u6307\u5b9a\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b&#8221; \u306e<\/span>\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>","protected":false},"author":1,"featured_media":9001,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12],"tags":[],"class_list":["post-8998","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-01site"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>nginx + PHP\u3092\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u6307\u5b9a\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b - \u30a2\u30e9\u30b3\u30ad\u304b\u3089\u306e Raspberry Pi \u96fb\u5b50\u5de5\u4f5c<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/arakoki70.com\/?p=8998\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"nginx + PHP\u3092\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u6307\u5b9a\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b - \u30a2\u30e9\u30b3\u30ad\u304b\u3089\u306e Raspberry Pi \u96fb\u5b50\u5de5\u4f5c\" \/>\n<meta property=\"og:description\" content=\"Raspberry Pi Web \u00a0\u30b5\u30fc\u30d0\u30fc\u306e\u69cb\u7bc9 nginx + WordPress PHP\u3092\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u6307\u5b9a\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb \u00a0 PHP\u306e\u65b0\u3057\u3044\u30d0\u30fc\u30b8\u30e7\u30f3\u306b\u306f\u3001\u65b0\u3057\u3044\u6a5f\u80fd\u3084\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u306e\u5411\u4e0a\u304c\u542b\u307e\u308c\u3066\u3044\u308b\u3002Word &hellip; &quot;nginx + PHP\u3092\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u6307\u5b9a\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b&quot; \u306e\u7d9a\u304d\u3092\u8aad\u3080\" \/>\n<meta property=\"og:url\" content=\"https:\/\/arakoki70.com\/?p=8998\" \/>\n<meta property=\"og:site_name\" content=\"\u30a2\u30e9\u30b3\u30ad\u304b\u3089\u306e Raspberry Pi \u96fb\u5b50\u5de5\u4f5c\" \/>\n<meta property=\"article:published_time\" content=\"2025-02-23T07:38:07+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-03-02T23:42:41+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/arakoki70.com\/wp-content\/uploads\/2025\/02\/php-fpm_0111.png\" \/>\n\t<meta property=\"og:image:width\" content=\"800\" \/>\n\t<meta property=\"og:image:height\" content=\"533\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"tacsan\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@hermione2207\" \/>\n<meta name=\"twitter:site\" content=\"@hermione2207\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"tacsan\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"21\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/arakoki70.com\\\/?p=8998#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/arakoki70.com\\\/?p=8998\"},\"author\":{\"name\":\"tacsan\",\"@id\":\"https:\\\/\\\/arakoki70.com\\\/#\\\/schema\\\/person\\\/d5fdbdb63e731d3f2d43880ccade4451\"},\"headline\":\"nginx + PHP\u3092\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u6307\u5b9a\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\",\"datePublished\":\"2025-02-23T07:38:07+00:00\",\"dateModified\":\"2025-03-02T23:42:41+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/arakoki70.com\\\/?p=8998\"},\"wordCount\":274,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/arakoki70.com\\\/#\\\/schema\\\/person\\\/d5fdbdb63e731d3f2d43880ccade4451\"},\"image\":{\"@id\":\"https:\\\/\\\/arakoki70.com\\\/?p=8998#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/arakoki70.com\\\/wp-content\\\/uploads\\\/2025\\\/02\\\/php-fpm_0111.png\",\"articleSection\":[\"01 Web\u30b5\u30a4\u30c8\u306e\u69cb\u7bc9\"],\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/arakoki70.com\\\/?p=8998#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/arakoki70.com\\\/?p=8998\",\"url\":\"https:\\\/\\\/arakoki70.com\\\/?p=8998\",\"name\":\"nginx + PHP\u3092\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u6307\u5b9a\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b - \u30a2\u30e9\u30b3\u30ad\u304b\u3089\u306e Raspberry Pi \u96fb\u5b50\u5de5\u4f5c\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/arakoki70.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/arakoki70.com\\\/?p=8998#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/arakoki70.com\\\/?p=8998#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/arakoki70.com\\\/wp-content\\\/uploads\\\/2025\\\/02\\\/php-fpm_0111.png\",\"datePublished\":\"2025-02-23T07:38:07+00:00\",\"dateModified\":\"2025-03-02T23:42:41+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/arakoki70.com\\\/?p=8998#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/arakoki70.com\\\/?p=8998\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/arakoki70.com\\\/?p=8998#primaryimage\",\"url\":\"https:\\\/\\\/arakoki70.com\\\/wp-content\\\/uploads\\\/2025\\\/02\\\/php-fpm_0111.png\",\"contentUrl\":\"https:\\\/\\\/arakoki70.com\\\/wp-content\\\/uploads\\\/2025\\\/02\\\/php-fpm_0111.png\",\"width\":800,\"height\":533,\"caption\":\"PHP\u516c\u5f0f\u30b5\u30a4\u30c8\u3067\u3001\u6700\u65b0\u7248\u306ePHP\u3092\u78ba\u8a8d\u3059\u308b\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/arakoki70.com\\\/?p=8998#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u30db\u30fc\u30e0\",\"item\":\"https:\\\/\\\/arakoki70.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"nginx + PHP\u3092\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u6307\u5b9a\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/arakoki70.com\\\/#website\",\"url\":\"https:\\\/\\\/arakoki70.com\\\/\",\"name\":\"\u30a2\u30e9\u30b3\u30ad\u304b\u3089\u306e Raspberry Pi \u96fb\u5b50\u5de5\u4f5c\",\"description\":\"Around 70&#039;s \u30d6\u30ed\u30b0\u3078\u306e\u8a18\u4e8b\u6295\u7a3f\u304c\u751f\u6d3b\u76ee\u6a19\u306b \u30fb\u30fb\u30fb \u307e\u3060\u307e\u3060\u8f1d\u304f\",\"publisher\":{\"@id\":\"https:\\\/\\\/arakoki70.com\\\/#\\\/schema\\\/person\\\/d5fdbdb63e731d3f2d43880ccade4451\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/arakoki70.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/arakoki70.com\\\/#\\\/schema\\\/person\\\/d5fdbdb63e731d3f2d43880ccade4451\",\"name\":\"tacsan\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/arakoki70.com\\\/wp-content\\\/uploads\\\/2019\\\/12\\\/raspberry-toumei_4.png\",\"url\":\"https:\\\/\\\/arakoki70.com\\\/wp-content\\\/uploads\\\/2019\\\/12\\\/raspberry-toumei_4.png\",\"contentUrl\":\"https:\\\/\\\/arakoki70.com\\\/wp-content\\\/uploads\\\/2019\\\/12\\\/raspberry-toumei_4.png\",\"width\":80,\"height\":102,\"caption\":\"tacsan\"},\"logo\":{\"@id\":\"https:\\\/\\\/arakoki70.com\\\/wp-content\\\/uploads\\\/2019\\\/12\\\/raspberry-toumei_4.png\"},\"sameAs\":[\"https:\\\/\\\/arakoki70.com\\\/\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"nginx + PHP\u3092\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u6307\u5b9a\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b - \u30a2\u30e9\u30b3\u30ad\u304b\u3089\u306e Raspberry Pi \u96fb\u5b50\u5de5\u4f5c","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/arakoki70.com\/?p=8998","og_locale":"ja_JP","og_type":"article","og_title":"nginx + PHP\u3092\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u6307\u5b9a\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b - \u30a2\u30e9\u30b3\u30ad\u304b\u3089\u306e Raspberry Pi \u96fb\u5b50\u5de5\u4f5c","og_description":"Raspberry Pi Web \u00a0\u30b5\u30fc\u30d0\u30fc\u306e\u69cb\u7bc9 nginx + WordPress PHP\u3092\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u6307\u5b9a\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb \u00a0 PHP\u306e\u65b0\u3057\u3044\u30d0\u30fc\u30b8\u30e7\u30f3\u306b\u306f\u3001\u65b0\u3057\u3044\u6a5f\u80fd\u3084\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u306e\u5411\u4e0a\u304c\u542b\u307e\u308c\u3066\u3044\u308b\u3002Word &hellip; \"nginx + PHP\u3092\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u6307\u5b9a\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\" \u306e\u7d9a\u304d\u3092\u8aad\u3080","og_url":"https:\/\/arakoki70.com\/?p=8998","og_site_name":"\u30a2\u30e9\u30b3\u30ad\u304b\u3089\u306e Raspberry Pi \u96fb\u5b50\u5de5\u4f5c","article_published_time":"2025-02-23T07:38:07+00:00","article_modified_time":"2025-03-02T23:42:41+00:00","og_image":[{"width":800,"height":533,"url":"https:\/\/arakoki70.com\/wp-content\/uploads\/2025\/02\/php-fpm_0111.png","type":"image\/png"}],"author":"tacsan","twitter_card":"summary_large_image","twitter_creator":"@hermione2207","twitter_site":"@hermione2207","twitter_misc":{"\u57f7\u7b46\u8005":"tacsan","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"21\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/arakoki70.com\/?p=8998#article","isPartOf":{"@id":"https:\/\/arakoki70.com\/?p=8998"},"author":{"name":"tacsan","@id":"https:\/\/arakoki70.com\/#\/schema\/person\/d5fdbdb63e731d3f2d43880ccade4451"},"headline":"nginx + PHP\u3092\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u6307\u5b9a\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b","datePublished":"2025-02-23T07:38:07+00:00","dateModified":"2025-03-02T23:42:41+00:00","mainEntityOfPage":{"@id":"https:\/\/arakoki70.com\/?p=8998"},"wordCount":274,"commentCount":0,"publisher":{"@id":"https:\/\/arakoki70.com\/#\/schema\/person\/d5fdbdb63e731d3f2d43880ccade4451"},"image":{"@id":"https:\/\/arakoki70.com\/?p=8998#primaryimage"},"thumbnailUrl":"https:\/\/arakoki70.com\/wp-content\/uploads\/2025\/02\/php-fpm_0111.png","articleSection":["01 Web\u30b5\u30a4\u30c8\u306e\u69cb\u7bc9"],"inLanguage":"ja","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/arakoki70.com\/?p=8998#respond"]}]},{"@type":"WebPage","@id":"https:\/\/arakoki70.com\/?p=8998","url":"https:\/\/arakoki70.com\/?p=8998","name":"nginx + PHP\u3092\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u6307\u5b9a\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b - \u30a2\u30e9\u30b3\u30ad\u304b\u3089\u306e Raspberry Pi \u96fb\u5b50\u5de5\u4f5c","isPartOf":{"@id":"https:\/\/arakoki70.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/arakoki70.com\/?p=8998#primaryimage"},"image":{"@id":"https:\/\/arakoki70.com\/?p=8998#primaryimage"},"thumbnailUrl":"https:\/\/arakoki70.com\/wp-content\/uploads\/2025\/02\/php-fpm_0111.png","datePublished":"2025-02-23T07:38:07+00:00","dateModified":"2025-03-02T23:42:41+00:00","breadcrumb":{"@id":"https:\/\/arakoki70.com\/?p=8998#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/arakoki70.com\/?p=8998"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/arakoki70.com\/?p=8998#primaryimage","url":"https:\/\/arakoki70.com\/wp-content\/uploads\/2025\/02\/php-fpm_0111.png","contentUrl":"https:\/\/arakoki70.com\/wp-content\/uploads\/2025\/02\/php-fpm_0111.png","width":800,"height":533,"caption":"PHP\u516c\u5f0f\u30b5\u30a4\u30c8\u3067\u3001\u6700\u65b0\u7248\u306ePHP\u3092\u78ba\u8a8d\u3059\u308b"},{"@type":"BreadcrumbList","@id":"https:\/\/arakoki70.com\/?p=8998#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u30db\u30fc\u30e0","item":"https:\/\/arakoki70.com\/"},{"@type":"ListItem","position":2,"name":"nginx + PHP\u3092\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u6307\u5b9a\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b"}]},{"@type":"WebSite","@id":"https:\/\/arakoki70.com\/#website","url":"https:\/\/arakoki70.com\/","name":"\u30a2\u30e9\u30b3\u30ad\u304b\u3089\u306e Raspberry Pi \u96fb\u5b50\u5de5\u4f5c","description":"Around 70&#039;s \u30d6\u30ed\u30b0\u3078\u306e\u8a18\u4e8b\u6295\u7a3f\u304c\u751f\u6d3b\u76ee\u6a19\u306b \u30fb\u30fb\u30fb \u307e\u3060\u307e\u3060\u8f1d\u304f","publisher":{"@id":"https:\/\/arakoki70.com\/#\/schema\/person\/d5fdbdb63e731d3f2d43880ccade4451"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/arakoki70.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":["Person","Organization"],"@id":"https:\/\/arakoki70.com\/#\/schema\/person\/d5fdbdb63e731d3f2d43880ccade4451","name":"tacsan","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/arakoki70.com\/wp-content\/uploads\/2019\/12\/raspberry-toumei_4.png","url":"https:\/\/arakoki70.com\/wp-content\/uploads\/2019\/12\/raspberry-toumei_4.png","contentUrl":"https:\/\/arakoki70.com\/wp-content\/uploads\/2019\/12\/raspberry-toumei_4.png","width":80,"height":102,"caption":"tacsan"},"logo":{"@id":"https:\/\/arakoki70.com\/wp-content\/uploads\/2019\/12\/raspberry-toumei_4.png"},"sameAs":["https:\/\/arakoki70.com\/"]}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/arakoki70.com\/index.php?rest_route=\/wp\/v2\/posts\/8998","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/arakoki70.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/arakoki70.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/arakoki70.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/arakoki70.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=8998"}],"version-history":[{"count":1,"href":"https:\/\/arakoki70.com\/index.php?rest_route=\/wp\/v2\/posts\/8998\/revisions"}],"predecessor-version":[{"id":9007,"href":"https:\/\/arakoki70.com\/index.php?rest_route=\/wp\/v2\/posts\/8998\/revisions\/9007"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/arakoki70.com\/index.php?rest_route=\/wp\/v2\/media\/9001"}],"wp:attachment":[{"href":"https:\/\/arakoki70.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=8998"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/arakoki70.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=8998"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/arakoki70.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=8998"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}