{"id":2356,"date":"2012-11-06T23:07:19","date_gmt":"2012-11-06T14:07:19","guid":{"rendered":"http:\/\/www.vincentina.net\/?p=2356"},"modified":"2013-07-02T20:29:01","modified_gmt":"2013-07-02T11:29:01","slug":"apache%e3%81%ae%e5%a4%9a%e9%87%8d%e8%b5%b7%e5%8b%95","status":"publish","type":"post","link":"https:\/\/www.vincentina.net\/?p=2356","title":{"rendered":"Apache\u306e\u591a\u91cd\u8d77\u52d5"},"content":{"rendered":"<p>\u3068\u308a\u3042\u3048\u305a\u306e\u76ee\u6a19\u306b\u306a\u3063\u3066\u3044\u305fApache\u306e\u591a\u91cd\u8d77\u52d5\u306b\u3084\u3063\u3068\u6210\u529f\u3057\u307e\u3057\u305f\u3001\u3057\u304b\u3057Apache\u306e\u591a\u91cd\u8d77\u52d5\u3060\u3051\u3060\u3068\u305d\u308c\u307b\u3069\u5927\u3057\u305f\u4e8b\u306f\u306a\u304f\u3066\u3001Apache\u306e\u30bd\u30fc\u30b9\u304b\u3089\u4f5c\u3063\u3066\u30dd\u30fc\u30c8\u3092\u5909\u3048\u3066\u3084\u308c\u3070\u3059\u3093\u306a\u308a\u8d77\u52d5\u3057\u3066\u304f\u308c\u307e\u3057\u305f\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>\u8d77\u52d5\u306f\u3057\u307e\u3057\u305f\u304c\u3001configure\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u306b\u56db\u82e6\u516b\u82e6\u3002<\/p>\n<pre>--enable-module=all\r\n--enable-mods-shared=all<\/pre>\n<p>\u4e0a\u304c\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u5168\u3066\u6709\u52b9\u306b\u3001\u4e0b\u304c\u5168\u3066\u306e\u5171\u6709\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u6709\u52b9\u306b\u3059\u308b\u30aa\u30d7\u30b7\u30e7\u30f3\u306b\u306a\u308a\u3001\u3053\u308c\u3092\u3064\u3051\u3066\u898b\u899a\u3048\u306e\u3042\u308bhttpd.conf\u304c\u51fa\u6765\u4e0a\u304c\u308a\u307e\u3059\u3002<\/p>\n<p>\u304c\u3001Yum\u304b\u3089\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u3082\u306e\u3068\u306f\u5c11\u3057\u69cb\u6210\u304c\u7570\u306a\u3063\u3066\u3044\u3066\u3001conf\/Extra\u3068\u3044\u3046\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u4e2d\u306b<\/p>\n<pre>httpd-autoindex.conf\u00a0 httpd-info.conf\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 httpd-mpm.conf\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 httpd-userdir.conf\r\nhttpd-dav.conf\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 httpd-languages.conf\u00a0 httpd-multilang-errordoc.conf\u00a0 httpd-vhosts.conf\r\nhttpd-default.conf\u00a0\u00a0\u00a0 httpd-manual.conf\u00a0\u00a0\u00a0\u00a0 httpd-ssl.conf<\/pre>\n<p>\u3053\u3093\u306a\u3051\u306eConf\u30d5\u30a1\u30a4\u30eb\u304c\u3067\u304d\u3066\u3044\u305f\u308a\u3057\u3066\u3001\u6709\u52b9\u306b\u3057\u305f\u308a\u7121\u52b9\u306b\u3057\u305f\u308a\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u4e00\u756a\u6642\u9593\u304c\u304b\u304b\u3063\u305f\u306e\u304cPHP\u3092\u52d5\u304b\u3059\u90e8\u5206\u3067\u3001\u4f55\u56de\u3082\u8272\u3005\u8a66\u3057\u307e\u3057\u305f\u304c\u4e0a\u624b\u304f\u3044\u304b\u306a\u304f\u3066\u3001PHP\u3082\u30bd\u30fc\u30b9\u304b\u3089\u884c\u3044\u3001\u539f\u56e0\u3060\u3063\u305f\u306e\u306fApache\u306e\u30d1\u30b9\u3092\u6307\u5b9a\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u5fc5\u8981\u304c\u3042\u3063\u305f\u307f\u305f\u3044\u3001\u3088\u3046\u3084\u304f\u3046\u307e\u304f\u52d5\u3044\u3066\u304f\u308c\u307e\u3057\u305f\u3002<\/p>\n<p>make install\u306e\u4e00\u90e8\u3092\u30b3\u30d4\u30fc\u3092\u8f09\u305b\u307e\u3059<\/p>\n<pre>cp .libs\/libphp5.so \/home\/user\/hp\/modules\/libphp5.so\r\ncp .libs\/libphp5.lai \/home\/user\/hp\/modules\/libphp5.la\r\nlibtool: install: warning: remember to run `libtool --finish \/home\/user\/php-5.3.18\/libs'\r\nchmod 755 \/home\/user\/hp\/modules\/libphp5.so\r\n[activating module `php5' in \/home\/user\/hp\/conf\/httpd.conf]<\/pre>\n<p>\u3053\u3093\u306a\u611f\u3058\u3067PHP\u306e\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u8ffd\u52a0\u3057\u3066\u304f\u308c\u307e\u3059\u3001libphp5\u3092\u305a\u3063\u3068\u63a2\u3057\u3066\u3044\u305f\u3093\u3067\u3059\u304c\u3001\u3053\u3093\u306a\u5f62\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u304f\u308c\u308b\u3068\u306f\u306d\u3002<br \/>\n\u3061\u306a\u307f\u306bApache\u306f\/home\/user\/hp\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u3055\u3089\u306b\u3053\u306e\u307e\u307e\u3067\u306f\u4e0a\u624b\u304f\u3044\u304b\u305a\u3001You may want to add: \/usr\/local\/lib\/php to your php.ini include_path\u3000\u3068\u3044\u3046\u90e8\u5206\u3092\u898b\u9003\u3057\u3066\u3044\u307e\u3057\u305f\u3002<\/p>\n<p>php.ini-developer\u3092\u30b3\u30d4\u30fc\u3057\u3066php.ini\u3068\u3057\u3066\u3084\u308a\u307e\u3059\u3001\u6700\u5f8c\u306e\u4ed5\u4e0a\u3052\u306b<\/p>\n<pre><code>AddHandler\u00a0php5-script\u00a0.php\u3000\u3000 #\u62e1\u5f35\u5b50\u3092\u95a2\u9023\u4ed8\u3051 AddType\u00a0text\/html\u00a0.php\u3000\u3000\u3000\u3000\u3000#\u62e1\u5f35\u5b50\u3092\u95a2\u9023\u4ed8\u3051<\/code><\/pre>\n<p>httpd.conf\u306b\u8ffd\u8a18\u3057\u3066\u3001\u3084\u3063\u3068PHP\u3082\u52d5\u304d\u307e\u3057\u305f\u3002<\/p>\n<p>\u4f55\u56deconfigure\u3092\u3084\u3063\u305f\u304b\u5206\u304b\u3089\u3093\u304f\u3089\u3044\u3084\u308a\u307e\u3057\u305f\u304c\u3001\u8272\u3005\u3068\u8abf\u3079\u308b\u3053\u3068\u3082\u591a\u304f\u3066\u3001\u3072\u3068\u5c71\u8d85\u3048\u305f\u611f\u3058\u3067\u3059\u3002<br \/>\n\u8aac\u660e\u306b\u306a\u3063\u3066\u3044\u308b\u306e\u304b\u5206\u304b\u308a\u307e\u305b\u3093\u304c\u3053\u3093\u306a\u611f\u3058\u30672\u3064\u306ehttpd\u304c\u52d5\u4f5c\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<pre>32081 apache\u00a0\u00a0\u00a0 20\u00a0\u00a0 0\u00a0 242m 5128\u00a0 684 S\u00a0 0.0\u00a0 0.5\u00a0\u00a0 0:00.00 httpd\r\n32085 apache\u00a0\u00a0\u00a0 20\u00a0\u00a0 0\u00a0 242m 5128\u00a0 684 S\u00a0 0.0\u00a0 0.5\u00a0\u00a0 0:00.00 httpd\r\n32124 user \u00a0\u00a0\u00a0\u00a0 20\u00a0\u00a0 0\u00a0 273m 5088\u00a0 724 S\u00a0 0.0\u00a0 0.5\u00a0\u00a0 0:00.00 httpd\r\n32125 user \u00a0\u00a0\u00a0\u00a0 20\u00a0\u00a0 0\u00a0 273m 5088\u00a0 724 S\u00a0 0.0\u00a0 0.5\u00a0\u00a0 0:00.00 httpd<\/pre>\n<p>\u4eca\u56de\u306f\u3053\u3093\u306a\u3068\u3053\u3067\u7d42\u308f\u308a\u307e\u3059\u3001\u304a\u305d\u3089\u304f\u307e\u3060\u307e\u3060Apache\u7de8\u304c\u7d9a\u304f\u3068\u304a\u3082\u308f\u308c\u2026\u2026<\/p>\n<div class='wp_social_bookmarking_light'>        <div class=\"wsbl_twitter\"><a href=\"https:\/\/twitter.com\/share\" class=\"twitter-share-button\" data-url=\"https:\/\/www.vincentina.net\/?p=2356\" data-text=\"Apache\u306e\u591a\u91cd\u8d77\u52d5\" data-via=\"TakekenTw\" data-lang=\"ja\">Tweet<\/a><\/div><\/div>\n<br class='wp_social_bookmarking_light_clear' \/>\n","protected":false},"excerpt":{"rendered":"<p>\u3068\u308a\u3042\u3048\u305a\u306e\u76ee\u6a19\u306b\u306a\u3063\u3066\u3044\u305fApache\u306e\u591a\u91cd\u8d77\u52d5\u306b\u3084\u3063\u3068\u6210\u529f\u3057\u307e\u3057\u305f\u3001\u3057\u304b\u3057Apache\u306e\u591a\u91cd\u8d77\u52d5\u3060\u3051\u3060\u3068\u305d\u308c\u307b\u3069\u5927\u3057\u305f\u4e8b\u306f\u306a\u304f\u3066\u3001Apache\u306e\u30bd\u30fc\u30b9\u304b\u3089\u4f5c\u3063\u3066\u30dd\u30fc\u30c8\u3092\u5909\u3048\u3066\u3084\u308c\u3070\u3059\u3093\u306a\u308a\u8d77\u52d5\u3057\u3066\u304f\u308c\u307e\u3057\u305f\u3002 &#038;nb &hellip; <a href=\"https:\/\/www.vincentina.net\/?p=2356\" class=\"more-link\"><span class=\"screen-reader-text\">&#8220;Apache\u306e\u591a\u91cd\u8d77\u52d5&#8221; \u306e<\/span>\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-2356","post","type-post","status-publish","format-standard","hentry","category-server"],"_links":{"self":[{"href":"https:\/\/www.vincentina.net\/index.php?rest_route=\/wp\/v2\/posts\/2356","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.vincentina.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.vincentina.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.vincentina.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.vincentina.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2356"}],"version-history":[{"count":0,"href":"https:\/\/www.vincentina.net\/index.php?rest_route=\/wp\/v2\/posts\/2356\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.vincentina.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2356"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.vincentina.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2356"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.vincentina.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2356"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}