{"id":105,"date":"2012-02-09T03:42:19","date_gmt":"2012-02-09T03:42:19","guid":{"rendered":"http:\/\/mio-web.net\/pcsupport\/?p=105"},"modified":"2015-01-08T03:45:05","modified_gmt":"2015-01-08T03:45:05","slug":"windows-server-2008%e3%81%abphp%e3%81%a8perl%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%99%e3%82%8b","status":"publish","type":"post","link":"https:\/\/mio-web.net\/pcsupport\/archives\/105\/","title":{"rendered":"Windows Server 2008\u306bPHP\u3068Perl\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b"},"content":{"rendered":"<p>http:\/\/www.entity.co.jp\/~moriya\/win2008server\/perl.html<\/p>\n<p>\u4ee5\u4e0b\u5f15\u7528********************************<\/p>\n<p>SOHO\u53c8\u306f\u500b\u4eba\u5411\u3051\u306bWindows Server 2008\u3092\u516c\u958b\u30b5\u30fc\u30d0\u3068\u3057\u3066\u69cb\u7bc9\u3059\u308b\u3092\u76ee\u7684\u3068\u3057\u307e\u3059\u3002<\/p>\n<p>Windows Server 2008\u306e\u30a8\u30c7\u30b7\u30e7\u30f3\u306f\u3001\u6570\u7a2e\u985e\u3042\u308a\u307e\u3059\u304c\u6a19\u6e96\u7684\u306astandard\u3068\u3057\u307e\u3059\u3002<\/p>\n<p>Web\u306e\u4ed6\u306bDNS\u3001\u30e1\u30fc\u30eb\u3001FTP\u3001E-MAIL\u306a\u3069\u3092\u69cb\u7bc9\u3057\u307e\u3059\u3002<\/p>\n<p>\u30cf\u30fc\u30c9\u30a6\u30a7\u30a2\u306f\u3001\u79cb\u8449\u539f\u3067\u30dc\u30fc\u30c9\u3092\u8abf\u9054\u3057\u3066\u4f5c\u3063\u305f\u30aa\u30ea\u30b8\u30ca\u30ebPC\u3092\u4f7f\u7528\u3002<\/p>\n<p>Windows Server 2008\u306eOS\u306f\u3001DVD\u306a\u306e\u3067DVD\u30e1\u30c7\u30a3\u30a2\u304c\u5fc5\u8981\u3067\u3059\u3002<\/p>\n<p>\uff08\u203b\u3053\u3053\u306b\u8a18\u8f09\u3057\u3066\u3044\u308b\u5185\u5bb9\u306f\u3001\u518d\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5fc5\u8981\u306a\u5834\u5408\u306e\u30e1\u30e2\u3067\u3059\u3002\uff09<br \/>\n\u30cf\u30fc\u30c9\u30b9\u30da\u30c3\u30af<br \/>\n\u30d7\u30ed\u30bb\u30c3\u30b5 Intel(R) Celeron(R) CPU2.53GHz<br \/>\n\u30e1\u30e2\u30ea 1.50GB<br \/>\nDVD\u30e1\u30c7\u30a3\u30a2 Windows Server 2008\u306e\u5a92\u4f53\u306fDVD\u306a\u306e\u3067\u8aad\u3081\u308b\u3082\u306e<\/p>\n<p>ActivePerl<br \/>\nPHP<\/p>\n<p>ActivePerl<\/p>\n<p>ActivePerl\u306f\u30a6\u30a4\u30f3\u30c9\u30a6\u30ba\u7248\u306ePerl\u30a4\u30f3\u30bf\u30d7\u30ea\u30bf\u3067\u3001ActiveState\u793e\u304c\u7121\u511f\u914d\u5e03\u3057\u3066\u3044\u307e\u3059<\/p>\n<p>Perl\u306f\u3001\u3044\u308d\u3044\u308d\u306a\u30bd\u30d5\u30c8\u306a\u3069\u306e\u30c4\u30fc\u30eb\u3067\u4f7f\u308f\u308c\u3066\u3044\u3066\u4fbf\u5229\u306a\u306e\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u304a\u304d\u307e\u3059\u3002<br \/>\n\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9<\/p>\n<p>Active Perl\u3067\u691c\u7d22\u3057\u3066\u30aa\u30d5\u30a3\u30b7\u30e3\u30eb\u30b5\u30a4\u30c8\uff08http:\/\/www.activestate.com\uff09\u304b\u3089\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u6642\u70b9\u3067\u306e\u6700\u65b0\u30a4\u30f3\u30b9\u30c8\u30fc\u30e9\u306f\u3001ActivePerl-5.10.0.1003-MSWin32-X86-285500.msi\u3067\u3059\u3002<br \/>\n\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/p>\n<p>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306f\u3044\u305f\u3063\u3066\u7c21\u5358\u3067\u3059\u3002\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u6307\u5b9a\u3060\u3051\u3067\u3059\u3002<\/p>\n<p>\u4eca\u56de\u306e\u5834\u5408\u3001D:\\perl\u3068\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>\u25a0Windows Server 2008 R2\u306e\u5834\u5408<\/p>\n<p>\u62e1\u5f35\u5b50.cgi\u3092\u4f7f\u7528\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b\u305f\u3081\u306b\u306f\u3001CGI\u30e2\u30b8\u30e5\u30fc\u30eb\u3068\u30d1\u30f3\u30c9\u30e9\u30de\u30c3\u30d4\u30f3\u30b0\u306e\u8ffd\u52a0\u304c\u5fc5\u8981<\/p>\n<p>\u30b5\u30fc\u30d0\u30fc\u30de\u30cd\u30fc\u30b8\u30e3\u30fc-&gt;\u5f79\u5272-&gt;Web\u30b5\u30fc\u30d0(IIS)-&gt;\u5f79\u5272\u30b5\u30fc\u30d3\u30b9\u306e\u8ffd\u52a0<\/p>\n<p>CGI\u3092\u9078\u629e\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/p>\n<p>IIS\u30de\u30cd\u30fc\u30b8\u30e3-&gt;\u64cd\u4f5c-&gt;\u30b9\u30af\u30ea\u30d7\u30c8\u30de\u30c3\u30d7\u306e\u8ffd\u52a0<\/p>\n<p>\u8981\u6c42\u30d1\u30b9=*.cgi<\/p>\n<p>\u5b9f\u884c\u53ef\u80fd\u30d5\u30a1\u30a4\u30eb=d:\\perl\\bin\\perl.exe %s %s<\/p>\n<p>\u540d\u524d=ActivePerl<\/p>\n<p>\u3067OK\u3092\u62bc\u4e0b<br \/>\n\u691c\u8a3c\uff08\u30b3\u30de\u30f3\u30c9\u30ec\u30d9\u30eb\uff09<\/p>\n<p>\u74b0\u5883\u5909\u6570\uff08\u30b9\u30bf\u30fc\u30c8-&gt;\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u53f3\u30af\u30ea\u30c3\u30af-&gt;\u30d7\u30ed\u30d1\u30c6\u30a3-&gt;\u30b7\u30b9\u30c6\u30e0\u306e\u8a73\u7d30\u8a2d\u5b9a-&gt;\u74b0\u5883\u5909\u6570\uff09\u306ePath\u306bd:\\perl\\bin\u304c\u30d1\u30b9\u3068\u3057\u3066\u5165\u3063\u3066\u3044\u308c\u3070\u3001\u518d\u8d77\u52d5\u6642\u3082\u901a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u901a\u3063\u3066\u3044\u306a\u3051\u308c\u3070\u3001\u8ffd\u52a0\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u3067Perl -v\u3068\u5165\u529b\u3057\u3066\u30d0\u30fc\u30b8\u30e7\u30f3\u60c5\u5831\u304c\u8868\u793a\u3055\u308c\u308c\u3070\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306f\u6210\u529f\u3067\u3059\u3002<\/p>\n<p>\u53c8\u3001D:\\perl\\eg\\sample.pl\u304c\u3042\u308a\u307e\u3059\u306e\u3067\u5b9f\u884c\u3057\u3066\u898b\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u77e2\u5370\u30da\u30fc\u30b8\u306e\u30c8\u30c3\u30d7\u3078<br \/>\nPHP<\/p>\n<p>PHP\u306f\u3001\u4eca\u56de\u5fc5\u8981\u3042\u308a\u307e\u305b\u3093\u304c\u4e00\u5fdc\u63a7\u3048\u3066\u304a\u304d\u307e\u3059\u3002<br \/>\n\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/p>\n<p>\u25a0\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9<\/p>\n<p>\u4ee5\u4e0b\u306eURL\u304b\u3089windows\u7528\u306ePHP\u6700\u65b0\u30a4\u30f3\u30b9\u30c8\u30fc\u30e9\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b<\/p>\n<p>http:\/\/www.php.net\/downloads.php<\/p>\n<p>2008\u5e748\u670820\u65e5\u6642\u70b9\u3067\u306e\u6700\u65b0\u306f\u201dPHP 5.2.6 zip package\u201d\u306a\u306e\u3067\u3001\u305d\u308c\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b<\/p>\n<p>(\u8ffd\u8a18)2011\u5e7410\u670825\u65e5\u6642\u70b9\u3067\u306e\u6700\u65b0\u306f\u201dPHP 5.3.8 zip VC9 x86 Non Thread Safe\u201d\u3068\u306a\u308b<\/p>\n<p>\u25a0\u5c55\u958b<\/p>\n<p>package\u3092\u89e3\u51cd\u3059\u308b\u3002\u89e3\u51cd\u5148\u306f\u3069\u3053\u3067\u3082\u3044\u3044\u306e\u3067\u3059\u304c\u3001D:\\php-5.2.6-Win32<\/p>\n<p>\u25a0php.ini\u306e\u4f5c\u6210<\/p>\n<p>D:\\php-5.2.6-Win32\\php.ini-dist\u3092c:\\windows\u306b\u30b3\u30d4\u30fc\u3057\u3066php.ini\u3068\u30ea\u30cd\u30fc\u30e0\u3059\u308b\u3002<\/p>\n<p>(\u8ffd\u8a18)PHP5.3.8\u306e\u5834\u5408\u3001php.ini-production\u3092\u4f7f\u7528\u3059\u308b\u3002<\/p>\n<p>\u53c8\u3001PHP\u3092\u5b9f\u884c\u53ef\u80fd\u306b\u3059\u308b\u305f\u3081\u306bFastCGI\u3092\u4f7f\u7528\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u305f\u3081\u3001php,ini\u3092\u4ee5\u4e0b\u306e\u5185\u5bb9\u306b\u5909\u66f4\u30fb\u8ffd\u52a0\u3059\u308b\u3002<\/p>\n<p>fastcgi.impersonate = 1<\/p>\n<p>cgi.fix_pathinfo=1<\/p>\n<p>cgi.force_redirect = 0<\/p>\n<p>FastCGI\u306f\u5f79\u5272\u30b5\u30fc\u30d3\u30b9\u306eCGI\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u4e8b\u3067\u4f7f\u7528\u304c\u53ef\u80fd\u3068\u306a\u308b\u3002<\/p>\n<p>\u25a0\u30cf\u30f3\u30c9\u30e9\u30de\u30c3\u30d4\u30f3\u30b0<\/p>\n<p>IIS\u30de\u30cd\u30fc\u30b8\u30e3-&gt;\u64cd\u4f5c-&gt;\u30b9\u30af\u30ea\u30d7\u30c8\u30de\u30c3\u30d7\u306e\u8ffd\u52a0<\/p>\n<p>\u8981\u6c42\u30d1\u30b9=*.php<\/p>\n<p>\u5b9f\u884c\u53ef\u80fd\u30d5\u30a1\u30a4\u30eb=d:\\php-5.2.6-win32\\php5isapi.dll<\/p>\n<p>\u540d\u524d=PHP<\/p>\n<p>\u3067OK\u3092\u62bc\u4e0b<\/p>\n<p>\u25a0FastCGI\u3092\u4f7f\u7528\u3059\u308b\u5834\u5408\u306e\u30cf\u30f3\u30c9\u30e9\u30de\u30c3\u30d4\u30f3\u30b0<\/p>\n<p>IIS\u30de\u30cd\u30fc\u30b8\u30e3-&gt;\u64cd\u4f5c-&gt;\u30e2\u30b8\u30e5\u30fc\u30eb\u30de\u30c3\u30d7\u306e\u8ffd\u52a0<\/p>\n<p>\u8981\u6c42\u30d1\u30b9=*.php<\/p>\n<p>\u30e2\u30b8\u30e5\u30fc\u30eb=FastCgiModule<\/p>\n<p>\u5b9f\u884c\u53ef\u80fd\u30d5\u30a1\u30a4\u30eb=d:\\php-5.3.8-win32\\\\php-cgi.exe<\/p>\n<p>\u540d\u524d=PHP<\/p>\n<p>\u3067OK\u3092\u62bc\u4e0b<br \/>\n\u691c\u8a3c<\/p>\n<p>test.php\u3068\u3044\u3046\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u3066\u3001\u30af\u30e9\u30a4\u30a2\u30f3\u30c8PC\u4e0a\u306e\u30d6\u30e9\u30a6\u30b6\u3067php\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u8a2d\u5b9a\u60c5\u5831\u304c\u898b\u3048\u308c\u3070OK\u3067\u3059\u3002<\/p>\n<p>&lt;?php phpinfo(); ?&gt;<\/p>\n<p>\u53c2\u7167=How to install PHP on IIS<\/p>\n","protected":false},"excerpt":{"rendered":"<p>http:\/\/www.entity.co.jp\/~moriya\/win2008server\/perl.html \u4ee5\u4e0b\u5f15\u7528******************************** SOHO\u53c8\u306f\u500b\u4eba\u5411\u3051\u306bWindow [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"vkexunit_cta_each_option":"","footnotes":""},"categories":[21],"tags":[],"class_list":["post-105","post","type-post","status-publish","format-standard","hentry","category-windowsserver"],"_links":{"self":[{"href":"https:\/\/mio-web.net\/pcsupport\/wp-json\/wp\/v2\/posts\/105","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mio-web.net\/pcsupport\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mio-web.net\/pcsupport\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mio-web.net\/pcsupport\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mio-web.net\/pcsupport\/wp-json\/wp\/v2\/comments?post=105"}],"version-history":[{"count":1,"href":"https:\/\/mio-web.net\/pcsupport\/wp-json\/wp\/v2\/posts\/105\/revisions"}],"predecessor-version":[{"id":106,"href":"https:\/\/mio-web.net\/pcsupport\/wp-json\/wp\/v2\/posts\/105\/revisions\/106"}],"wp:attachment":[{"href":"https:\/\/mio-web.net\/pcsupport\/wp-json\/wp\/v2\/media?parent=105"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mio-web.net\/pcsupport\/wp-json\/wp\/v2\/categories?post=105"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mio-web.net\/pcsupport\/wp-json\/wp\/v2\/tags?post=105"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}