{"id":15906,"date":"2025-12-08T18:23:46","date_gmt":"2025-12-08T17:23:46","guid":{"rendered":"https:\/\/webhosting.de\/php-opcache-konfiguration-performance-optimierung-cacheboost\/"},"modified":"2025-12-08T18:23:46","modified_gmt":"2025-12-08T17:23:46","slug":"php-opcache-%e8%a8%ad%e5%ae%9a-%e3%83%91%e3%83%95%e3%82%a9%e3%83%bc%e3%83%9e%e3%83%b3%e3%82%b9%e6%9c%80%e9%81%a9%e5%8c%96-cacheboost","status":"publish","type":"post","link":"https:\/\/webhosting.de\/ja\/php-opcache-konfiguration-performance-optimierung-cacheboost\/","title":{"rendered":"PHP OPcache \u306e\u8a73\u7d30\u306a\u8aac\u660e\uff1a\u30ad\u30e3\u30c3\u30b7\u30e5\u3092\u6700\u5927\u9650\u306b\u6d3b\u7528\u3059\u308b\u65b9\u6cd5"},"content":{"rendered":"<p>PHP OPcache \u306f\u3001PHP \u304c\u30b3\u30f3\u30d1\u30a4\u30eb\u3055\u308c\u305f <strong>\u30d0\u30a4\u30c8\u30b3\u30fc\u30c9<\/strong> \u30e1\u30e2\u30ea\u306b\u4fdd\u6301\u3057\u3001\u518d\u89e3\u6790\u3092\u7701\u304f\u65b9\u6cd5\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002\u3053\u306e\u30ac\u30a4\u30c9\u3067\u306f\u3001OPcache \u306e\u4f7f\u7528\u65b9\u6cd5\u306b\u3064\u3044\u3066\u3054\u8aac\u660e\u3057\u307e\u3059\u3002 <strong>\u30b3\u30f3\u30d5\u30a3\u30b0<\/strong>, \u3001\u76e3\u8996\u3057\u3001\u5fae\u8abf\u6574\u3057\u3066\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u53cd\u5fdc\u901f\u5ea6\u3092\u6e2c\u5b9a\u53ef\u80fd\u306b\u9ad8\u901f\u5316\u3057\u3001\u8ca0\u8377\u306e\u30d4\u30fc\u30af\u3092\u4f59\u88d5\u3092\u6301\u3063\u3066\u5438\u53ce\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u307e\u3059\u3002.<\/p>\n\n<h2>\u4e2d\u5fc3\u70b9<\/h2>\n\n<ul>\n  <li><strong>\u30d0\u30a4\u30c8\u30b3\u30fc\u30c9\u30ad\u30e3\u30c3\u30b7\u30e5<\/strong> CPU\u8ca0\u8377\u3068I\/O\u3092\u524a\u6e1b<\/li>\n  <li><strong>\u30d1\u30e9\u30e1\u30fc\u30bf<\/strong> memory_consumption \u3084 max_accelerated_files \u3092\u610f\u56f3\u7684\u306b\u9078\u629e\u3059\u308b\u65b9\u6cd5<\/li>\n  <li><strong>\u5468\u8fba\u74b0\u5883<\/strong> \u5dee\u5225\u5316\u8a2d\u5b9a\uff1a\u958b\u767a\u3001\u30b9\u30c6\u30fc\u30b8\u30f3\u30b0\u3001\u672c\u756a<\/li>\n  <li><strong>\u30e2\u30cb\u30bf\u30ea\u30f3\u30b0<\/strong> \u30d2\u30c3\u30c8\u7387\u3001\u5360\u6709\u7387\u3001\u7acb\u3061\u9000\u304d\u306b\u5229\u7528<\/li>\n  <li><strong>\u5c55\u958b<\/strong> \u30ad\u30e3\u30c3\u30b7\u30e5\u30d5\u30e9\u30c3\u30b7\u30e5\u3092\u9069\u5207\u306b\u9023\u643a\u3055\u305b\u308b<\/li>\n<\/ul>\n\n<h2>OPcache \u306e\u4ed5\u7d44\u307f\uff1a\u518d\u30b3\u30f3\u30d1\u30a4\u30eb\u3067\u306f\u306a\u304f\u30d0\u30a4\u30c8\u30b3\u30fc\u30c9\u3092\u4f7f\u7528<\/h2>\n\n<p>\u901a\u5e38\u3001PHP \u306f\u30ea\u30af\u30a8\u30b9\u30c8\u3054\u3068\u306b\u30d5\u30a1\u30a4\u30eb\u3092\u8aad\u307f\u8fbc\u307f\u3001\u30b3\u30fc\u30c9\u3092\u89e3\u6790\u3057\u3066 <strong>\u30d0\u30a4\u30c8\u30b3\u30fc\u30c9<\/strong>, Zend Engine \u304c\u5b9f\u884c\u3059\u308b\u30d0\u30a4\u30c8\u30b3\u30fc\u30c9\u3067\u3059\u3002OPcache \u306f\u307e\u3055\u306b\u3053\u306e\u70b9\u306b\u7740\u76ee\u3057\u3001\u3053\u306e\u30d0\u30a4\u30c8\u30b3\u30fc\u30c9\u3092\u5171\u6709\u30e1\u30e2\u30ea\u306b\u4fdd\u5b58\u3059\u308b\u3053\u3068\u3067\u3001\u5f8c\u7d9a\u306e\u30af\u30a8\u30ea\u3092\u30e1\u30e2\u30ea\u304b\u3089\u76f4\u63a5\u958b\u59cb\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001CPU \u30b5\u30a4\u30af\u30eb\u3068\u30d5\u30a1\u30a4\u30eb\u30a2\u30af\u30bb\u30b9\u304c\u6e1b\u5c11\u3059\u308b\u305f\u3081\u3001\u5fdc\u7b54\u6642\u9593\u304c\u5927\u5e45\u306b\u77ed\u7e2e\u3055\u308c\u307e\u3059\u3002 \u4e00\u822c\u7684\u306a\u8a2d\u5b9a\u3067\u306f\u3001\u30b3\u30fc\u30c9\u30d9\u30fc\u30b9\u3084\u30c8\u30e9\u30d5\u30a3\u30c3\u30af\u30d7\u30ed\u30d5\u30a1\u30a4\u30eb\u306b\u3082\u3088\u308a\u307e\u3059\u304c\u300130% \u304b\u3089 70% \u306e\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u5411\u4e0a\u304c\u898b\u3089\u308c\u307e\u3059\u3002\u91cd\u8981\u306a\u306e\u306f\u3001\u30ad\u30e3\u30c3\u30b7\u30e5\u304c\u5341\u5206\u306a\u5927\u304d\u3055\u3067\u3042\u308a\u3001\u6700\u3082\u91cd\u8981\u306a\u30b9\u30af\u30ea\u30d7\u30c8\u304c\u5e38\u306b <strong>\u30e1\u30e2\u30ea<\/strong> \u306f\u6b8b\u308b\u3002<\/p>\n\n\n<figure class=\"wp-block-image size-full is-resized\">\n  <img fetchpriority=\"high\" decoding=\"async\" src=\"https:\/\/webhosting.de\/wp-content\/uploads\/2025\/12\/php-opcache-workspace-7164.png\" alt=\"\" width=\"1536\" height=\"1024\"\/>\n<\/figure>\n\n\n<h2>Linux\u3001Windows\u3001\u5171\u6709\u30db\u30b9\u30c6\u30a3\u30f3\u30b0\u3067 OPcache \u3092\u78ba\u8a8d\u304a\u3088\u3073\u6709\u52b9\u5316<\/h2>\n\n<p>\u79c1\u306f\u5e38\u306bphpinfo()\u3092\u78ba\u8a8d\u3059\u308b\u3053\u3068\u304b\u3089\u59cb\u3081\u3001\u300cZend\u300d\u3092\u691c\u7d22\u3057\u307e\u3059\u3002 <strong>\u30aa\u30da\u30ad\u30e3\u30c3\u30b7\u30e5<\/strong>\u201c\u300c\u304a\u3088\u3073 opcache.enable \u3084 opcache.memory_consumption \u306a\u3069\u306e\u30ad\u30fc\u3002Linux \u3067\u306f\u3001php-opcache \u30d1\u30c3\u30b1\u30fc\u30b8\u3068 conf.d \u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u5185\u306e opcache.ini \u3092\u4f7f\u7528\u3057\u3066\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u6709\u52b9\u306b\u3057\u307e\u3059\u3002 Windows \u3067\u306f\u3001php.ini \u306b zend_extension=opcache \u3068\u5165\u529b\u3057\u3001Web \u30b5\u30fc\u30d0\u30fc\u3092\u518d\u8d77\u52d5\u3059\u308b\u3060\u3051\u3067\u5341\u5206\u3067\u3059\u3002\u5171\u6709\u30db\u30b9\u30c6\u30a3\u30f3\u30b0\u3067\u306f\u3001\u591a\u304f\u306e\u5834\u5408\u3001\u30e6\u30fc\u30b6\u30fc\u5b9a\u7fa9\u306e php.ini \u307e\u305f\u306f\u9867\u5ba2\u30e1\u30cb\u30e5\u30fc\u304b\u3089 OPcache \u3092\u6709\u52b9\u306b\u3057\u307e\u3059\u3002\u30dc\u30c8\u30eb\u30cd\u30c3\u30af\u304c\u767a\u751f\u3057\u305f\u5834\u5408\u306f\u3001\u3055\u3089\u306b\u4ee5\u4e0b\u3082\u78ba\u8a8d\u3057\u307e\u3059\u3002 <a href=\"https:\/\/webhosting.de\/ja\/php%e3%81%ae%e3%83%a1%e3%83%a2%e3%83%aa%e5%88%b6%e9%99%90%e3%81%ae%e5%a2%97%e5%8a%a0%e3%81%ab%e3%82%88%e3%82%8b%e3%82%a8%e3%83%a9%e3%83%bc%e3%81%ae%e5%9b%9e%e9%81%bf\/\">PHP\u306e\u30e1\u30e2\u30ea\u5236\u9650\u3092\u5897\u3084\u3059<\/a>, OPcache \u3068 PHP-FPM \u304c\u5341\u5206\u306a <strong>\u30ea\u30bd\u30fc\u30b9<\/strong> \u3092\u53d7\u3051\u53d6\u308a\u307e\u3057\u305f\u3002<\/p>\n\n<h2>\u4e3b\u306a\u30b9\u30a4\u30c3\u30c1\u306b\u3064\u3044\u3066\u308f\u304b\u308a\u3084\u3059\u304f\u8aac\u660e<\/h2>\n\n<p>opcache.enable \u3092\u4f7f\u7528\u3059\u308b\u3068\u3001Web \u30ea\u30af\u30a8\u30b9\u30c8\u306e\u30ad\u30e3\u30c3\u30b7\u30e5\u3092\u6709\u52b9\u306b\u3057\u307e\u3059\u3002\u4e00\u65b9\u3001opcache.enable_cli \u306f CLI \u30b8\u30e7\u30d6\u3067\u306e\u4f7f\u7528\u3092\u5236\u5fa1\u3057\u3001\u30ef\u30fc\u30ab\u30fc\u30ad\u30e5\u30fc\u3067\u6709\u52b9\u3067\u3059\u3002\u4e2d\u6838\u3068\u306a\u308b\u306e\u306f opcache.memory_consumption \u3067\u3001\u5229\u7528\u53ef\u80fd\u306a\u5171\u6709\u30e1\u30e2\u30ea\u3092\u30e1\u30ac\u30d0\u30a4\u30c8\u5358\u4f4d\u3067\u6307\u5b9a\u3057\u307e\u3059\u3002\u8a2d\u5b9a\u304c\u5c11\u306a\u3059\u304e\u308b\u3068\u3001\u30a8\u30f4\u30a3\u30af\u30b7\u30e7\u30f3\u304c\u767a\u751f\u3057\u3001\u518d <strong>\u30b3\u30f3\u30d4\u30ec\u30fc\u30b7\u30e7\u30f3<\/strong>. opcache.max_accelerated_files \u306f\u3001\u30ad\u30e3\u30c3\u30b7\u30e5\u306b\u4fdd\u5b58\u3067\u304d\u308b\u30d5\u30a1\u30a4\u30eb\u306e\u7dcf\u6570\u3092\u5b9a\u7fa9\u3057\u307e\u3059\u3002\u3053\u306e\u5024\u306f\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u30d5\u30a1\u30a4\u30eb\u6570\u3092\u5341\u5206\u306b\u4e0a\u56de\u308b\u5024\u306b\u8a2d\u5b9a\u3057\u3066\u304f\u3060\u3055\u3044\u3002opcache.validate_timestamps \u304a\u3088\u3073 opcache.revalidate_freq \u3092\u4f7f\u7528\u3057\u3066\u3001OPcache \u304c\u30d5\u30a1\u30a4\u30eb\u306e\u5909\u66f4\u3092\u691c\u8a3c\u3059\u308b\u53b3\u3057\u3055\u3092\u3001\u975e\u5e38\u306b\u52d5\u7684\uff08\u958b\u767a\uff09\u304b\u3089\u975e\u5e38\u306b\u63a7\u3048\u3081\uff08\u624b\u52d5\u30d5\u30e9\u30c3\u30b7\u30e5\u306b\u3088\u308b\u672c\u756a\uff09\u307e\u3067\u8a2d\u5b9a\u3057\u307e\u3059\u3002 \u591a\u304f\u306e\u30c4\u30fc\u30eb\u304c <strong>DocBlocks<\/strong> \u4f9d\u5b58\u3057\u3066\u3044\u308b\u3002.<\/p>\n\n\n<figure class=\"wp-block-image size-full is-resized\">\n  <img decoding=\"async\" src=\"https:\/\/webhosting.de\/wp-content\/uploads\/2025\/12\/php_opcache_meeting_7093.png\" alt=\"\" width=\"1536\" height=\"1024\"\/>\n<\/figure>\n\n\n<h2>\u958b\u59cb\u5024\u3068\u30d7\u30ed\u30d5\u30a1\u30a4\u30eb\u306e\u6bd4\u8f03<\/h2>\n\n<p>\u30b9\u30e0\u30fc\u30ba\u306a\u5c0e\u5165\u306e\u305f\u3081\u306b\u3001\u958b\u767a\u3001\u30b9\u30c6\u30fc\u30b8\u30f3\u30b0\u3001\u672c\u756a\u74b0\u5883\u306b\u3064\u3044\u3066\u660e\u78ba\u306a\u30d7\u30ed\u30d5\u30a1\u30a4\u30eb\u3092\u8a2d\u5b9a\u3057\u3066\u3044\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u6642\u306b\u8fc5\u901f\u306a\u30d5\u30a3\u30fc\u30c9\u30d0\u30c3\u30af\u30b5\u30a4\u30af\u30eb\u3092\u5f97\u3089\u308c\u308b\u4e00\u65b9\u3067\u3001\u672c\u756a\u74b0\u5883\u3067\u306e\u4fe1\u983c\u6027\u306e\u9ad8\u3044\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u3092\u5b9f\u73fe\u3057\u3066\u3044\u307e\u3059\u3002\u91cd\u8981\u306a\u306e\u306f\u3001\u3053\u308c\u3089\u306e\u521d\u671f\u5024\u3092\u5b9f\u969b\u306e\u30e1\u30c8\u30ea\u30af\u30b9\u3068\u5b9a\u671f\u7684\u306b\u7167\u5408\u3057\u3001\u8abf\u6574\u3059\u308b\u3053\u3068\u3067\u3059\u3002\u5927\u898f\u6a21\u306a WordPress \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u306f\u3001\u30d7\u30e9\u30b0\u30a4\u30f3\u3084\u30c6\u30fc\u30de\u304c\u591a\u304f\u306e <strong>\u30d5\u30a1\u30a4\u30eb<\/strong> \u751f\u6210\u3057\u307e\u3059\u3002\u4ee5\u4e0b\u306e\u8868\u306f\u3001\u30d2\u30c3\u30c8\u7387\u3068\u30a8\u30f4\u30a3\u30af\u30b7\u30e7\u30f3\u306b\u57fa\u3065\u3044\u3066\u5fae\u8abf\u6574\u3092\u884c\u3046\u3001\u9069\u5207\u306a\u521d\u671f\u5024\u3092\u307e\u3068\u3081\u305f\u3082\u306e\u3067\u3059\u3002.<\/p>\n\n<table>\n  <thead>\n    <tr>\n      <th>\u30bb\u30c3\u30c6\u30a3\u30f3\u30b0<\/th>\n      <th>\u958b\u767a<\/th>\n      <th>\u30b9\u30c6\u30fc\u30b8\u30f3\u30b0\/\u30c6\u30b9\u30c8<\/th>\n      <th>\u88fd\u9020<\/th>\n    <\/tr>\n  <\/thead>\n  <tbody>\n    <tr>\n      <td>opcache.enable<\/td>\n      <td>1<\/td>\n      <td>1<\/td>\n      <td>1<\/td>\n    <\/tr>\n    <tr>\n      <td>opcache.enable_cli<\/td>\n      <td>0<\/td>\n      <td>0\u20131<\/td>\n      <td>1\uff08CLI \u30b8\u30e7\u30d6\u306e\u5834\u5408\uff09<\/td>\n    <\/tr>\n    <tr>\n      <td>opcache.memory_consumption<\/td>\n      <td>128\uff5e256 MB<\/td>\n      <td>256\uff5e512 MB<\/td>\n      <td>256\uff5e512+ MB<\/td>\n    <\/tr>\n    <tr>\n      <td>opcache.interned_strings_buffer<\/td>\n      <td>16\uff5e32 MB<\/td>\n      <td>32\uff5e64 MB<\/td>\n      <td>16\uff5e64 MB<\/td>\n    <\/tr>\n    <tr>\n      <td>opcache.max_accelerated_files<\/td>\n      <td>8,000\uff5e10,000<\/td>\n      <td>10,000\uff5e20,000<\/td>\n      <td>10,000\uff5e20,000\u4ee5\u4e0a<\/td>\n    <\/tr>\n    <tr>\n      <td>opcache.validate_timestamps<\/td>\n      <td>1<\/td>\n      <td>1<\/td>\n      <td>0\u20131 (\u30c7\u30d7\u30ed\u30a4\u306b\u4f9d\u5b58)<\/td>\n    <\/tr>\n    <tr>\n      <td>opcache.revalidate_freq<\/td>\n      <td>0\uff5e2\u79d2<\/td>\n      <td>60\uff5e300\u79d2<\/td>\n      <td>300+ \u79d2\u307e\u305f\u306f 0 (\u624b\u52d5\u30c1\u30a7\u30c3\u30af\u4ed8\u304d)<\/td>\n    <\/tr>\n    <tr>\n      <td>opcache.save_comments<\/td>\n      <td>1<\/td>\n      <td>1<\/td>\n      <td>1<\/td>\n    <\/tr>\n    <tr>\n      <td>opcache.fast_shutdown<\/td>\n      <td>1<\/td>\n      <td>1<\/td>\n      <td>1<\/td>\n    <\/tr>\n  <\/tbody>\n<\/table>\n\n<p>\u3053\u306e\u30de\u30c8\u30ea\u30c3\u30af\u30b9\u306f\u3001\u5b9f\u969b\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306f\u6210\u9577\u306e\u4ed5\u65b9\u304c\u5927\u304d\u304f\u7570\u306a\u308b\u305f\u3081\u3001\u610f\u56f3\u7684\u306b\u5b9f\u7528\u7684\u306a\u3082\u306e\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002\u79c1\u306f\u3053\u308c\u3089\u306e\u5024\u304b\u3089\u59cb\u3081\u3001\u30d2\u30c3\u30c8\u7387\u3001\u5171\u6709\u30e1\u30e2\u30ea\u306e\u4f7f\u7528\u7387\u3001\u304a\u3088\u3073\u30a8\u30f4\u30a3\u30af\u30b7\u30e7\u30f3\u306e\u767a\u751f\u3092\u89b3\u5bdf\u3057\u307e\u3059\u3002\u8ca0\u8377\u306e\u5146\u5019\u304c\u898b\u3089\u308c\u305f\u5834\u5408\u306f\u3001\u307e\u305a opcache.memory_consumption \u3092\u9069\u5ea6\u306b\u6bb5\u968e\u7684\u306b\u5897\u3084\u3057\u307e\u3059\u3002\u305d\u306e\u5f8c\u3001\u30d5\u30a1\u30a4\u30eb\u6570\u304c\u5feb\u9069\u306b\u53ce\u307e\u308b\u307e\u3067 opcache.max_accelerated_files \u3092\u8abf\u6574\u3057\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001 <strong>\u30ad\u30e3\u30c3\u30b7\u30e5<\/strong> \u52b9\u679c\u7684\u3067\u3001\u554f\u3044\u5408\u308f\u305b\u306f\u5b89\u5b9a\u3057\u3066\u9806\u8abf\u3067\u3059\u3002.<\/p>\n\n<h2>\u74b0\u5883\u306b\u5fdc\u3058\u305f\u8a2d\u5b9a\uff1a\u958b\u767a\u3001\u30b9\u30c6\u30fc\u30b8\u30f3\u30b0\u3001\u672c\u756a<\/h2>\n\n<p>\u958b\u767a\u3067\u306f\u3001\u30b3\u30fc\u30c9\u5909\u66f4\u306b\u5bfe\u3059\u308b\u8fc5\u901f\u306a\u30d5\u30a3\u30fc\u30c9\u30d0\u30c3\u30af\u304c\u91cd\u8981\u3067\u3042\u308b\u305f\u3081\u3001validate_timestamps=1 \u304a\u3088\u3073 revalidate_freq \u3092\u975e\u5e38\u306b\u4f4e\u3044\u5024\u3001\u3042\u308b\u3044\u306f 0 \u306b\u8a2d\u5b9a\u3057\u3066\u3044\u307e\u3059\u3002\u30b9\u30c6\u30fc\u30b8\u30f3\u30b0\u3067\u306f\u3001\u73fe\u5b9f\u7684\u306a\u8ca0\u8377\u3092\u30c6\u30b9\u30c8\u3057\u3001\u7d50\u679c\u304c\u5f8c\u306e\u30e9\u30a4\u30d6\u904b\u7528\u306b\u8fd1\u3065\u304f\u3088\u3046\u3001\u30e1\u30e2\u30ea\u3092\u591a\u3081\u306b\u8a2d\u5b9a\u3057\u3066\u3044\u307e\u3059\u3002 \u672c\u756a\u74b0\u5883\u3067\u306f\u3001\u30c7\u30d7\u30ed\u30a4\u30e1\u30f3\u30c8\u5f8c\u306b\u30ad\u30e3\u30c3\u30b7\u30e5\u3092\u610f\u56f3\u7684\u306b\u30af\u30ea\u30a2\u3059\u308b\u5834\u5408\u3001\u30c1\u30a7\u30c3\u30af\u306e\u983b\u5ea6\u3092\u4e0a\u3052\u305f\u308a\u3001\u30bf\u30a4\u30e0\u30b9\u30bf\u30f3\u30d7\u3092\u5b8c\u5168\u306b\u7121\u52b9\u306b\u3057\u305f\u308a\u3057\u307e\u3059\u3002CLI \u30d9\u30fc\u30b9\u306e\u30ef\u30fc\u30ab\u30fc\u306b\u3064\u3044\u3066\u306f\u3001enable_cli=1 \u3092\u6709\u52b9\u306b\u3057\u3066\u3001\u7e70\u308a\u8fd4\u3057\u5b9f\u884c\u3055\u308c\u308b\u30b8\u30e7\u30d6\u3082 <strong>\u30d0\u30a4\u30c8\u30b3\u30fc\u30c9\u30ad\u30e3\u30c3\u30b7\u30e5<\/strong> \u30e1\u30ea\u30c3\u30c8\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u5404\u74b0\u5883\u306f\u3001\u53cd\u5fdc\u6642\u9593\u306b\u9a5a\u304d\u304c\u306a\u304f\u3001\u307e\u3055\u306b\u79c1\u304c\u5fc5\u8981\u3068\u3059\u308b\u52d5\u4f5c\u3092\u751f\u307f\u51fa\u3057\u307e\u3059\u3002.<\/p>\n\n\n<figure class=\"wp-block-image size-full is-resized\">\n  <img decoding=\"async\" src=\"https:\/\/webhosting.de\/wp-content\/uploads\/2025\/12\/php-opcache-visualisierung-cache-9281.png\" alt=\"\" width=\"1536\" height=\"1024\"\/>\n<\/figure>\n\n\n<h2>\u591a\u304f\u306e\u5834\u5408\u3001\u9055\u3044\u3092\u751f\u3080\u9ad8\u5ea6\u306a\u8a2d\u5b9a<\/h2>\n\n<p>\u57fa\u672c\u30d1\u30e9\u30e1\u30fc\u30bf\u306b\u52a0\u3048\u3066\u3001\u5b89\u5b9a\u6027\u3068\u5b89\u5168\u6027\u3092\u9ad8\u3081\u3001\u526f\u4f5c\u7528\u3092\u6700\u5c0f\u9650\u306b\u6291\u3048\u308b\u305f\u3081\u306e\u30b9\u30a4\u30c3\u30c1\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n<ul>\n  <li>opcache.max_wasted_percentage: OPcache \u304c\u30e1\u30e2\u30ea\u306e\u5185\u90e8\u518d\u69cb\u7bc9\u3092\u958b\u59cb\u3059\u308b\u65ad\u7247\u5316\u306e\u7a0b\u5ea6\u3092\u5b9a\u7fa9\u3057\u307e\u3059\u3002\u30b3\u30fc\u30c9\u30d9\u30fc\u30b9\u304c\u5927\u304d\u304f\u5909\u5316\u3059\u308b\u5834\u5408\u306f\u3001\u3053\u306e\u5024\u3092\u5c11\u3057\u4e0b\u3052\u3066\u3001\u30e1\u30e2\u30ea\u306e\u300c\u7121\u99c4\u300d\u3092\u6e1b\u3089\u3057\u307e\u3059\u3002.<\/li>\n  <li>opcache.force_restart_timeout: \u518d\u8d77\u52d5\u304c\u5fc5\u8981\u3067\u3042\u308b\u304c\u30d7\u30ed\u30bb\u30b9\u304c\u307e\u3060\u30a2\u30af\u30c6\u30a3\u30d6\u306a\u5834\u5408\u3001OPcache \u304c\u5f37\u5236\u518d\u8d77\u52d5\u3092\u5b9f\u884c\u3059\u308b\u307e\u3067\u306e\u6642\u9593\uff08\u79d2\u5358\u4f4d\uff09\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u975e\u5e38\u306b\u9577\u3044\u5f85\u6a5f\u72b6\u614b\u304c\u56de\u907f\u3055\u308c\u307e\u3059\u3002.<\/li>\n  <li>opcache.file_update_protection: \u5909\u66f4\u3055\u308c\u305f\u3070\u304b\u308a\u306e\u30d5\u30a1\u30a4\u30eb\u304c\u3059\u3050\u306b\u30ad\u30e3\u30c3\u30b7\u30e5\u3055\u308c\u306a\u3044\u4fdd\u8b77\u671f\u9593\uff08\u79d2\u5358\u4f4d\uff09\u3002\u30c7\u30d7\u30ed\u30a4\u4e2d\u3084\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30c9\u30e9\u30a4\u30d6\u4e0a\u3067\u3001\u66f8\u304d\u304b\u3051\u306e\u30d5\u30a1\u30a4\u30eb\u304c\u767a\u751f\u3059\u308b\u306e\u3092\u9632\u304e\u307e\u3059\u3002.<\/li>\n  <li>opcache.restrict_api: opcache_reset() \u304a\u3088\u3073\u30b9\u30c6\u30fc\u30bf\u30b9\u95a2\u6570\u3092\u547c\u3073\u51fa\u3059\u3053\u3068\u304c\u3067\u304d\u308b\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u5236\u9650\u3057\u307e\u3059\u3002\u672c\u756a\u74b0\u5883\u3067\u306f\u3001\u7ba1\u7406\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u306e\u307f\u304c\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u3088\u3046\u306b\u3001\u3053\u308c\u3092\u53b3\u683c\u306b\u8a2d\u5b9a\u3057\u3066\u3044\u307e\u3059\u3002.<\/li>\n  <li>opcache.blacklist_filename: \u30ad\u30e3\u30c3\u30b7\u30e5\u304b\u3089\u9664\u5916\u3059\u308b\u30d1\u30bf\u30fc\u30f3\uff08\u4f8b\uff1a\u9ad8\u5ea6\u306b\u52d5\u7684\u306a\u30b8\u30a7\u30cd\u30ec\u30fc\u30bf\uff09\u3092\u7ba1\u7406\u3057\u3066\u3044\u308b\u30d5\u30a1\u30a4\u30eb\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u3088\u308a\u91cd\u8981\u306a\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u305f\u3081\u306e\u30b9\u30da\u30fc\u30b9\u3092\u7bc0\u7d04\u3067\u304d\u307e\u3059\u3002.<\/li>\n  <li>opcache.validate_permission \u304a\u3088\u3073 opcache.validate_root: \u8907\u6570\u306e\u30e6\u30fc\u30b6\u30fc\/chroot \u304c\u95a2\u4e0e\u3057\u3066\u3044\u308b\u5834\u5408\u306b\u6709\u52b9\u3067\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001PHP \u306f\u3001\u3042\u308b\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u3067\u30ad\u30e3\u30c3\u30b7\u30e5\u3055\u308c\u305f\u30b3\u30fc\u30c9\u304c\u5225\u306e\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u3067\u4e0d\u6b63\u306b\u4f7f\u7528\u3055\u308c\u308b\u306e\u3092\u9632\u304e\u307e\u3059\u3002.<\/li>\n  <li>opcache.use_cwd \u304a\u3088\u3073 opcache.revalidate_path: \u7570\u306a\u308b\u4f5c\u696d\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\/\u30b7\u30f3\u30dc\u30ea\u30c3\u30af\u30ea\u30f3\u30af\u3092\u4ecb\u3057\u3066\u30d1\u30b9\u304c\u7d44\u307f\u8fbc\u307e\u308c\u308b\u5834\u5408\u3001OPcache \u304c\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u8b58\u5225\u3059\u308b\u65b9\u6cd5\u3092\u5236\u5fa1\u3057\u307e\u3059\u3002\u30ea\u30ea\u30fc\u30b9\u30b7\u30f3\u30dc\u30ea\u30c3\u30af\u30ea\u30f3\u30af\u3067\u306f\u3001\u4e8c\u91cd\u30ad\u30e3\u30c3\u30b7\u30e5\u3092\u56de\u907f\u3059\u308b\u305f\u3081\u306b\u3001\u3053\u308c\u3089\u306e\u5024\u3092\u610f\u56f3\u7684\u306b\u30c6\u30b9\u30c8\u3057\u3066\u3044\u307e\u3059\u3002.<\/li>\n  <li>opcache.cache_id: \u8907\u6570\u306e\u4eee\u60f3\u30db\u30b9\u30c8\u304c\u540c\u3058 SHM \u3092\u5171\u6709\u3057\u3066\u3044\u308b\u5834\u5408\uff08\u307e\u308c\uff09\u3001\u4e00\u610f\u306e ID \u3092\u4f7f\u7528\u3057\u3066\u30ad\u30e3\u30c3\u30b7\u30e5\u3092\u660e\u78ba\u306b\u5206\u96e2\u3057\u307e\u3059\u3002.<\/li>\n  <li>opcache.optimization_level: \u901a\u5e38\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u307e\u307e\u306b\u3057\u3066\u304a\u304d\u307e\u3059\u3002\u30c7\u30d0\u30c3\u30b0\u306e\u30a8\u30c3\u30b8\u30b1\u30fc\u30b9\u306e\u5834\u5408\u306b\u306e\u307f\u3001\u6700\u9069\u5316\u30d1\u30b9\u3092\u4e00\u6642\u7684\u306b\u6e1b\u3089\u3057\u307e\u3059\u3002.<\/li>\n<\/ul>\n\n<h2>\u30d7\u30ea\u30ed\u30fc\u30c7\u30a3\u30f3\u30b0\uff1a\u30b3\u30fc\u30c9\u306e\u4e00\u90e8\u3092\u30e1\u30e2\u30ea\u306b\u6c38\u7d9a\u7684\u306b\u4fdd\u6301\u3059\u308b<\/h2>\n\n<p>PHP 7.4 \u4ee5\u964d\u3067\u306f\u3001opcache.preload \u304a\u3088\u3073 opcache.preload_user \u3092\u4f7f\u7528\u3057\u3066\u3001\u30b5\u30fc\u30d0\u30fc\u306e\u8d77\u52d5\u6642\u306b\u4e2d\u592e\u306e\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u30d5\u30a1\u30a4\u30eb\u3084\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30d5\u30a1\u30a4\u30eb\u3092\u30ed\u30fc\u30c9\u3057\u3066\u30ea\u30f3\u30af\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u305d\u306e\u5229\u70b9\u3068\u3057\u3066\u306f\u3001\u30af\u30e9\u30b9\u304c\u30aa\u30fc\u30c8\u30ed\u30fc\u30c9\u30d2\u30c3\u30c8\u306a\u3057\u3067\u5229\u7528\u53ef\u80fd\u306b\u306a\u308a\u3001\u30db\u30c3\u30c8\u30d1\u30b9\u304c\u3059\u3050\u306b\u5229\u7528\u53ef\u80fd\u306b\u306a\u308b\u3053\u3068\u304c\u6319\u3052\u3089\u308c\u307e\u3059\u3002\u3044\u304f\u3064\u304b\u306e\u5b9f\u8df5\u7684\u306a\u30eb\u30fc\u30eb\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n\n<ul>\n  <li>\u30d7\u30ea\u30ed\u30fc\u30c9\u306f\u3001\u5927\u898f\u6a21\u3067\u5b89\u5b9a\u3057\u305f\u30b3\u30fc\u30c9\u30d9\u30fc\u30b9\uff08Symfony\u3001\u72ec\u81ea\u306e\u30b3\u30a2\u30e9\u30a4\u30d6\u30e9\u30ea\u306a\u3069\uff09\u3067\u7279\u306b\u6709\u52b9\u3067\u3059\u3002WordPress \u3067\u306f\u3001\u30b3\u30a2\/\u30d7\u30e9\u30b0\u30a4\u30f3\u304c\u983b\u7e41\u306b\u66f4\u65b0\u3055\u308c\u308b\u305f\u3081\u3001\u30d7\u30ea\u30ed\u30fc\u30c9\u306e\u4f7f\u7528\u306f\u63a7\u3048\u3081\u306b\u3057\u3066\u3044\u307e\u3059\u3002.<\/li>\n  <li>\u30d7\u30ea\u30ed\u30fc\u30c9\u30d5\u30a1\u30a4\u30eb\u306b\u306f\u3001\u7279\u5b9a\u306e opcache_compile_file() \u30b3\u30fc\u30eb\u304c\u542b\u307e\u308c\u3066\u3044\u308b\u304b\u3001\u5b9a\u7fa9\u3055\u308c\u305f\u30af\u30e9\u30b9\u3092\u30d0\u30a4\u30f3\u30c9\u3059\u308b\u30aa\u30fc\u30c8\u30ed\u30fc\u30c0\u30fc\u304c\u7d44\u307f\u8fbc\u307e\u308c\u3066\u3044\u307e\u3059\u3002 <em>\u524d\u3082\u3063\u3066<\/em> \u30ed\u30fc\u30c9\u4e2d\u3002.<\/li>\n  <li>\u30d7\u30ea\u30ed\u30fc\u30c9\u306b\u95a2\u9023\u3059\u308b\u30d5\u30a1\u30a4\u30eb\u306b\u30b3\u30fc\u30c9\u5909\u66f4\u3092\u52a0\u3048\u308b\u5834\u5408\u306f\u3001\u30d7\u30ea\u30ed\u30fc\u30c9\u3092\u518d\u69cb\u7bc9\u3059\u308b\u305f\u3081\u306b PHP-FPM \u3092\u518d\u8d77\u52d5\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u79c1\u306f\u3053\u308c\u3092\u30c7\u30d7\u30ed\u30a4\u30e1\u30f3\u30c8\u306b\u7d44\u307f\u8fbc\u3093\u3067\u3044\u307e\u3059\u3002.<\/li>\n  <li>\u79c1\u306f\u305d\u306e\u52b9\u679c\u3092\u500b\u5225\u306b\u6e2c\u5b9a\u3057\u3066\u3044\u307e\u3059\u3002\u3059\u3079\u3066\u306e\u30b3\u30fc\u30c9\u304c\u6069\u6075\u3092\u53d7\u3051\u308b\u308f\u3051\u3067\u306f\u306a\u3044\u304b\u3089\u3067\u3059\u3002\u30d7\u30ea\u30ed\u30fc\u30c9\u306f\u5171\u6709\u30e1\u30e2\u30ea\u3092\u8ffd\u52a0\u3067\u6d88\u8cbb\u3057\u307e\u3059\u3002.<\/li>\n<\/ul>\n\n<h2>JIT \u3068 OPcache\uff1a\u30e1\u30ea\u30c3\u30c8\u3001\u5236\u9650\u3001\u30e1\u30e2\u30ea\u8981\u4ef6<\/h2>\n\n<p>PHP 8 \u4ee5\u964d\u3001OPcache \u306b\u3088\u3063\u3066\u5236\u5fa1\u3055\u308c\u308b\u30b8\u30e3\u30b9\u30c8\u30a4\u30f3\u30bf\u30a4\u30e0\u30b3\u30f3\u30d1\u30a4\u30e9 (JIT) \u304c\u5c0e\u5165\u3055\u308c\u307e\u3057\u305f (opcache.jit\u3001opcache.jit_buffer_size)\u3002I\/O \u304a\u3088\u3073\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u8ca0\u8377\u304c\u304b\u304b\u308b\u4e00\u822c\u7684\u306a Web \u30ef\u30fc\u30af\u30ed\u30fc\u30c9\u3067\u306f\u3001JIT \u306e\u52b9\u679c\u306f\u3042\u307e\u308a\u898b\u3089\u308c\u307e\u305b\u3093\u3002CPU \u8ca0\u8377\u306e\u9ad8\u3044\u30b3\u30fc\u30c9 (\u753b\u50cf\/\u30c7\u30fc\u30bf\u51e6\u7406\u306a\u3069) \u3067\u306f\u3001JIT \u304c\u9855\u8457\u306a\u52b9\u679c\u3092\u767a\u63ee\u3057\u307e\u3059\u3002\u79c1\u306f\u6b21\u306e\u3088\u3046\u306b\u5bfe\u5fdc\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n<ul>\n  <li>JIT \u3092\u4fdd\u5b88\u7684\u306b\u6709\u52b9\u5316\u3057\u3001\u5b9f\u969b\u306e\u30e6\u30fc\u30b6\u30fc\u30e1\u30c8\u30ea\u30af\u30b9\u3068 CPU \u30d7\u30ed\u30d5\u30a1\u30a4\u30eb\u3092\u6e2c\u5b9a\u3057\u307e\u3059\u3002\u7121\u5dee\u5225\u306b\u6709\u52b9\u5316\u3059\u308b\u3068\u3001\u30e1\u30e2\u30ea\u8981\u4ef6\u304c\u5897\u5927\u3057\u3001\u30a8\u30c3\u30b8\u30b1\u30fc\u30b9\u304c\u767a\u751f\u3059\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002.<\/li>\n  <li>JIT\u30d0\u30c3\u30d5\u30a1\u306e\u30b5\u30a4\u30ba\u306f\u3001CPU\u8ca0\u8377\u306e\u9ad8\u3044\u30eb\u30fc\u30c8\u306b\u5fdc\u3058\u3066\u6c7a\u5b9a\u3057\u307e\u3059\u3002\u5c0f\u3055\u3059\u304e\u308b\u30d0\u30c3\u30d5\u30a1\u306f\u4ed8\u52a0\u4fa1\u5024\u3092\u3082\u305f\u3089\u3055\u305a\u3001\u5927\u304d\u3059\u304e\u308b\u30d0\u30c3\u30d5\u30a1\u306f\u30d0\u30a4\u30c8\u30b3\u30fc\u30c9\u3092\u5727\u8feb\u3057\u307e\u3059\u3002.<\/li>\n  <li>\u30d2\u30c3\u30c8\u7387\u3084 SHM \u306e\u4f7f\u7528\u7387\u304c\u4f4e\u4e0b\u3057\u3066\u3044\u308b\u5834\u5408\u306f\u3001JIT \u3088\u308a OPcache \u3092\u512a\u5148\u3057\u307e\u3059\u3002\u30d0\u30a4\u30c8\u30b3\u30fc\u30c9\u30ad\u30e3\u30c3\u30b7\u30e5\u306f\u3001\u307b\u3068\u3093\u3069\u306e\u30b5\u30a4\u30c8\u306b\u3068\u3063\u3066\u3088\u308a\u91cd\u8981\u306a\u8981\u7d20\u3067\u3059\u3002.<\/li>\n<\/ul>\n\n<h2>\u30d5\u30a1\u30a4\u30eb\u30d1\u30b9\u3001\u30b7\u30f3\u30dc\u30ea\u30c3\u30af\u30ea\u30f3\u30af\u3001\u5b89\u5168\u306a\u30c7\u30d7\u30ed\u30a4\u6226\u7565<\/h2>\n\n<p>OPcache \u306f\u30d1\u30b9\u30d9\u30fc\u30b9\u3067\u3059\u3002\u305d\u306e\u305f\u3081\u3001\u30c7\u30d7\u30ed\u30a4\u6226\u7565\u306b\u7126\u70b9\u3092\u5f53\u3066\u307e\u3059\u3002<\/p>\n\n<ul>\n  <li>\u30b7\u30f3\u30dc\u30ea\u30c3\u30af\u30ea\u30f3\u30af\u306b\u3088\u308b\u30a2\u30c8\u30df\u30c3\u30af\u30ea\u30ea\u30fc\u30b9\uff08\u4f8b\uff1a\/releases\/123 -&gt; \/current\uff09\uff1a\u30af\u30ea\u30fc\u30f3\u3067\u3059\u304c\u3001opcache.use_cwd \u304a\u3088\u3073 realpath \u306e\u52d5\u4f5c\u306b\u6ce8\u610f\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u3059\u3079\u3066\u306e\u30ef\u30fc\u30ab\u30fc\u304c\u5e38\u306b\u540c\u3058\u5b9f\u969b\u306e\u30d1\u30b9\u3092\u53c2\u7167\u3059\u308b\u3088\u3046\u306b\u3059\u308b\u3053\u3068\u3067\u3001\u30ad\u30e3\u30c3\u30b7\u30e5\u306e\u91cd\u8907\u3092\u56de\u907f\u3057\u3066\u3044\u307e\u3059\u3002.<\/li>\n  <li>validate_timestamps=0 \u306e\u5834\u5408\u3001\u30ad\u30e3\u30c3\u30b7\u30e5\u306f <em>\u3069\u3053\u3067\u3082<\/em> \u7a7a\u306b\u3059\u308b\uff1a\u5207\u308a\u66ff\u3048\u5f8c\u3001\u3059\u3079\u3066\u306e\u30db\u30b9\u30c8\/\u30dd\u30c3\u30c9\u3067 OPcache \u3092\u610f\u56f3\u7684\u306b\u30d5\u30e9\u30c3\u30b7\u30e5\u3057\u3001PHP-FPM \u3092\u5236\u5fa1\u3057\u3066\u518d\u8d77\u52d5\u3057\u307e\u3059\u3002.<\/li>\n  <li>realpath_cache_size \u304a\u3088\u3073 realpath_cache_ttl \u306f\u3001\u30d5\u30a1\u30a4\u30eb\u691c\u7d22\u304c\u9ad8\u901f\u304b\u3064\u5b89\u5b9a\u7684\u306b\u884c\u3048\u308b\u3088\u3046\u3001OPcache \u3068\u8abf\u6574\u3057\u3066\u3044\u307e\u3059\u3002.<\/li>\n  <li>\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30c9\u30e9\u30a4\u30d6\uff08NFS\/SMB\uff09\u3067\u306f\u3001file_update_protection \u3092\u5897\u3084\u3057\u3001\u30d5\u30a1\u30a4\u30eb\u304c\u30a2\u30c8\u30df\u30c3\u30af\u306b\u7f6e\u63db\u3055\u308c\u308b\u3088\u3046\u306b\u30c7\u30d7\u30ed\u30a4\u30e1\u30f3\u30c8\u3092\u8a2d\u5b9a\u3057\u3066\u3044\u307e\u3059\u3002.<\/li>\n<\/ul>\n\n<p>\u975e\u5e38\u306b\u9ad8\u901f\u306a\u518d\u8d77\u52d5\u306e\u305f\u3081\u306b\u3001\u79c1\u306f\u3088\u304f2\u6bb5\u968e\u306e\u624b\u9806\u3092\u63a1\u7528\u3057\u3066\u3044\u307e\u3059\u3002\u307e\u305a\u30d0\u30c3\u30af\u30b0\u30e9\u30a6\u30f3\u30c9\u3067\u30a6\u30a9\u30fc\u30e0\u30a2\u30c3\u30d7\u3092\u884c\u3044\u3001\u6b21\u306b\u3059\u3079\u3066\u306e\u30ef\u30fc\u30ab\u30fc\u3092\u77ed\u6642\u9593\u3067\u8abf\u6574\u3057\u3066\u30ea\u30ed\u30fc\u30c9\u3057\u3001\u6700\u521d\u306e\u30e9\u30a4\u30d6\u30c8\u30e9\u30d5\u30a3\u30c3\u30af\u304c\u3059\u3067\u306b\u30a6\u30a9\u30fc\u30e0\u30a2\u30c3\u30d7\u3055\u308c\u305f\u30ad\u30e3\u30c3\u30b7\u30e5\u3092\u898b\u3064\u3051\u308b\u3088\u3046\u306b\u3057\u307e\u3059\u3002.<\/p>\n\n\n<figure class=\"wp-block-image size-full is-resized\">\n  <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/webhosting.de\/wp-content\/uploads\/2025\/12\/php-opcache-workspace-5931.png\" alt=\"\" width=\"1536\" height=\"1024\"\/>\n<\/figure>\n\n\n<h2>\u30d5\u30a1\u30a4\u30eb\u30ad\u30e3\u30c3\u30b7\u30e5\u3001\u30a6\u30a9\u30fc\u30e0\u30a2\u30c3\u30d7\u3001\u30d7\u30e9\u30a4\u30df\u30f3\u30b0<\/h2>\n\n<p>\u5171\u6709\u30e1\u30e2\u30ea\u306b\u52a0\u3048\u3066\u3001OPcache \u306f\u30aa\u30d7\u30b7\u30e7\u30f3\u3067\u30d0\u30a4\u30c8\u30b3\u30fc\u30c9\u3092\u30c7\u30a3\u30b9\u30af\u306b\u66f8\u304d\u8fbc\u3080\u3053\u3068\u304c\u3067\u304d\u307e\u3059 (opcache.file_cache)\u3002\u3053\u308c\u306f\u3001\u7279\u5b9a\u306e\u30b7\u30ca\u30ea\u30aa\u3067\u5f79\u7acb\u3061\u307e\u3059\u3002<\/p>\n\n<ul>\n  <li>\u30b3\u30f3\u30c6\u30ca\u74b0\u5883\u3067\u306f\u3001\u30d5\u30a1\u30a4\u30eb\u30ad\u30e3\u30c3\u30b7\u30e5\u304c <em>\u9593<\/em> FPM\u306e\u518d\u8d77\u52d5\u306f\u3001\u30b9\u30c8\u30ec\u30fc\u30b8\u304c\u9ad8\u901f\u3067\u3042\u308c\u3070\u3001\u518d\u30b3\u30f3\u30d1\u30a4\u30eb\u6642\u9593\u3092\u77ed\u7e2e\u3057\u307e\u3059\u3002.<\/li>\n  <li>\u79c1\u306f opcache.file_cache \u3092\u614e\u91cd\u306b\u4f7f\u7528\u3057\u3066\u3044\u307e\u3059\u3002\u4f4e\u901f\u307e\u305f\u306f\u5206\u6563\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u3067\u306f\u3001\u305d\u306e\u52b9\u679c\u306f\u307b\u3068\u3093\u3069\u306a\u304f\u3001\u8907\u96d1\u3055\u3092\u5897\u3059\u3060\u3051\u3060\u304b\u3089\u3067\u3059\u3002.<\/li>\n  <li>opcache.file_cache_only \u306f\u3001SHM \u304c\u306a\u3044\u74b0\u5883\u5411\u3051\u306e\u7279\u5225\u306a\u30b1\u30fc\u30b9\u3067\u3001\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u8a2d\u5b9a\u3067\u306f\u3042\u307e\u308a\u4f7f\u308f\u308c\u306a\u3044\u3088\u3002.<\/li>\n<\/ul>\n\n<p>\u30a6\u30a9\u30fc\u30e0\u30a2\u30c3\u30d7\u306e\u305f\u3081\u306b\u3001\u5c0f\u3055\u306a\u300c\u30d7\u30e9\u30a4\u30de\u30fc\u300d\u3092\u4f5c\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n\n<ul>\n  <li>CLI \u30b9\u30af\u30ea\u30d7\u30c8\u306f\u3001\u30aa\u30fc\u30c8\u30ed\u30fc\u30c0\u30fc\u3001\u30b3\u30a2\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u30af\u30e9\u30b9\u3001\u5927\u898f\u6a21\u306a\u30d8\u30eb\u30d1\u30fc\u306a\u3069\u3001\u30db\u30c3\u30c8\u30d5\u30a1\u30a4\u30eb\u306b\u5bfe\u3057\u3066 opcache_compile_file() \u3092\u547c\u3073\u51fa\u3057\u307e\u3059\u3002.<\/li>\n  <li>\u30af\u30ed\u30fc\u30e9\u30fc\u306f\u3001\u30d0\u30a4\u30c8\u30b3\u30fc\u30c9\u3068\u4e0b\u6d41\u306e\u30ad\u30e3\u30c3\u30b7\u30e5\u304c\u9069\u6642\u306b\u30a6\u30a9\u30fc\u30e0\u30a2\u30c3\u30d7\u3055\u308c\u308b\u3088\u3046\u306b\u3001\u30c8\u30c3\u30d7\u30eb\u30fc\u30c8\uff08\u30db\u30fc\u30e0\u30da\u30fc\u30b8\u3001\u30ed\u30b0\u30a4\u30f3\u3001\u30c1\u30a7\u30c3\u30af\u30a2\u30a6\u30c8\uff09\u3092\u8a2a\u554f\u3057\u307e\u3059\u3002.<\/li>\n  <li>\u30d0\u30fc\u30b8\u30e7\u30f3\u5207\u308a\u66ff\u3048\u306e\u76f4\u524d\u306b\u30a6\u30a9\u30fc\u30e0\u30a2\u30c3\u30d7\u304c\u7d42\u4e86\u3059\u308b\u3088\u3046\u3001\u30bf\u30a4\u30df\u30f3\u30b0\u3092\u8abf\u6574\u3057\u3066\u3044\u307e\u3059\u3002.<\/li>\n<\/ul>\n\n<h2>\u30b9\u30bf\u30c3\u30af\u5185\u306eOPcache\uff1aPHP-FPM\u3001\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u30ad\u30e3\u30c3\u30b7\u30e5\u3001\u30da\u30fc\u30b8\u30ad\u30e3\u30c3\u30b7\u30e5<\/h2>\n\n<p>OPcache \u306f\u3001PHP-FPM\u3001\u30af\u30ea\u30fc\u30f3\u306a\u30d7\u30ed\u30bb\u30b9\u69cb\u6210\u3001\u8ffd\u52a0\u306e\u30ad\u30e3\u30c3\u30b7\u30e5\u30ec\u30a4\u30e4\u30fc\u3068\u7d44\u307f\u5408\u308f\u305b\u305f\u5834\u5408\u306b\u305d\u306e\u771f\u4fa1\u3092\u767a\u63ee\u3057\u307e\u3059\u3002WordPress \u3067\u306f\u3001\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3068\u30ec\u30f3\u30c0\u30ea\u30f3\u30b0\u306e\u8ca0\u8377\u3092\u8efd\u6e1b\u3059\u308b\u305f\u3081\u306b\u3001\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u30ad\u30e3\u30c3\u30b7\u30e5\uff08Redis \u306a\u3069\uff09\u304a\u3088\u3073\u30da\u30fc\u30b8\u30ad\u30e3\u30c3\u30b7\u30e5\u3068\u7d44\u307f\u5408\u308f\u305b\u3066\u4f7f\u7528\u3057\u3066\u3044\u307e\u3059\u3002\u305d\u306e\u969b\u3001\u4ee5\u4e0b\u306e\u70b9\u306b\u6ce8\u610f\u3057\u3066\u3044\u307e\u3059\u3002 <a href=\"https:\/\/webhosting.de\/ja\/php%e3%81%ae%e3%82%b7%e3%83%b3%e3%82%b0%e3%83%ab%e3%82%b9%e3%83%ac%e3%83%83%e3%83%89%e6%80%a7%e8%83%bd%e3%83%af%e3%83%bc%e3%83%89%e3%83%97%e3%83%ac%e3%82%b9%e3%83%9b%e3%82%b9%e3%83%86%e3%82%a3\/\">\u30b7\u30f3\u30b0\u30eb\u30b9\u30ec\u30c3\u30c9\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9<\/a>, PHP\u30ea\u30af\u30a8\u30b9\u30c8\u306f\u500b\u3005\u306eCPU\u30b3\u30a2\u306b\u5927\u304d\u304f\u4f9d\u5b58\u3057\u3066\u3044\u308b\u305f\u3081\u3067\u3059\u3002\u305d\u308c\u3067\u3082\u8ca0\u8377\u304c\u304b\u304b\u308b\u5834\u5408\u306f\u3001OPcache\u306e\u5171\u6709\u30e1\u30e2\u30ea\u3092\u5c0f\u3055\u304f\u8a2d\u5b9a\u3057\u3059\u304e\u306a\u3044\u3088\u3046\u306b\u3001PHP-FPM\u30ef\u30fc\u30ab\u30fc\u306b\u8ca0\u8377\u3092\u5206\u6563\u3057\u307e\u3059\u3002\u3053\u306e\u3088\u3046\u306b\u3057\u3066\u3001 <strong>\u30b9\u30bf\u30c3\u30af<\/strong> \u8abf\u6574\u30cd\u30b8\u30921\u3064\u56de\u3059\u3060\u3051\u3067\u306a\u304f\u3001\u5168\u4f53\u7684\u306b\u8abf\u6574\u3059\u308b\u3002.<\/p>\n\n<h2>\u983b\u7e41\u306a\u30a8\u30e9\u30fc\u3068\u8fc5\u901f\u306a\u30c1\u30a7\u30c3\u30af<\/h2>\n\n<p>\u30ad\u30e3\u30c3\u30b7\u30e5\u304c\u5c0f\u3055\u3059\u304e\u308b\u3068\u3001OPcache \u30b9\u30c6\u30fc\u30bf\u30b9\u3084 phpinfo() \u3067\u78ba\u8a8d\u3067\u304d\u308b\u30a8\u30f4\u30a3\u30af\u30b7\u30e7\u30f3\u304c\u767a\u751f\u3057\u307e\u3059\u3002\u3053\u308c\u304c\u767a\u751f\u3057\u305f\u5834\u5408\u3001opcache.memory_consumption \u3092\u6bb5\u968e\u7684\u306b\u5897\u3084\u3057\u3001\u30d2\u30c3\u30c8\u7387\u3067\u52b9\u679c\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002\u30d5\u30a1\u30a4\u30eb\u306e\u9ad8\u901f\u5316\u304c\u9032\u307e\u306a\u3044\u5834\u5408\u306f\u3001opcache.max_accelerated_files \u3092\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u5185\u306e\u5b9f\u969b\u306e\u30d5\u30a1\u30a4\u30eb\u6570\u3088\u308a\u3082\u9ad8\u304f\u8a2d\u5b9a\u3057\u307e\u3059\u3002 \u30c7\u30d7\u30ed\u30a4\u306e\u554f\u984c\u304c\u3042\u308b\u5834\u5408\u306f\u3001validate_timestamps \u3092\u30c1\u30a7\u30c3\u30af\u3057\u307e\u3059\u30020 \u306e\u5834\u5408\u3001\u30ad\u30e3\u30c3\u30b7\u30e5\u3092\u660e\u793a\u7684\u306b\u30af\u30ea\u30a2\u3059\u308b\u307e\u3067\u3001\u53e4\u3044\u30d0\u30a4\u30c8\u30b3\u30fc\u30c9\u304c\u6709\u52b9\u306e\u307e\u307e\u306b\u306a\u308a\u307e\u3059\u3002Doctrine \u306a\u3069\u306e\u30c4\u30fc\u30eb\u306f DocBlock \u3092\u5fc5\u8981\u3068\u3059\u308b\u305f\u3081\u3001save_comments=1 \u3092\u8a2d\u5b9a\u3057\u3066\u3001 <strong>\u30a8\u30e9\u30fc<\/strong> \u6ce8\u91c8\u304c\u306a\u3044\u3053\u3068\u3067\u56de\u907f\u3067\u304d\u308b\u3002.<\/p>\n\n\n<figure class=\"wp-block-image size-full is-resized\">\n  <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/webhosting.de\/wp-content\/uploads\/2025\/12\/php_opcache_nachtarbeit_4382.png\" alt=\"\" width=\"1536\" height=\"1024\"\/>\n<\/figure>\n\n\n<h2>OPcache \u306e\u76e3\u8996\u3068\u89e3\u91c8<\/h2>\n\n<p>\u30d2\u30c3\u30c8\u7387\u3092\u6e2c\u5b9a\u3057\u3001\u30af\u30a8\u30ea\u304c\u307b\u307c\u5e38\u306b\u30ad\u30e3\u30c3\u30b7\u30e5\u304b\u3089\u958b\u59cb\u3055\u308c\u308b\u3088\u3046\u306b\u3001\u5e38\u306b 100% \u306b\u8fd1\u3044\u5024\u3092\u76ee\u6307\u3057\u3066\u3044\u307e\u3059\u3002 \u3055\u3089\u306b\u3001\u30e1\u30e2\u30ea\u4f7f\u7528\u7387\u3068\u30a8\u30f4\u30a3\u30af\u30b7\u30e7\u30f3\u306e\u6570\u3092\u76e3\u8996\u3057\u3066\u3001\u30dc\u30c8\u30eb\u30cd\u30c3\u30af\u3092\u65e9\u671f\u306b\u767a\u898b\u3057\u3066\u3044\u307e\u3059\u3002opcache_get_status() \u3092\u4f7f\u3063\u3066\u5c0f\u3055\u306a\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\u3092\u4f5c\u6210\u3057\u305f\u308a\u3001\u65e2\u5b58\u306e\u30e2\u30cb\u30bf\u30ea\u30f3\u30b0\u30bd\u30ea\u30e5\u30fc\u30b7\u30e7\u30f3\u306b\u60c5\u5831\u3092\u5165\u529b\u3057\u305f\u308a\u3057\u3066\u3044\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u30ea\u30ea\u30fc\u30b9\u3084\u30d7\u30e9\u30b0\u30a4\u30f3\u306e\u66f4\u65b0\u5f8c\u306e\u5909\u5316\u3092\u3059\u3050\u306b\u30c8\u30ec\u30f3\u30c9\u3067\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002\u3053\u308c\u3089\u306e\u6307\u6a19\u3092\u4f7f\u3063\u3066\u3001\u60c5\u5831\u306b\u57fa\u3065\u3044\u305f\u5224\u65ad\u3092\u4e0b\u3057\u3066\u3044\u307e\u3059\u3002 <strong>\u6c7a\u65ad<\/strong> \u305d\u3057\u3066\u3001\u672c\u5f53\u306b\u5fc5\u8981\u306a\u3082\u306e\u3060\u3051\u8abf\u6574\u3057\u3066\u304f\u3060\u3055\u3044\u3002.<\/p>\n\n<p>\u5b9f\u7e3e\u306e\u3042\u308b\u5177\u4f53\u7684\u306a\u30ac\u30a4\u30c9\u30e9\u30a4\u30f3\uff1a<\/p>\n\n<ul>\n  <li>\u30d2\u30c3\u30c8\u7387 &gt; 99 %\u3001\u901a\u5e38\u8ca0\u8377\u304a\u3088\u3073\u30d4\u30fc\u30af\u8ca0\u8377\u4e0b\u3002\u305d\u308c\u4ee5\u4e0b\u3067\u306f\u3001\u30d5\u30a1\u30a4\u30eb\u5206\u6563\u3068\u30a6\u30a9\u30fc\u30e0\u30a2\u30c3\u30d7\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002.<\/li>\n  <li>SHM \u306e\u7a7a\u304d\u5bb9\u91cf\u304c 5\uff5e10 % \u4ee5\u4e0a\u3067\u5b89\u5b9a\u3057\u3066\u3044\u308b\u3002\u305d\u3046\u3067\u306a\u3044\u5834\u5408\u306f\u3001\u30e1\u30e2\u30ea\u3092\u30b9\u30b1\u30fc\u30ea\u30f3\u30b0\u3057\u307e\u3059\u3002.<\/li>\n  <li>\u6642\u9593\u306e\u7d4c\u904e\u306b\u4f34\u3046\u30a8\u30f4\u30a3\u30af\u30b7\u30e7\u30f3\uff1a\u30c7\u30d7\u30ed\u30a4\u5f8c\u306e1\u56de\u9650\u308a\u306e\u6025\u4e0a\u6607\u306f\u554f\u984c\u3042\u308a\u307e\u305b\u3093\u304c\u3001\u7d99\u7d9a\u7684\u306a\u30a8\u30f4\u30a3\u30af\u30b7\u30e7\u30f3\u306f\u3001\u30b5\u30a4\u30ba\u4e0d\u8db3\u307e\u305f\u306f\u6df1\u523b\u306a\u65ad\u7247\u5316\u3092\u793a\u3057\u3066\u3044\u307e\u3059\u3002.<\/li>\n  <li>\u7121\u99c4\u306a\u30e1\u30e2\u30ea\u3092\u76e3\u8996\u3059\u308b\uff1a\u305d\u308c\u304c\u9650\u754c\u306b\u9054\u3057\u305f\u3089\u3001\u5236\u5fa1\u3055\u308c\u305f OPcache \u306e\u518d\u69cb\u7bc9\uff08\u305f\u3068\u3048\u3070\u3001\u30e1\u30f3\u30c6\u30ca\u30f3\u30b9\u30a6\u30a3\u30f3\u30c9\u30a6\u5185\uff09\u3092\u8a08\u753b\u3057\u307e\u3059\u3002.<\/li>\n<\/ul>\n\n<h2>\u4f8b\uff1a\u30c8\u30e9\u30d5\u30a3\u30c3\u30af\u306e\u591a\u3044 WordPress \u30bb\u30c3\u30c8\u30a2\u30c3\u30d7<\/h2>\n\n<p>\u5927\u898f\u6a21\u306a WordPress \u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u3067\u306f\u3001CLI \u30ef\u30fc\u30ab\u30fc\u3082\u6069\u6075\u3092\u53d7\u3051\u3089\u308c\u308b\u3088\u3046\u306b\u3001opcache.enable=1 \u304a\u3088\u3073 opcache.enable_cli=1 \u3092\u9078\u629e\u3057\u307e\u3059\u3002\u591a\u304f\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u3084\u6a5f\u80fd\u8c4a\u5bcc\u306a\u30c6\u30fc\u30de\u304c\u4f7f\u7528\u3055\u308c\u3066\u3044\u308b\u5834\u5408\u306f\u3001\u5171\u6709\u30e1\u30e2\u30ea\u3092 384 MB \u4ee5\u4e0a\u306b\u8a2d\u5b9a\u3059\u308b\u3053\u3068\u3092\u304a\u52e7\u3081\u3057\u307e\u3059\u3002 \u591a\u304f\u306e\u30af\u30e9\u30b9\u540d\u3084\u95a2\u6570\u540d\u304c\u3059\u3079\u3066\u306e\u30ea\u30af\u30a8\u30b9\u30c8\u3067\u7e70\u308a\u8fd4\u3057\u4f7f\u7528\u3055\u308c\u308b\u305f\u3081\u3001opcache.interned_strings_buffer \u306f 64 MB \u306b\u5897\u3084\u3057\u307e\u3059\u3002 \u975e\u5e38\u306b\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u306e\u9ad8\u3044\u74b0\u5883\u3067\u306f\u3001validate_timestamps=0 \u304a\u3088\u3073 revalidate_freq=0 \u3092\u8a2d\u5b9a\u3057\u307e\u3059\u304c\u3001\u30ea\u30ea\u30fc\u30b9\u5f8c\u306f\u6bce\u56de\u30ad\u30e3\u30c3\u30b7\u30e5\u3092\u76f4\u3061\u306b\u30d5\u30e9\u30c3\u30b7\u30e5\u3057\u307e\u3059\u3002\u91cd\u8981\u306a\u306e\u306f\u3001\u53e4\u3044 <strong>\u30d0\u30a4\u30c8\u30b3\u30fc\u30c9<\/strong> \u6d41\u901a\u3057\u7d9a\u3051\u308b\u3002.<\/p>\n\n\n<figure class=\"wp-block-image size-full is-resized\">\n  <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/webhosting.de\/wp-content\/uploads\/2025\/12\/php_opcache_schreibtisch_4827.png\" alt=\"\" width=\"1536\" height=\"1024\"\/>\n<\/figure>\n\n\n<h2>\u30c1\u30e5\u30fc\u30cb\u30f3\u30b0\u3068\u30c7\u30d7\u30ed\u30a4\u30e1\u30f3\u30c8\u306e\u5b9f\u8df5\u7684\u306a\u30ef\u30fc\u30af\u30d5\u30ed\u30fc<\/h2>\n\n<p>\u79c1\u306f\u6c7a\u307e\u3063\u305f\u30b5\u30a4\u30af\u30eb\u3067\u4f5c\u696d\u3057\u3066\u308b\u3088\uff1a\u6e2c\u5b9a\u3001\u5909\u66f4\u3001\u30c1\u30a7\u30c3\u30af\u3002\u307e\u305a\u3001\u30d2\u30c3\u30c8\u7387\u3001\u5360\u6709\u7387\u3001\u30a8\u30f4\u30a3\u30af\u30b7\u30e7\u30f3\u306a\u3069\u306e\u30b9\u30c6\u30fc\u30bf\u30b9\u5024\u3092\u4fdd\u5b58\u3057\u3066\u304b\u3089\u3001\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u8abf\u6574\u3057\u3066\u3001\u3082\u3046\u4e00\u5ea6\u6e2c\u5b9a\u3059\u308b\u3093\u3060\u3002 \u30ea\u30ea\u30fc\u30b9\u524d\u306b\u306f\u3001\u30bf\u30a4\u30e0\u30b9\u30bf\u30f3\u30d7\u3092\u7121\u52b9\u306b\u3057\u3066\u3001PHP-FPM\u306e\u518d\u8d77\u52d5\u307e\u305f\u306f\u5c0f\u3055\u306a\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u4f7f\u7528\u3057\u3066\u3001OPcache\u3092\u610f\u56f3\u7684\u306b\u524a\u9664\u3057\u307e\u3059\u3002\u305d\u306e\u5f8c\u3001\u5b9f\u969b\u306e\u30c8\u30e9\u30d5\u30a3\u30c3\u30af\u307e\u305f\u306f\u4ee3\u8868\u7684\u306a\u30d9\u30f3\u30c1\u30de\u30fc\u30af\u3092\u4f7f\u7528\u3057\u3066\u3001\u8ca0\u8377\u306e\u30d4\u30fc\u30af\u3092\u5236\u5fa1\u3057\u307e\u3059\u3002\u7570\u5e38\u306a\u52d5\u4f5c\u304c\u767a\u751f\u3057\u305f\u5834\u5408\u306f\u3001\u4ee5\u4e0b\u3082\u78ba\u8a8d\u3057\u307e\u3059\u3002 <a href=\"https:\/\/webhosting.de\/ja\/%e3%83%a1%e3%83%a2%e3%83%aa%e3%81%ae%e6%96%ad%e7%89%87%e5%8c%96%e3%80%81%e3%82%a6%e3%82%a7%e3%83%96%e3%83%9b%e3%82%b9%e3%83%86%e3%82%a3%e3%83%b3%e3%82%b0%e3%80%81php%e3%80%81mysql%e3%80%81%e6%9c%80\/\">\u30e1\u30e2\u30ea\u306e\u65ad\u7247\u5316<\/a>, \u306a\u305c\u306a\u3089\u3001\u305d\u308c\u3089\u306f\u5229\u7528\u53ef\u80fd\u306a <strong>\u5171\u6709<\/strong> \u8a18\u61b6\u529b\u3092\u4f4e\u4e0b\u3055\u305b\u308b\u3002.<\/p>\n\n<p>\u30c1\u30fc\u30e0\u3067\u5b9f\u7e3e\u306e\u3042\u308b\u8ffd\u52a0\u306e\u30eb\u30fc\u30c1\u30f3\u3092\u3044\u304f\u3064\u304b\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n\n<ul>\n  <li>\u30d1\u30e9\u30e1\u30fc\u30bf\u306e\u5909\u66f4\u3092\u30d0\u30fc\u30b8\u30e7\u30f3\u7ba1\u7406\u3059\u308b\uff1aopcache.ini \u3092\u30ea\u30dd\u30b8\u30c8\u30ea\u306b\u8ffd\u52a0\u3057\u3001\u30d7\u30eb\u30ea\u30af\u30a8\u30b9\u30c8\u3068\u5909\u66f4\u5c65\u6b74\u3067\u5909\u66f4\u3092\u53cd\u6620\u3059\u308b\u3002.<\/li>\n  <li>Canary\u30c7\u30d7\u30ed\u30a4\uff1a\u307e\u305a\u4e00\u90e8\u306e\u30ef\u30fc\u30ab\u30fc\/\u30dd\u30c3\u30c9\u304c\u65b0\u3057\u3044\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u30ed\u30fc\u30c9\u3057\u3066\u30ad\u30e3\u30c3\u30b7\u30e5\u3092\u69cb\u7bc9\u3057\u3001\u305d\u306e\u5f8c\u3059\u3079\u3066\u306e\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306b\u30ed\u30fc\u30eb\u30a2\u30a6\u30c8\u3057\u307e\u3059\u3002.<\/li>\n  <li>\u7dca\u6025\u30b9\u30a4\u30c3\u30c1\uff1a\u5b89\u5168\u306a\u30a2\u30af\u30bb\u30b9\u304c\u53ef\u80fd\u306a\u5185\u90e8\u7ba1\u7406\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u3067\u3001opcache_reset() \u304a\u3088\u3073\u7279\u5b9a\u306e opcache_invalidate() \u547c\u3073\u51fa\u3057\u3092\u8a31\u53ef\u3057\u307e\u3059\u3002opcache.restrict_api \u3068\u7d44\u307f\u5408\u308f\u305b\u3066\u4f7f\u7528\u3057\u307e\u3059\u3002.<\/li>\n  <li>\u898f\u6a21\u306e\u898b\u7a4d\u3082\u308a\uff1a\u5927\u307e\u304b\u306a\u76ee\u5b89\u3068\u3057\u3066\u3001\u6700\u521d\u306f 100\uff5e200 \u500b\u306e PHP \u30d5\u30a1\u30a4\u30eb\u3054\u3068\u306b 1\uff5e2 MB \u306e OPcache \u3092\u8a08\u7b97\u3057\u3001\u5b9f\u969b\u306e\u6e2c\u5b9a\u5024\u306b\u57fa\u3065\u3044\u3066\u8abf\u6574\u3057\u307e\u3059\u3002\u30d7\u30e9\u30b0\u30a4\u30f3\u306e\u591a\u3044 WordPress \u306e\u5834\u5408\u306f\u3001\u30d0\u30c3\u30d5\u30a1\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002.<\/li>\n<\/ul>\n\n<h2>\u7c21\u5358\u306b\u307e\u3068\u3081\u308b\u3068<\/h2>\n\n<p>OPcache \u306f\u3001\u30b3\u30f3\u30d1\u30a4\u30eb\u3055\u308c\u305f <strong>\u30d0\u30a4\u30c8\u30b3\u30fc\u30c9<\/strong> RAM \u306b\u4fdd\u6301\u3057\u307e\u3059\u3002\u30e1\u30e2\u30ea\u3001\u30d5\u30a1\u30a4\u30eb\u6570\u3001\u30bf\u30a4\u30e0\u30b9\u30bf\u30f3\u30d7\u6226\u7565\u306b\u9069\u5207\u306a\u8a2d\u5b9a\u3092\u884c\u3046\u3053\u3068\u3067\u3001\u5e38\u306b\u77ed\u3044\u5fdc\u7b54\u6642\u9593\u3092\u5b9f\u73fe\u3067\u304d\u307e\u3059\u3002PHP-FPM \u3084\u305d\u306e\u4ed6\u306e\u30ad\u30e3\u30c3\u30b7\u30e5\u5c64\u3068\u306e\u8abf\u6574\u306b\u6ce8\u610f\u3057\u3066\u3001\u30b9\u30bf\u30c3\u30af\u5168\u4f53\u304c\u9069\u5207\u306b\u9023\u643a\u3059\u308b\u3088\u3046\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u30d2\u30c3\u30c8\u7387\u3001\u5360\u6709\u7387\u3001\u30a8\u30f4\u30a3\u30af\u30b7\u30e7\u30f3\u3092\u76e3\u8996\u3057\u3066\u3001\u7684\u3092\u7d5e\u3063\u305f\u8abf\u6574\u3092\u884c\u3063\u3066\u304f\u3060\u3055\u3044\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u3068\u4fe1\u983c\u6027\u3092\u78ba\u4fdd\u3067\u304d\u307e\u3059\u3002 <strong>\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0<\/strong> \u9ad8\u8ca0\u8377\u3068\u6210\u9577\u306b\u5bfe\u5fdc\u3002.<\/p>","protected":false},"excerpt":{"rendered":"<p>PHP OPcache \u3092\u6b63\u3057\u304f\u8a2d\u5b9a\u3059\u308b\u65b9\u6cd5\u3092\u5b66\u3073\u3001\u30bf\u30fc\u30b2\u30c3\u30c8\u3092\u7d5e\u3063\u305f php opcache \u30c1\u30e5\u30fc\u30cb\u30f3\u30b0\u306b\u3088\u3063\u3066\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u3092\u5927\u5e45\u306b\u5411\u4e0a\u3055\u305b\u307e\u3057\u3087\u3046\u3002.<\/p>","protected":false},"author":1,"featured_media":15899,"comment_status":"","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_crdt_document":"","inline_featured_image":false,"footnotes":""},"categories":[780],"tags":[],"class_list":["post-15906","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-administration-anleitungen"],"acf":[],"_wp_attached_file":null,"_wp_attachment_metadata":null,"litespeed-optimize-size":null,"litespeed-optimize-set":null,"_elementor_source_image_hash":null,"_wp_attachment_image_alt":null,"stockpack_author_name":null,"stockpack_author_url":null,"stockpack_provider":null,"stockpack_image_url":null,"stockpack_license":null,"stockpack_license_url":null,"stockpack_modification":null,"color":null,"original_id":null,"original_url":null,"original_link":null,"unsplash_location":null,"unsplash_sponsor":null,"unsplash_exif":null,"unsplash_attachment_metadata":null,"_elementor_is_screenshot":null,"surfer_file_name":null,"surfer_file_original_url":null,"envato_tk_source_kit":null,"envato_tk_source_index":null,"envato_tk_manifest":null,"envato_tk_folder_name":null,"envato_tk_builder":null,"envato_elements_download_event":null,"_menu_item_type":null,"_menu_item_menu_item_parent":null,"_menu_item_object_id":null,"_menu_item_object":null,"_menu_item_target":null,"_menu_item_classes":null,"_menu_item_xfn":null,"_menu_item_url":null,"_trp_menu_languages":null,"rank_math_primary_category":null,"rank_math_title":null,"inline_featured_image":null,"_yoast_wpseo_primary_category":null,"rank_math_schema_blogposting":null,"rank_math_schema_videoobject":null,"_oembed_049c719bc4a9f89deaead66a7da9fddc":null,"_oembed_time_049c719bc4a9f89deaead66a7da9fddc":null,"_yoast_wpseo_focuskw":null,"_yoast_wpseo_linkdex":null,"_oembed_27e3473bf8bec795fbeb3a9d38489348":null,"_oembed_c3b0f6959478faf92a1f343d8f96b19e":null,"_trp_translated_slug_en_us":null,"_wp_desired_post_slug":null,"_yoast_wpseo_title":null,"tldname":null,"tldpreis":null,"tldrubrik":null,"tldpolicylink":null,"tldsize":null,"tldregistrierungsdauer":null,"tldtransfer":null,"tldwhoisprivacy":null,"tldregistrarchange":null,"tldregistrantchange":null,"tldwhoisupdate":null,"tldnameserverupdate":null,"tlddeletesofort":null,"tlddeleteexpire":null,"tldumlaute":null,"tldrestore":null,"tldsubcategory":null,"tldbildname":null,"tldbildurl":null,"tldclean":null,"tldcategory":null,"tldpolicy":null,"tldbesonderheiten":null,"tld_bedeutung":null,"_oembed_d167040d816d8f94c072940c8009f5f8":null,"_oembed_b0a0fa59ef14f8870da2c63f2027d064":null,"_oembed_4792fa4dfb2a8f09ab950a73b7f313ba":null,"_oembed_33ceb1fe54a8ab775d9410abf699878d":null,"_oembed_fd7014d14d919b45ec004937c0db9335":null,"_oembed_21a029d076783ec3e8042698c351bd7e":null,"_oembed_be5ea8a0c7b18e658f08cc571a909452":null,"_oembed_a9ca7a298b19f9b48ec5914e010294d2":null,"_oembed_f8db6b27d08a2bb1f920e7647808899a":null,"_oembed_168ebde5096e77d8a89326519af9e022":null,"_oembed_cdb76f1b345b42743edfe25481b6f98f":null,"_oembed_87b0613611ae54e86e8864265404b0a1":null,"_oembed_27aa0e5cf3f1bb4bc416a4641a5ac273":null,"_oembed_time_27aa0e5cf3f1bb4bc416a4641a5ac273":null,"_tldname":null,"_tldclean":null,"_tldpreis":null,"_tldcategory":null,"_tldsubcategory":null,"_tldpolicy":null,"_tldpolicylink":null,"_tldsize":null,"_tldregistrierungsdauer":null,"_tldtransfer":null,"_tldwhoisprivacy":null,"_tldregistrarchange":null,"_tldregistrantchange":null,"_tldwhoisupdate":null,"_tldnameserverupdate":null,"_tlddeletesofort":null,"_tlddeleteexpire":null,"_tldumlaute":null,"_tldrestore":null,"_tldbildname":null,"_tldbildurl":null,"_tld_bedeutung":null,"_tldbesonderheiten":null,"_oembed_ad96e4112edb9f8ffa35731d4098bc6b":null,"_oembed_8357e2b8a2575c74ed5978f262a10126":null,"_oembed_3d5fea5103dd0d22ec5d6a33eff7f863":null,"_eael_widget_elements":null,"_oembed_0d8a206f09633e3d62b95a15a4dd0487":null,"_oembed_time_0d8a206f09633e3d62b95a15a4dd0487":null,"_aioseo_description":null,"_eb_attr":null,"_eb_data_table":null,"_oembed_819a879e7da16dd629cfd15a97334c8a":null,"_oembed_time_819a879e7da16dd629cfd15a97334c8a":null,"_acf_changed":null,"_wpcode_auto_insert":null,"_edit_last":null,"_edit_lock":null,"_oembed_e7b913c6c84084ed9702cb4feb012ddd":null,"_oembed_bfde9e10f59a17b85fc8917fa7edf782":null,"_oembed_time_bfde9e10f59a17b85fc8917fa7edf782":null,"_oembed_03514b67990db061d7c4672de26dc514":null,"_oembed_time_03514b67990db061d7c4672de26dc514":null,"rank_math_news_sitemap_robots":null,"rank_math_robots":null,"_eael_post_view_count":"2623","_trp_automatically_translated_slug_ru_ru":null,"_trp_automatically_translated_slug_et":null,"_trp_automatically_translated_slug_lv":null,"_trp_automatically_translated_slug_fr_fr":null,"_trp_automatically_translated_slug_en_us":null,"_wp_old_slug":null,"_trp_automatically_translated_slug_da_dk":null,"_trp_automatically_translated_slug_pl_pl":null,"_trp_automatically_translated_slug_es_es":null,"_trp_automatically_translated_slug_hu_hu":null,"_trp_automatically_translated_slug_fi":null,"_trp_automatically_translated_slug_ja":null,"_trp_automatically_translated_slug_lt_lt":null,"_elementor_edit_mode":null,"_elementor_template_type":null,"_elementor_version":null,"_elementor_pro_version":null,"_wp_page_template":null,"_elementor_page_settings":null,"_elementor_data":null,"_elementor_css":null,"_elementor_conditions":null,"_happyaddons_elements_cache":null,"_oembed_75446120c39305f0da0ccd147f6de9cb":null,"_oembed_time_75446120c39305f0da0ccd147f6de9cb":null,"_oembed_3efb2c3e76a18143e7207993a2a6939a":null,"_oembed_time_3efb2c3e76a18143e7207993a2a6939a":null,"_oembed_59808117857ddf57e478a31d79f76e4d":null,"_oembed_time_59808117857ddf57e478a31d79f76e4d":null,"_oembed_965c5b49aa8d22ce37dfb3bde0268600":null,"_oembed_time_965c5b49aa8d22ce37dfb3bde0268600":null,"_oembed_81002f7ee3604f645db4ebcfd1912acf":null,"_oembed_time_81002f7ee3604f645db4ebcfd1912acf":null,"_elementor_screenshot":null,"_oembed_7ea3429961cf98fa85da9747683af827":null,"_oembed_time_7ea3429961cf98fa85da9747683af827":null,"_elementor_controls_usage":null,"_elementor_page_assets":[],"_elementor_screenshot_failed":null,"theplus_transient_widgets":null,"_eael_custom_js":null,"_wp_old_date":null,"_trp_automatically_translated_slug_it_it":null,"_trp_automatically_translated_slug_pt_pt":null,"_trp_automatically_translated_slug_zh_cn":null,"_trp_automatically_translated_slug_nl_nl":null,"_trp_automatically_translated_slug_pt_br":null,"_trp_automatically_translated_slug_sv_se":null,"rank_math_analytic_object_id":null,"rank_math_internal_links_processed":null,"_trp_automatically_translated_slug_ro_ro":null,"_trp_automatically_translated_slug_sk_sk":null,"_trp_automatically_translated_slug_bg_bg":null,"_trp_automatically_translated_slug_sl_si":null,"litespeed_vpi_list":null,"litespeed_vpi_list_mobile":null,"rank_math_seo_score":null,"rank_math_contentai_score":null,"ilj_limitincominglinks":null,"ilj_maxincominglinks":null,"ilj_limitoutgoinglinks":null,"ilj_maxoutgoinglinks":null,"ilj_limitlinksperparagraph":null,"ilj_linksperparagraph":null,"ilj_blacklistdefinition":null,"ilj_linkdefinition":null,"_eb_reusable_block_ids":null,"rank_math_focus_keyword":"PHP OPcache","rank_math_og_content_image":null,"_yoast_wpseo_metadesc":null,"_yoast_wpseo_content_score":null,"_yoast_wpseo_focuskeywords":null,"_yoast_wpseo_keywordsynonyms":null,"_yoast_wpseo_estimated-reading-time-minutes":null,"rank_math_description":null,"surfer_last_post_update":null,"surfer_last_post_update_direction":null,"surfer_keywords":null,"surfer_location":null,"surfer_draft_id":null,"surfer_permalink_hash":null,"surfer_scrape_ready":null,"_thumbnail_id":"15899","footnotes":null,"_links":{"self":[{"href":"https:\/\/webhosting.de\/ja\/wp-json\/wp\/v2\/posts\/15906","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webhosting.de\/ja\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webhosting.de\/ja\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webhosting.de\/ja\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/webhosting.de\/ja\/wp-json\/wp\/v2\/comments?post=15906"}],"version-history":[{"count":0,"href":"https:\/\/webhosting.de\/ja\/wp-json\/wp\/v2\/posts\/15906\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webhosting.de\/ja\/wp-json\/wp\/v2\/media\/15899"}],"wp:attachment":[{"href":"https:\/\/webhosting.de\/ja\/wp-json\/wp\/v2\/media?parent=15906"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webhosting.de\/ja\/wp-json\/wp\/v2\/categories?post=15906"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webhosting.de\/ja\/wp-json\/wp\/v2\/tags?post=15906"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}