{"id":15,"date":"2010-04-02T02:05:59","date_gmt":"2010-04-01T17:05:59","guid":{"rendered":"http:\/\/helloidea.org\/?p=15"},"modified":"2014-02-22T22:18:32","modified_gmt":"2014-02-22T13:18:32","slug":"wordpress%e3%81%ae%e5%b0%8e%e5%85%a5%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"https:\/\/helloidea.org\/index.php\/archives\/15.html","title":{"rendered":"WordPress\u306e\u5c0e\u5165\u65b9\u6cd5"},"content":{"rendered":"<p><span class=\"hi-c-blue\"><span class=\"hi-c-orange\">Windows Server \uff12\uff10\uff10\uff18R2 IIS<\/span><em> <\/em><\/span>\u74b0\u5883\u3067\u306e\u30e1\u30e2\u3067\u3059<\/p>\n<p><span class=\"hi-c-amber\"><strong><span class=\"hi-c-orange\">1. \u74b0\u5883\u3092\u96c6\u3081\u308b<\/span><\/strong><\/span><\/p>\n<p>WordPress\u672c\u4f53\u3000=\u3000http:\/\/ja.wordpress.org\/<\/p>\n<p>MySQL\u3000=\u3000http:\/\/dev.mysql.com\/ -&gt; Downloads -&gt; MySQL Community Server -&gt;Windows (x86, 64-bit), MSI Installer<\/p>\n<p>PHP = http:\/\/windows.php.net\/download\/ -&gt; \u4eca\u56de\u306fIIS\u306a\u306e\u3067VC9\u306eZip\u3067<\/p>\n<p><span class=\"hi-c-amber\"><strong><span class=\"hi-c-orange\">\u6d41\u308c<\/span><\/strong><\/span><\/p>\n<p>. MySQL\u306e\u30a4\u30f3\u30b9\u30b3<\/p>\n<p>. \u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3068\u30e6\u30fc\u30b6\u306e\u4f5c\u6210<\/p>\n<p>. PHP\u306e\u5c55\u958b-\u8a2d\u5b9a<\/p>\n<p>. IIS\u306e\u8a2d\u5b9a<\/p>\n<p>. WordPress\u306e\u8a2d\u5b9a<\/p>\n<p><span class=\"hi-c-amber\"><strong><span class=\"hi-c-orange\">&#8211;MySQL\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb&#8211;<\/span><\/strong><\/span><\/p>\n<p>Wizard\u3000-&gt;<\/p>\n<p>server Machine -&gt; Server\u30de\u30b7\u30f3\u3068\u3057\u3066<\/p>\n<p>Best Support For Multilingualism -&gt; \u30de\u30eb\u30c1\u30d0\u30a4\u30c8\u6587\u5b57\u30bb\u30c3\u30c8<\/p>\n<p>Include Bin Directory in Windows PATH -&gt; \u74b0\u5883\u5909\u6570\u306b\u8ffd\u52a0\u3055\u308c\u308b\u3002\u624b\u52d5\u3067\u8a2d\u5b9a\u3067\u3082\u3044\u3044<\/p>\n<p>\u4ed6\u306f\u30c7\u30d5\u30a9\u3067<\/p>\n<p>\u518d\u8a2d\u5b9a\u304c\u3057\u305f\u3051\u308c\u3070<\/p>\n<p>bin\/MySQLInstanceConfig.exe\u3067<\/p>\n<p><span class=\"hi-c-green\"><strong>MySQL\u518d\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306e\u969b\u30a8\u30e9\u30fc\u304c\u51fa\u308b\u5834\u5408\u3001<\/strong><\/span><\/p>\n<p>C:\\Documents and Settings\\All Users\\Application Data\\MySQL \u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u524a\u9664\u3002<\/p>\n<p>\u6b21\u306b\u30e6\u30fc\u30b6\u3068\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u4f5c\u6210<\/p>\n<p><span class=\"hi-c-green\"><strong>\u203b\u4ee5\u4e0b \u30d7\u30ed\u30f3\u30d7\u30c8<\/strong><\/span><\/p>\n<p>net start mysql -&gt; \u52d5\u3044\u3066\u308b\u304b\u78ba\u8a8d<\/p>\n<p>mysql -u root -p -&gt; \u30ed\u30b0\u30a4\u30f3<\/p>\n<p><span class=\"hi-c-green\"><strong>\u203b\u4ee5\u4e0b mysql&gt;<\/strong><\/span><\/p>\n<p>show databases; \u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000-&gt; \u65e2\u5b58\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u78ba\u8a8d<\/p>\n<p>create database wordpress; \u3000\u3000\u3000\u3000\u3000\u3000\u3000-&gt; WordPress\u7528\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u4f5c\u6210<\/p>\n<p>show databases; \u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000-&gt; \u4f5c\u6210\u3092\u78ba\u8a8d<\/p>\n<p>create user pino@localhost; \u3000\u3000\u3000\u3000\u3000\u3000-&gt; \u65b0\u3057\u3044\u30e6\u30fc\u30b6\u3092\u4f5c\u6210 \u30db\u30b9\u30c8\u304clocalhost\u306a\u306e\u3067\u30b3\u30f3\u30bd\u30fc\u30eb\u30bb\u30c3\u30b7\u30e7\u30f3\u3067\u306a\u3044\u3068\u30ed\u30b0\u30a4\u30f3\u3067\u304d\u306a\u3044\u306e\u3067\u6ce8\u610f<\/p>\n<p>use mysql;\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000 -&gt; \u30e6\u30fc\u30b6\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u9078\u629e<\/p>\n<p>show tables;\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000 -&gt; \u30c6\u30fc\u30d6\u30eb\u306e\u78ba\u8a8d<\/p>\n<p>select host,user from mysql.user; \u3000\u3000\u3000-&gt; \u30e6\u30fc\u30b6\u4e00\u89a7\u3092\u78ba\u8a8d<\/p>\n<p>set password for pino@localhost = password(&#8216;passwdpino&#8217;);\u3000\u3000\u3000 \u00a0-&gt; \u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u8a2d\u5b9a<\/p>\n<p>show grants for pino@localhost;\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000 -&gt; \u6a29\u9650\u3092\u78ba\u8a8d\u3057\u307e\u3059<\/p>\n<p>grant ALL on wordpress.* to pino@localhost;\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000 -&gt; \u6a29\u9650\u3092\u4e0e\u3048\u307e\u3059<\/p>\n<p>exit<\/p>\n<p><span class=\"hi-c-amber\"><strong><span class=\"hi-c-orange\">&#8211;PHP\u306e\u5c55\u958b-\u8a2d\u5b9a&#8211;<\/span><\/strong><\/span><\/p>\n<p>\u73fe\u6642\u70b9\u3067\u306f&#8221;php-5.3.2-Win32-VC9-x86.zip&#8221;<\/p>\n<p>1. C:\\Program Files\\PHP \u306b\u89e3\u51cd(\u4efb\u610f)<\/p>\n<p>2. \u30d5\u30a9\u30eb\u30c0\u540d\u3092PHP(\u4efb\u610f)\u306b\u5909\u66f4<\/p>\n<p>3. &#8220;php.ini-production&#8221;\u3092\u30b3\u30d4\u30fc\u3057\u3066&#8221;php.ini&#8221;\u3092\u4f5c\u6210<\/p>\n<p>4. php.ini\u306e&#8221;extension_dir&#8221;\u306e\u5024\u3092 C:\\Program Files\\PHP\\ext \u3078\u5909\u66f4 -&gt; \u30e2\u30b8\u30e5\u30fc\u30eb\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u6307\u5b9a<\/p>\n<p>5. extension=php_mbstring.dll\u3000\u3092\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8<\/p>\n<p>6. extension=php_mssql.dll \u3092\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8<\/p>\n<p>php.exe\u3092\u5b9f\u884c\u3057\u3066\u30a8\u30e9\u30fc\u304c\u7121\u3044\u304b\u78ba\u8a8d<\/p>\n<p><span class=\"hi-c-amber\"><strong><span class=\"hi-c-orange\">&#8211;IIS\u306e\u8a2d\u5b9a&#8211;<\/span><\/strong><\/span><\/p>\n<p>&#8220;\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8 \u30a4\u30f3\u30d5\u30a9\u30e1\u30fc\u30b7\u30e7\u30f3 \u30b5\u30fc\u30d3\u30b9 (IIS) \u30de\u30cd\u30fc\u30b8\u30e3\u30fc&#8221; -&gt;<\/p>\n<p>&#8220;\u30b9\u30bf\u30fc\u30c8 \u30da\u30fc\u30b8&#8221;\u306e\u4e00\u3064\u4e0b(root\u30c7\u30a3\u30ec\u30af\u30c8\u30ea)\u3092\u30af\u30ea\u30c3\u30af -&gt;<\/p>\n<p><span class=\"hi-c-green\"><strong>1. \u30cf\u30f3\u30c9\u30e9\u30fc\u30de\u30c3\u30d4\u30f3\u30b0<\/strong><\/span><\/p>\n<p>\u30cf\u30f3\u30c9\u30e9\u30fc\u30de\u30c3\u30d4\u30f3\u30b0\u3000-&gt;<\/p>\n<p>\u30e2\u30b8\u30e5\u30fc\u30eb \u30de\u30c3\u30d7\u306e\u8ffd\u52a0 -&gt;<\/p>\n<p>\u8981\u6c42\u30d1\u30b9 =&gt; *.php<\/p>\n<p>\u30e2\u30b8\u30e5\u30fc\u30eb =&gt; FastCgiModule<\/p>\n<p>\u5b9f\u884c\u53ef\u80fd\u30d5\u30a1\u30a4\u30eb =&gt; C:\\Program Files\\PHP\\php-cgi.exe<\/p>\n<p>\u540d\u524d =&gt; PHP<\/p>\n<p><span class=\"hi-c-green\"><strong>2. ISAPI\u53ca\u3073CGI\u306e\u5236\u9650<\/strong><\/span><\/p>\n<p>\u8ffd\u52a0 -&gt;<\/p>\n<p>ISAPI\u307e\u305f\u306fCGI\u306e\u30d1\u30b9 =&gt; C:\\Program Files\\PHP\\php-cgi.exe<\/p>\n<p>\u8aac\u660e =&gt; PHP<\/p>\n<p>\u62e1\u5f35\u30d1\u30b9\u306e\u5b9f\u884c\u3092\u8a31\u53ef\u3059\u308b =&gt; ON<\/p>\n<p><span class=\"hi-c-gray\"><strong><span class=\"hi-c-green\">3. ISAPI\u30d5\u30a3\u30eb\u30bf\u30fc<\/span><\/strong><\/span><\/p>\n<p>\u8ffd\u52a0 -&gt;<\/p>\n<p>\u30d5\u30a3\u30eb\u30bf\u30fc\u540d =&gt; PHP<\/p>\n<p>\u5b9f\u884c\u53ef\u80fd\u30d5\u30a1\u30a4\u30eb =&gt; C:\\Program Files\\PHP\\php5isapi.dll<\/p>\n<p>\u6b21\u306bCGI\u304c\u5b9f\u884c\u53ef\u80fd\u304b\u78ba\u8a8d\u3057\u307e\u3059<\/p>\n<p>wwwroot\u30d5\u30a9\u30eb\u30c0\u306b<\/p>\n<p>&lt;?php phpinfo(); ?&gt; \u3092\u5165\u529b\u3057\u305f\u3000phpinfo.php\u3092\u4f5c\u6210\u3057\u307e\u3059<\/p>\n<p>http:\/\/localhost\/phpinfo.php \u304b http:\/\/127.0.0.1\/phpinfo.php\u3067\u63a5\u7d9a\u3057\u307e\u3059<\/p>\n<p>PHP\u306e\u8a2d\u5b9a\u753b\u9762\u304c\u3067\u308c\u3070PHP\u306f\u52d5\u3044\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u4e00\u89a7\u306b\u3000\uff4d\uff59\uff53\uff51\uff4c \u306e\u9805\u76ee\u304c\u3042\u308c\u3070sql\u306e\u8a2d\u5b9a\u3082\u6210\u529f\u3067\u3059<\/p>\n<p><span class=\"hi-c-amber\"><strong><span class=\"hi-c-orange\">&#8211;WordPress\u306e\u8a2d\u5b9a&#8211;<\/span><\/strong><\/span><\/p>\n<p>wwwroot\u30d5\u30a9\u30eb\u30c0\u3078\u89e3\u51cd -&gt;<\/p>\n<p>wp-config-sample.php \u3092\u30b3\u30d4\u30fc\u3057\u3066 wp-config.php\u3092\u4f5c\u6210<\/p>\n<p>\u30e1\u30e2\u5e33\u3067\u958b\u304f(\u30e1\u30e2\u5e33\u3067\u7de8\u96c6\u3059\u308b\u306a\u3002\u3068\u66f8\u3044\u3066\u3042\u308b\u3051\u3069\u554f\u984c\u306a\u304b\u3063\u305f)<\/p>\n<p>\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u540d =&gt; wordpress<\/p>\n<p>\u30e6\u30fc\u30b6\u30fc\u540d =&gt; pino<\/p>\n<p>\u30d1\u30b9\u30ef\u30fc\u30c9 =&gt; passwdpino<\/p>\n<p>\u30db\u30b9\u30c8\u540d =&gt; localhost<\/p>\n<p>\u4fdd\u5b58\u3002<\/p>\n<p>\u5f8c\u306f http:\/\/localhost\/wp-admin\/index.php\u3078\u63a5\u7d9a\u3059\u308b\u3060\u3051\u3067\u3059\u3002<\/p>\n<p>\u3053\u308c\u3067\u5c0e\u5165\u5b8c\u4e86\u3067\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>WordPress \u8a2d\u5b9a \u5c0e\u5165<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[49],"tags":[10,11],"class_list":["post-15","post","type-post","status-publish","format-standard","hentry","category-memo","tag-wordpress","tag-word-press"],"_links":{"self":[{"href":"https:\/\/helloidea.org\/index.php\/wp-json\/wp\/v2\/posts\/15","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/helloidea.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/helloidea.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/helloidea.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/helloidea.org\/index.php\/wp-json\/wp\/v2\/comments?post=15"}],"version-history":[{"count":41,"href":"https:\/\/helloidea.org\/index.php\/wp-json\/wp\/v2\/posts\/15\/revisions"}],"predecessor-version":[{"id":1292,"href":"https:\/\/helloidea.org\/index.php\/wp-json\/wp\/v2\/posts\/15\/revisions\/1292"}],"wp:attachment":[{"href":"https:\/\/helloidea.org\/index.php\/wp-json\/wp\/v2\/media?parent=15"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/helloidea.org\/index.php\/wp-json\/wp\/v2\/categories?post=15"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/helloidea.org\/index.php\/wp-json\/wp\/v2\/tags?post=15"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}