{"id":1704,"date":"2018-04-14T16:12:08","date_gmt":"2018-04-14T07:12:08","guid":{"rendered":"https:\/\/www.choco.org.uk\/chocodb\/?p=1704"},"modified":"2018-04-30T20:36:57","modified_gmt":"2018-04-30T11:36:57","slug":"php%e3%82%92%e6%9c%80%e5%a4%a7%e3%81%ab%e7%94%9f%e3%81%8b%e3%81%99apache%e3%81%ae%e3%83%81%e3%83%a5%e3%83%bc%e3%83%8b%e3%83%b3%e3%82%b0%e3%81%a8%e3%81%af%ef%bc%9f","status":"publish","type":"post","link":"https:\/\/www.choco.org.uk\/chocodb\/?p=1704","title":{"rendered":"PHP\u3092\u6700\u5927\u306b\u751f\u304b\u3059Apache\u306e\u30c1\u30e5\u30fc\u30cb\u30f3\u30b0\u3068\u306f\uff1f"},"content":{"rendered":"<p>Apache\u306bPHP\u3092\u7d44\u307f\u5408\u308f\u305b\u308b\u306e\u306f\u4e00\u822c\u7684\u3060\u304c\u3001\u4eca\u307e\u3067\u306f\u307b\u307c\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u904b\u7528\u3057\u3066\u6765\u307e\u3057\u305f\u3002<br \/>\n\u3042\u308b\u65e5\u3001\u7a81\u7136WEB\u30b5\u30a4\u30c8\u304c\u9045\u304f\u306a\u3063\u305f\u306e\u3067\u3053\u308c\u3092\u6a5f\u4f1a\u306b\u30c1\u30e5\u30fc\u30cb\u30f3\u30b0\u3068\u3044\u3046\u304b\u6700\u9069\u5316\u3092\u8abf\u3079\u3066\u307f\u308b\u4e8b\u306b\u3002<\/p>\n<p>\u307e\u305aApache\u3067\u3059\u304c\u3001\u300chttpd.config\u300d\u304b\u3089\u3084\u3063\u3066\u307f\u3088\u3046\u3002<br \/>\n\u3044\u308d\u3044\u308d\u3068\u30b0\u30b0\u3063\u3066\u307f\u308b\u3068\u3001\u3010prefork\u3011\u3092\u3044\u3058\u308c\u3068\u66f8\u3044\u3066\u3042\u308b\u306e\u3067\u3002<br \/>\nApache\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306f2.2\u7cfb\u3092\u60f3\u5b9a\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u4ee5\u4e0b\u3010prefork\u3011\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u3059\u3002<br \/>\nStartServers 8<br \/>\nMinSpareServers 8<br \/>\nMaxSpareServers 8<br \/>\nServerLimit 100<br \/>\nMaxClients 100<br \/>\nMaxRequestsPerChild 4000<br \/>\nMaxMemFree 1024<\/p>\n<p>\u4e0a\u304b\u3089\u9806\u306b\u516c\u5f0f\u30da\u30fc\u30b8\u3092\u8abf\u3079\u3066\u307f\u308b\u3002<br \/>\n\uff11\uff0eStartServers<br \/>\n\u8d77\u52d5\u6642\u306b\u751f\u6210\u3055\u308c\u308b\u5b50\u30b5\u30fc\u30d0\u30d7\u30ed\u30bb\u30b9\u306e\u6570\u3068\u66f8\u3044\u3066\u3042\u308b\u3002<br \/>\n\u30c7\u30d5\u30a9\u30eb\u30c8\u306f\uff18\u3067\u3001\u666e\u901a\u306f\uff12\u3068\u304b\uff14\u306a\u306e\u3067\u5341\u5206\u3089\u3057\u3044\u3002<\/p>\n<p>\uff12\uff0eMinSpareServers<br \/>\n\u30a2\u30a4\u30c9\u30eb\u306a\u5b50\u30b5\u30fc\u30d0\u30d7\u30ed\u30bb\u30b9\u306e\u6700\u5c0f\u500b\u6570\u3068\u3042\u308b\u304c\u3001\u3069\u3053\u306e\u30a2\u30a4\u30c9\u30eb\uff1f\u3068\u4e00\u77ac\u8003\u3048\u3066\u3057\u307e\u3063\u305f\u3002<br \/>\n\u30a2\u30a4\u30c9\u30ea\u30f3\u30b0\u306e\u30a2\u30a4\u30c9\u30eb\u3089\u3057\u3044\u3002<br \/>\n\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u6271\u3063\u3066\u3044\u306a\u3044\u30d7\u30ed\u30bb\u30b9\u6570\u306e\u4e8b\u3089\u3057\u3044\u3002<br \/>\n\u3053\u3044\u3064\u3092\u5927\u304d\u304f\u3059\u308b\u306e\u306f\u3001\u3081\u3063\u3061\u3083\u6df7\u3093\u3067\u3044\u308b\u30b5\u30fc\u30d0\u4ee5\u5916\u306f\u3084\u3081\u308d\u3068\u8a18\u8f09\u3042\u308a\u3002<br \/>\nAMAZON\u3068\u304b\u697d\u5929\u3068\u304b\u306a\u3093\u3060\u308d\u3046\u306a\u3001\u8a72\u5f53\u3059\u308b\u3088\u3046\u306a\u30b5\u30fc\u30d0\u30fc\u306f\u3002<\/p>\n<p>\u3057\u304b\u3057\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u306f\u6700\u5c0f\u3067\uff18\u3063\u3066\u591a\u304f\u306a\u3044\u304b\uff1f<br \/>\n\u3082\u3063\u3068\u5c11\u306a\u304f\u3066\u3082\u3044\u3044\u3068\u601d\u3046\u3002\uff08\u5225\u306b\u30c1\u30e5\u30fc\u30cb\u30f3\u30b0\u3057\u306a\u304f\u3066\u3082\u826f\u3044\u9805\u76ee\uff09<\/p>\n<p>\uff13\uff0eMaxSpareServers<br \/>\n\u30a2\u30a4\u30c9\u30eb\u306a\u5b50\u30b5\u30fc\u30d0\u30d7\u30ed\u30bb\u30b9\u306e\u5e0c\u671b\u6700\u5927\u500b\u6570\u3089\u3057\u3044\u3002<br \/>\n\uff12\u3068\u540c\u69d8\u3067\u3053\u308c\u3082\u30c1\u30e5\u30fc\u30cb\u30f3\u30b0\u306e\u5fc5\u8981\u3092\u611f\u3058\u306a\u3044\u3002<br \/>\n\u3068\u8a00\u3046\u304b\u3001\uff12\u3088\u308a\u5fc5\u8981\u6027\u3092\u611f\u3058\u306a\u3044\u306e\u3067\u653e\u7f6e\u3067\u3002<\/p>\n<p>\uff14\uff0eServerLimit<br \/>\n\u8a2d\u5b9a\u53ef\u80fd\u306a\u30b5\u30fc\u30d0\u30d7\u30ed\u30bb\u30b9\u6570\u306e\u4e0a\u9650\u3068\u66f8\u3044\u3066\u3042\u308b\u3002<br \/>\nApache\u30d7\u30ed\u30bb\u30b9\u7a3c\u50cd\u4e2d\u306b\u304a\u3051\u308bMaxClients\u306b\u8a2d\u5b9a\u53ef\u80fd\u306a\u4e0a\u9650\u5024\u3092\u8a2d\u5b9a\u3059\u308b\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002<br \/>\n\u3060\u304b\u3089\u6700\u8fd1\u306ehttpd_config\u306b\u8a18\u8f09\u304c\u7121\u3044\u306e\u304b\uff01<br \/>\n\u5b89\u5b9a\u52d5\u4f5c\u3055\u305b\u308b\u306e\u306f\u3001MaxClients\u30c7\u30d5\u30a9\u30eb\u30c8\u5024\uff08256\uff09\u3068\u30a4\u30b3\u30fc\u30eb\u3060\u304b\u3089\u30fb\u30fb\u30fb\u3002<br \/>\n\u300c\u5fc5\u8981\u4ee5\u4e0a\u306b\u5927\u304d\u306a\u5024\u306b \u8a2d\u5b9a\u3055\u308c\u305f\u5834\u5408\u306f\u3001\u4f59\u8a08\u306a\u672a\u4f7f\u7528\u5171\u6709\u30e1\u30e2\u30ea\u304c\u5272\u308a\u5f53\u3066\u3089\u308c\u307e\u3059\u3002\u300d\u3089\u3057\u3044\u30fb\u30fb\u30fb<br \/>\n\u9006\u306b\u8a00\u3048\u3070\u3001<strong><span style=\"color: #0000ff;\">\u5e38\u306bMaxClients\u3068\u540c\u3058\u5024\u3092\u8a2d\u5b9a<\/span><\/strong>\u3057\u3066\u304a\u3051\u3070\u3044\u3044\u306e\u3067\u3059\u306d\u3002<\/p>\n<p>\uff15\uff0eMaxClients<br \/>\n\u30ea\u30af\u30a8\u30b9\u30c8\u306b\u5fdc\u7b54\u3059\u308b\u305f\u3081\u306b\u4f5c\u6210\u3055\u308c\u308b \u5b50\u30d7\u30ed\u30bb\u30b9\u306e\u6700\u5927\u500b\u6570\u3068\u66f8\u3044\u3066\u3042\u308b\u3002<br \/>\n\u30ea\u30af\u30a8\u30b9\u30c8\u304c\u6765\u305f\u3089\u4f5c\u6210\u3055\u308c\u308b\u30d7\u30ed\u30bb\u30b9\u306e\u6570\u91cf\u306a\u3089\u3070\u3001\u591a\u3044\u307b\u3069\u3044\u3044\u306e\u3067\u306f\uff1f<br \/>\n\u3067\u3082\u3001CPU\u306e\u30d1\u30ef\u30fc\u3084\u30e1\u30e2\u30ea\u306e\u5bb9\u91cf\u306b\u3088\u3063\u3066\u4e00\u5ea6\u306b\u51e6\u7406\u3067\u304d\u308b\u30d7\u30ed\u30bb\u30b9\u306f\u7570\u306a\u308b\u304b\u3089\u305f\u3060\u5897\u3084\u3057\u3066\u3082\u7121\u99c4\u3089\u3057\u3044\u3002<br \/>\n\u3088\u3063\u3066\u3001\u901a\u5e38\u3088\u308a\u3082\u30de\u30b7\u30de\u30b7\u3067\u8a2d\u5b9a\u3059\u308b\u3002<\/p>\n<p>\uff16\uff0eMaxRequestsPerChild<br \/>\n\u500b\u3005\u306e\u5b50\u30b5\u30fc\u30d0\u304c\u7a3c\u50cd\u4e2d\u306b\u6271\u3046\u30ea\u30af\u30a8\u30b9\u30c8\u6570\u306e\u4e0a\u9650\u3068\u66f8\u3044\u3066\u3042\u308b\u3002<br \/>\n\uff10\u306f\u7121\u5236\u9650\u306a\u306e\u3067\u3001\uff10\u4ee5\u5916\u3092\u8a2d\u5b9a\u3059\u308b\u3002\uff08\uff10\u3092\u8a2d\u5b9a\u3059\u308b\u30e1\u30ea\u30c3\u30c8\u304c\u898b\u3048\u306a\u3044\u3002\uff09<br \/>\n\u305d\u308c\u306b\u3088\u3063\u3066\u3001\u4ee5\u4e0b\u306e\u52b9\u679c\u304c\u898b\u8fbc\u3081\u308b\u3002<br \/>\n\u30e1\u30e2\u30ea\u30fc\u30ea\u30fc\u30af\u304c\u8d77\u3053\u3063\u305f\u5834\u5408\u306b \u30d7\u30ed\u30bb\u30b9\u304c\u6d88\u8cbb\u3059\u308b\u30e1\u30e2\u30ea\u306e\u7dcf\u91cf\u3092\u5236\u9650\u3067\u304d\u308b<br \/>\n\u30d7\u30ed\u30bb\u30b9\u306b\u6709\u9650\u306e\u30e9\u30a4\u30d5\u30bf\u30a4\u30e0\u3092\u8a2d\u5b9a\u3059\u308b\u3053\u3068\u3067\u3001 \u30b5\u30fc\u30d0\u8ca0\u8377\u304c\u4e0b\u304c\u3063\u305f\u6642\u306b\u30d7\u30ed\u30bb\u30b9\u6570\u3092\u5c11\u306a\u304f\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b<\/p>\n<p>\uff17\uff0eMaxMemFree<br \/>\n\u30c7\u30d5\u30a9\u30eb\u30c8\u306f\u8a18\u8f09\u3055\u308c\u3066\u3044\u306a\u3044\u304c\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u306f\uff10\u3089\u3057\u3044\uff08\u7121\u5236\u9650\uff09<br \/>\n\u306a\u306e\u3067<strong><span style=\"color: #ff0000;\">\u30c1\u30e5\u30fc\u30cb\u30f3\u30b0\u4e0d\u8981<\/span><\/strong><br \/>\nApache\u306e\u4f7f\u7528\u3059\u308b\u30e1\u30e2\u30ea\u3092\u5236\u9650\u3057\u3066\u3082\u610f\u5473\u304c\u7121\u3044\u306e\u3067\u3002<\/p>\n<p>\u3053\u3053\u307e\u3067\u8abf\u3079\u3066\u601d\u3063\u305f\u304c\u3001\uff11\uff0c\uff12\uff0c\uff15\uff0c\uff16\u4ee5\u5916\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u554f\u984c\u306a\u3057\u3002<br \/>\n\u3055\u3066\u3001\u3053\u308c\u3089\u3092\u30c1\u30e5\u30fc\u30cb\u30f3\u30b0\u3057\u3066\u3044\u304f\u308f\u3051\u3060\u304c\u4f55\u3092\u3069\u3046\u8abf\u3079\u3066\u8a2d\u5b9a\u3059\u308c\u3070\u3044\u3044\u306e\u304b\uff1f<br \/>\n\u3053\u308c\u304b\u3089\u8abf\u3079\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<p>\u524d\u63d0\u3068\u3057\u3066\u30b5\u30fc\u30d0\u30fc\u306f\u81ea\u793e\u3082\u3057\u304f\u306f\u3001\u81ea\u5206\u304c\u69cb\u7bc9\u3057\u305f\u3082\u306e\uff08ROOT\u6a29\u9650\u3042\u308a\uff09\u3068\u3057\u307e\u3059\u3002<br \/>\n<a href=\"\/chocodb\/?p=1713\">\u9577\u304f\u306a\u3063\u3066\u6765\u305f\u306e\u3067\u7d9a\u304d\u306f\uff12\u3078<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Apache\u306bPHP\u3092\u7d44\u307f\u5408\u308f\u305b\u308b\u306e\u306f\u4e00\u822c\u7684\u3060\u304c\u3001\u4eca\u307e\u3067\u306f\u307b\u307c\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u904b\u7528\u3057\u3066\u6765\u307e\u3057\u305f\u3002 \u3042\u308b\u65e5\u3001\u7a81\u7136WEB\u30b5\u30a4\u30c8\u304c\u9045\u304f\u306a\u3063\u305f\u306e\u3067\u3053\u308c\u3092\u6a5f\u4f1a\u306b\u30c1\u30e5\u30fc\u30cb\u30f3\u30b0\u3068\u3044\u3046\u304b\u6700\u9069\u5316\u3092\u8abf\u3079\u3066\u307f\u308b\u4e8b\u306b\u3002 \u307e\u305aApache\u3067\u3059\u304c\u3001\u300ch [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[40,41,39],"tags":[],"class_list":["post-1704","post","type-post","status-publish","format-standard","hentry","category-apache","category-php","category-server"],"_links":{"self":[{"href":"https:\/\/www.choco.org.uk\/chocodb\/index.php?rest_route=\/wp\/v2\/posts\/1704","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.choco.org.uk\/chocodb\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.choco.org.uk\/chocodb\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.choco.org.uk\/chocodb\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.choco.org.uk\/chocodb\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1704"}],"version-history":[{"count":8,"href":"https:\/\/www.choco.org.uk\/chocodb\/index.php?rest_route=\/wp\/v2\/posts\/1704\/revisions"}],"predecessor-version":[{"id":1722,"href":"https:\/\/www.choco.org.uk\/chocodb\/index.php?rest_route=\/wp\/v2\/posts\/1704\/revisions\/1722"}],"wp:attachment":[{"href":"https:\/\/www.choco.org.uk\/chocodb\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1704"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.choco.org.uk\/chocodb\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1704"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.choco.org.uk\/chocodb\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1704"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}