{"id":131,"date":"2015-05-25T23:36:03","date_gmt":"2015-05-25T14:36:03","guid":{"rendered":"https:\/\/jg7sfr.mydns.jp\/?p=131"},"modified":"2023-10-20T12:56:41","modified_gmt":"2023-10-20T03:56:41","slug":"%e9%80%b2%e5%b1%95%e3%81%82%e3%82%8a%e3%80%82famp","status":"publish","type":"post","link":"https:\/\/jg7sfr.mydns.jp\/?p=131","title":{"rendered":"\u9032\u5c55\u3042\u308a\u3002FAMP (FreeBSD+Apache+Mysql+PHP)"},"content":{"rendered":"<p>FreeBSD+Apache+Mysql+PHP<br \/>\n\u9032\u5c55\u3042\u308a\u3067\u3059\u3002\u7d50\u5c40\u306fapache22\u3068php\u306e\u554f\u984c\u3060\u3063\u305f\u3088\u3046\u3067\u3059\u3002apache24\u306b\u3059\u308b\u3068\u554f\u984c\u306a\u3055\u305d\u3046\u3067\u3059\u3002<\/p>\n<p>mysql<br \/>\ncd \/usr\/ports\/databases\/mysql56-server<br \/>\nmake BATCH=yes WITH_CHARSET=utf8 install clean<br \/>\nrehash<\/p>\n<p>cd php56-extensions<br \/>\nmake config\u2192mbstrings\u306b\u30c1\u30a7\u30c3\u30af<br \/>\nake BATCH=yes WITH_GD=yes WITH_MBSTRING=yes WITH_MYSQL=yes install clean<\/p>\n<p>apache<br \/>\npkg install apache24<\/p>\n<p>php<br \/>\npkg install mod_php56 php56-mysql php56-mysqli<br \/>\nvi \/usr\/local\/etc\/apache24\/httpd.conf<br \/>\nLoadModule include_module libexec\/apache24\/mod_include.so<br \/>\nLoadModule negotiation_module libexec\/apache24\/mod_negotiation.so<br \/>\nLoadModule userdir_module libexec\/apache24\/mod_userdir.so<\/p>\n<p>wordpress<br \/>\npkg install ja-wordpress<\/p>\n<p>\u305d\u306e\u4ed6\u306f\u4ee5\u524d\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3068\u540c\u3058\u3002<\/p>\n<p><a href=\"https:\/\/jg7sfr.mydns.jp\/wp-content\/uploads\/2015\/05\/php.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-132\" src=\"http:\/\/jg7sfr.mydns.jp\/wp-content\/uploads\/2015\/05\/php-300x152.jpg\" alt=\"php\" width=\"300\" height=\"152\" srcset=\"https:\/\/jg7sfr.mydns.jp\/wp-content\/uploads\/2015\/05\/php-300x152.jpg 300w, https:\/\/jg7sfr.mydns.jp\/wp-content\/uploads\/2015\/05\/php.jpg 484w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>\u8ffd\u8a18<br \/>\n\u5c11\u3057\u6c17\u304c\u65e9\u3044\u3051\u308c\u3069\u3082\u3001\u30c9\u30e1\u30a4\u30f3\u767b\u9332\u5b8c\u4e86\u3002\u5e30\u5b85\u5f8cIP\u3082\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>FreeBSD+Apache+Mysql+PHP \u9032\u5c55\u3042\u308a\u3067\u3059\u3002\u7d50\u5c40\u306fapache22\u3068php\u306e\u554f\u984c\u3060\u3063\u305f\u3088\u3046\u3067\u3059\u3002apache24\u306b\u3059\u308b\u3068\u554f\u984c\u306a\u3055\u305d\u3046\u3067\u3059\u3002 mysql cd \/usr\/ports\/databases\/&#8230;<\/p>\n","protected":false},"author":1,"featured_media":132,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-131","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-bsd"],"_links":{"self":[{"href":"https:\/\/jg7sfr.mydns.jp\/index.php?rest_route=\/wp\/v2\/posts\/131","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jg7sfr.mydns.jp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jg7sfr.mydns.jp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jg7sfr.mydns.jp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jg7sfr.mydns.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=131"}],"version-history":[{"count":5,"href":"https:\/\/jg7sfr.mydns.jp\/index.php?rest_route=\/wp\/v2\/posts\/131\/revisions"}],"predecessor-version":[{"id":8128,"href":"https:\/\/jg7sfr.mydns.jp\/index.php?rest_route=\/wp\/v2\/posts\/131\/revisions\/8128"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/jg7sfr.mydns.jp\/index.php?rest_route=\/wp\/v2\/media\/132"}],"wp:attachment":[{"href":"https:\/\/jg7sfr.mydns.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=131"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jg7sfr.mydns.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=131"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jg7sfr.mydns.jp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=131"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}