{"id":122,"date":"2026-03-21T06:19:56","date_gmt":"2026-03-20T21:19:56","guid":{"rendered":"https:\/\/systemzero.co.jp\/blog1\/?p=122"},"modified":"2026-03-21T06:19:56","modified_gmt":"2026-03-20T21:19:56","slug":"php%e3%81%ae%e6%8b%a1%e5%bc%b5%e3%83%a2%e3%82%b8%e3%83%a5%e3%83%bc%e3%83%ab%e4%b8%8d%e8%b6%b3%e3%81%a7%e3%83%87%e3%83%bc%e3%82%bf%e3%81%8c%e4%b8%8a%e6%89%8b%e3%81%8f%e8%a1%a8%e7%a4%ba%e3%81%95","status":"publish","type":"post","link":"https:\/\/systemzero.co.jp\/blog1\/2026\/03\/21\/php%e3%81%ae%e6%8b%a1%e5%bc%b5%e3%83%a2%e3%82%b8%e3%83%a5%e3%83%bc%e3%83%ab%e4%b8%8d%e8%b6%b3%e3%81%a7%e3%83%87%e3%83%bc%e3%82%bf%e3%81%8c%e4%b8%8a%e6%89%8b%e3%81%8f%e8%a1%a8%e7%a4%ba%e3%81%95\/","title":{"rendered":"PHP\u306e\u62e1\u5f35\u30e2\u30b8\u30e5\u30fc\u30eb\u4e0d\u8db3\u3067\u30c7\u30fc\u30bf\u304c\u4e0a\u624b\u304f\u8868\u793a\u3055\u308c\u306a\u3044\u5bfe\u7b56"},"content":{"rendered":"\n<pre class=\"wp-block-code\"><code>PHP Fatal error: Call to undefined function mb_strlen() in index.php:600<\/code><\/pre>\n\n\n\n<p><strong><code>php-mbstring<\/code> \u62e1\u5f35\u30e2\u30b8\u30e5\u30fc\u30eb\u304c\u65b0\u30b5\u30fc\u30d0\u30fc\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002<\/strong><\/p>\n\n\n\n<p>PHP 8.3 \u306e\u65b0\u898f\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u306f <code>mbstring<\/code> \u304c\u81ea\u52d5\u3067\u306f\u5165\u3089\u306a\u3044\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002<code>mb_strlen()<\/code> \u304c\u547c\u3070\u308c\u305f\u77ac\u9593\u306b Fatal Error \u304c\u767a\u751f\u3057\u3001\u305d\u3053\u3067\u884c\u306e\u30ec\u30f3\u30c0\u30ea\u30f3\u30b0\u304c\u6b62\u307e\u308b\u305f\u3081\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>1\u5217\u76ee\u301c\u6458\u8981\u30fb\u5546\u54c1 \u2192 \u8868\u793a\u3055\u308c\u308b\uff08<code>mb_strlen<\/code> \u306e\u624b\u524d\u307e\u3067\uff09<\/li>\n\n\n\n<li>\u5408\u8a08\u91d1\u984d\u30fb\u64cd\u4f5c \u2192 \u8868\u793a\u3055\u308c\u306a\u3044\uff08Fatal Error \u3067\u505c\u6b62\uff09<\/li>\n\n\n\n<li>2\u884c\u76ee\u4ee5\u964d \u2192 \u30eb\u30fc\u30d7\u304c\u6b62\u307e\u308b\u305f\u3081\u8868\u793a\u3055\u308c\u306a\u3044<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p><strong>\u4fee\u6b63\u65b9\u6cd5\uff08\u65b0\u30b5\u30fc\u30d0\u30fc\u3067\u5b9f\u884c\uff09<\/strong><\/p>\n\n\n\n<p>bash<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># mbstring \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\nsudo apt-get install php8.3-mbstring\n\n# Apache \u3092\u518d\u8d77\u52d5\nsudo systemctl restart apache2<\/code><\/pre>\n\n\n\n<p>Nginx \u306e\u5834\u5408\u306f\uff1a<\/p>\n\n\n\n<p>bash<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo systemctl restart nginx\nsudo systemctl restart php8.3-fpm<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p><strong>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5f8c\u306e\u78ba\u8a8d<\/strong><\/p>\n\n\n\n<p>bash<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># mbstring \u304c\u6709\u52b9\u306b\u306a\u3063\u305f\u304b\u78ba\u8a8d\nphp -m | grep mbstring<\/code><\/pre>\n\n\n\n<p><code>mbstring<\/code> \u3068\u8868\u793a\u3055\u308c\u308c\u3070\u5b8c\u4e86\u3067\u3059\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p>\u767a\u6ce8\u66f8\uff08<code>hatchusho_index.php<\/code>\uff09\u3082\u540c\u3058\u7406\u7531\u3067\u540c\u3058\u75c7\u72b6\u304c\u51fa\u3066\u3044\u307e\u3059\u306e\u3067\u3001\u3053\u306e1\u30b3\u30de\u30f3\u30c9\u3067\u4e21\u65b9\u3068\u3082\u89e3\u6c7a\u3059\u308b<\/p>\n\n\n\n<p>\u5ff5\u306e\u305f\u3081\u3001\u540c\u3058\u74b0\u5883\u3067\u4ed6\u306b\u3082\u4e0d\u8db3\u3057\u3066\u3044\u308b\u53ef\u80fd\u6027\u306e\u3042\u308b PHP \u62e1\u5f35\u3092\u307e\u3068\u3081\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u304a\u304f\u3053\u3068\u3092\u304a\u52e7\u3081\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>bash<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt-get install php8.3-mbstring php8.3-xml php8.3-curl php8.3-zip php8.3-gd php8.3-intl\nsudo systemctl restart apache2<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>php-mbstring \u62e1\u5f35\u30e2\u30b8\u30e5\u30fc\u30eb\u304c\u65b0\u30b5\u30fc\u30d0\u30fc\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002 PHP 8.3 \u306e\u65b0\u898f\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u306f mbstring \u304c\u81ea\u52d5\u3067\u306f\u5165\u3089\u306a\u3044\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002mb_strlen() \u304c\u547c\u3070\u308c\u305f\u77ac\u9593\u306b Fatal Error \u304c\u767a\u751f\u3057\u3001\u305d\u3053\u3067\u884c\u306e\u30ec\u30f3\u30c0\u30ea\u30f3\u30b0\u304c\u6b62\u307e\u308b\u305f\u3081\uff1a \u4fee\u6b63\u65b9\u6cd5\uff08\u65b0\u30b5\u30fc\u30d0\u30fc\u3067\u5b9f\u884c\uff09 bash Nginx \u306e\u5834\u5408\u306f\uff1a bash \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5f8c\u306e\u78ba\u8a8d bash mbstring \u3068\u8868\u793a\u3055\u308c\u308c\u3070\u5b8c\u4e86\u3067\u3059\u3002 \u767a\u6ce8\u66f8\uff08hatchusho_index.php\uff09\u3082\u540c\u3058\u7406\u7531\u3067\u540c\u3058\u75c7\u72b6\u304c\u51fa\u3066\u3044\u307e\u3059\u306e\u3067\u3001\u3053\u306e1\u30b3\u30de\u30f3\u30c9\u3067\u4e21\u65b9\u3068\u3082\u89e3\u6c7a\u3059\u308b \u5ff5\u306e\u305f\u3081\u3001\u540c\u3058\u74b0\u5883\u3067\u4ed6\u306b\u3082\u4e0d\u8db3\u3057\u3066\u3044\u308b\u53ef\u80fd\u6027\u306e\u3042\u308b PHP \u62e1\u5f35\u3092\u307e\u3068\u3081\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u304a\u304f\u3053\u3068\u3092\u304a\u52e7\u3081\u3057\u307e\u3059\u3002 bash<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-122","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/systemzero.co.jp\/blog1\/wp-json\/wp\/v2\/posts\/122","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/systemzero.co.jp\/blog1\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/systemzero.co.jp\/blog1\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/systemzero.co.jp\/blog1\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/systemzero.co.jp\/blog1\/wp-json\/wp\/v2\/comments?post=122"}],"version-history":[{"count":1,"href":"https:\/\/systemzero.co.jp\/blog1\/wp-json\/wp\/v2\/posts\/122\/revisions"}],"predecessor-version":[{"id":123,"href":"https:\/\/systemzero.co.jp\/blog1\/wp-json\/wp\/v2\/posts\/122\/revisions\/123"}],"wp:attachment":[{"href":"https:\/\/systemzero.co.jp\/blog1\/wp-json\/wp\/v2\/media?parent=122"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/systemzero.co.jp\/blog1\/wp-json\/wp\/v2\/categories?post=122"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/systemzero.co.jp\/blog1\/wp-json\/wp\/v2\/tags?post=122"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}