PPCÈÇMacOS X¤Ç¤Î³Ð¤¨½ñ¤(ºÇ¿·¤ÎPHP5¡¢Apache2¤ÎƳÆþetc¡Ë
¤ÎÊÔ½¸
http://akid.s17.xrea.com/p2puki/index.phtml?PPC%C8%C7MacOS%20X%A4%C7%A4%CE%B3%D0%A4%A8%BD%F1%A4%AD%28%BA%C7%BF%B7%A4%CEPHP5%A1%A2Apache2%A4%CE%C6%B3%C6%FEetc%A1%CB
[
¥È¥Ã¥×
] [
ÊÔ½¸
|
º¹Ê¬
|
¥Ð¥Ã¥¯¥¢¥Ã¥×
|
źÉÕ
|
¥ê¥í¡¼¥É
] [
¿·µ¬
|
°ìÍ÷
|
ñ¸ì¸¡º÷
|
ºÇ½ª¹¹¿·
|
¥Ø¥ë¥×
]
-- ¿÷·Á¤È¤¹¤ë¥Ú¡¼¥¸ --
1¤Î¥ê¥ó¥¯É½¼¨Êѹ¹
2013ǯ12·î10Æü¤ÎŽÒŽÝŽÃŽÅŽÝŽ½°Ê¹ß¡Ä
2ch¤Îp2´ØÏ¢¥¹¥ì¥Ã¥É
674@Part18¤Î¥Ñ¥Ã¥Á³Æ¼ï
Bookmarklet
BracketName
BugTrack
BugTrack/1
BugTrack/10
BugTrack/11
BugTrack/12
BugTrack/13
BugTrack/14
BugTrack/15
BugTrack/16
BugTrack/17
BugTrack/18
BugTrack/19
BugTrack/2
BugTrack/20
BugTrack/21
BugTrack/22
BugTrack/23
BugTrack/24
BugTrack/25
BugTrack/26
BugTrack/27
BugTrack/28
BugTrack/29
BugTrack/3
BugTrack/30
BugTrack/31
BugTrack/32
BugTrack/34
BugTrack/35
BugTrack/4
BugTrack/5
BugTrack/6
BugTrack/7
BugTrack/8
BugTrack/9
Butt_O'sigh
CVS ¤ò»È¤Ã¤¿ diff ¤Îºî¤êÊý @ MacÊÔ
DebianGNU/Linux¤Ç¤Î¥¤¥ó¥¹¥È¡¼¥ë
DoCoMo
FollowSymLinks
FormattingRules
FrontPage
Help
InterWiki
InterWikiName
InterWikiSandBox
InterWiki¥Æ¥¯¥Ë¥«¥ë
JavaScript
MacOSX¥¤¥ó¥¹¥È¡¼¥ë¥Ñ¥Ã¥±¡¼¥¸
Mac¤ÎºÇÂç²½¤òÌϤ·¤¿JavaScript´Ø¿ô
MenuBar
OmniWeb
PEAR¤Î¥¤¥ó¥¹¥È¡¼¥ë
PHP
PHP_Compat¤Î¥¤¥ó¥¹¥È¡¼¥ë
PHP´ØÏ¢¥ê¥ó¥¯½¸
PPCÈÇMacOS X¤Ç¤Î³Ð¤¨½ñ¤(ºÇ¿·¤ÎPHP5¡¢Apache2¤ÎƳÆþetc¡Ë
Palm¤ÎDoc·Á¼°¤Ç¤Î½ñ¤½Ð¤·
PerlGrep
PukiWiki
RecentDeleted
Safari ÍÑ¥Õ¥©¥ó¥È»ØÄê
Safari¤ÇPukiWiki¤òÊÔ½¸¤¹¤ë»þ¤ÎÃí°Õ
Safari¤Ç¥¹¥Æ¡¼¥¿¥¹É½¼¨¤¬¥Á¥é¤Ä¤¯
SandBox
ScriptAlias
Sfari¤Ç²èÁü¥Ý¥Ã¥×¥¢¥Ã¥×¤ÎµóÆ°ÉÔ¿³
Sidebar¤Î¥ê¥ó¥¯Àè¤òƱ°ì¥¦¥£¥ó¥É¥¦Æâ¤Ëɽ¼¨
SourceForge
ToDoList
WebCore
WebServer
WikiEngines
WikiName
WikiWikiWeb
WindowsÈÇApache¤Ècurl¤Î¥¤¥ó¥¹¥È¡¼¥ë¡Ê¡ü¤âOK¡Ë
WindowsÈÇApache¤Ècurl¤Î¥¤¥ó¥¹¥È¡¼¥ë¡Ê¡ü¤âOK¡ËApache2.xx.xx+PHP5
WindowsÈÇApache¤Ècurl¤Î¥¤¥ó¥¹¥È¡¼¥ë¡Ê¡ü¤âOK¡ËApache2.xx.xx+PHP5(´Ê°×ÈÇ)
YukiWiki
aki
be
dat·Á¼°¤È¥í¥°°Ü¹Ô
diff¥Õ¥¡¥¤¥ë¤Î»È¤¤Êý
editfile.php¤Î¥»¥¥å¥ê¥Æ¥£½¤Àµ
get
p2
p2.2ch.net
p2Sidebar
p2Wiki¤ÎÊÔ½¸Êý¿Ë
p2_ng_msg.txt
p2ime
p2¤Ç¥¹¥¥ó¤ò»È¤ª¤¦¡ª
p2¤Î¥Õ¥¡¥¤¥ë¥ê¥¹¥È
p2¤Î¥Õ¥¡¥¤¥ë¹½À®
p2¥Ç¥Ù¥í¥Ã¥Ñ
p2¥æ¡¼¥¶¡¼¥º
p2¥ê¥Ý¡¼¥È
p2´ØÏ¢¥ê¥ó¥¯½¸
rep2-expack rskÈÇfix¥Ú¡¼¥¸
safe-mode¤Ç¤Î¼Â¹Ô
viewtxt.php¤Î¥»¥¥å¥ê¥Æ¥£½¤Àµ
¡ü2ch¥í¥°¥¤¥ó¤Ëproxy¤òÍøÍÑ
£²¤Á¤ã¤ó¤Í¤ë¸ø¼°£ð£²»ÈÍѾå¤ÎÃí°Õ
£²¤Á¤ã¤ó¤Í¤ë¸ø¼°£ð£²»ÈÍѾå¤ÎÃí°Õ/°ìÍ÷
¤ªµ¤¤Ë¥¹¥ì¤Ø¤ÎÍ×˾
¤ä¤à¤òÆÀ¤º¥ì¥ó¥¿¥ë¥µ¡¼¥Ð¡¼¤Çp2¤¹¤ë¾ì¹ç
¥¢¥
¥¤¥ó¥¹¥È¡¼¥ëÊýË¡
¥³¥á¥ó¥È/p2¥æ¡¼¥¶¡¼¥º
¥³¥á¥ó¥È/p2¥ê¥Ý¡¼¥È
¥¹¥¯¥ê¡¼¥ó¥·¥ç¥Ã¥È
¥¹¥é¥Ã¥·¥å¥É¥Ã¥ÈÂбþ
¥¹¥ì¥Ã¥É°ìÍ÷¤Ë¤¢¤Ü¡¼¤óµ¡Ç½¤ò¤Ä¤±¤ë
¥¹¥ì¥Ã¥É¸¡º÷¤¬¤Ç¤¤Ê¤¤
¥»¥¥å¥ê¥Æ¥£Âкö
¥Æ¥ó¥×¥ì
¥Ð¡¼¥¸¥ç¥ó¥¢¥Ã¥×
¥×¥é¥°¥¤¥ó
¥×¥í¥¥·Âбþ
¥Ø¥ë¥×
¥á¥Ë¥å¡¼¤¬Æɤ߹þ¤á¤Ê¤¤
¥á¥Ë¥å¡¼¤Î¥Õ¥ì¡¼¥àÉý¤¬Êѹ¹¤Ç¤¤Ê¤¤
¥â̼(¡¡¡üõ¡®)¤Î¸ý¤¬Ê¸»ú²½¤±
¥æ¡¼¥¶¡¼¥«¥¹¥¿¥Þ¥¤¥º(p2 ¡ÁVer 1.6.7)
¥æ¡¼¥¶¡¼¥«¥¹¥¿¥Þ¥¤¥º(rep2 Ver 1.7.0¡Á)
¥æ¡¼¥¶Ç§¾Ú
¥ê¥ó¥¯¥×¥é¥°¥¤¥ó
¥ê¥ó¥¯½¸
¥í¥°¥¤¥ó¤Ç¤¤Ê¤¤
¥í¥Ü¥Ã¥È¸¡º÷½ü¤±
³Æ¥Ö¥é¥¦¥¶¤Èp2¤È¤ÎÁêÀ
³ÈÄ¥¥Ñ¥Ã¥¯
µì·Á¼°¤Î²áµî¥í¥°
¸ø¼°p2¤Ç¤Î½ñ¤¹þ¤ß¤ËÂбþ¤·¤Æ¤¤¤ë³°ÉôÈÄ
¼ÁÌä
½ñ¤¹þ¤á¤Æ¤ë¤Î¤ËÈ¿±Ç¤µ¤ì¤Ê¤¤
¿ÍÂç¿ùÌäÂê
À°·Á¥ë¡¼¥ë
Àµ¤·¤¤¥Ð¥°Êó¹ð
ÀßÄêÊýË¡
ÁàºîÊýË¡
ÃÖ´¹¥ï¡¼¥É
ÃÖ´¹²èÁüURL
Æ°ºî¥µ¡¼¥ÐÊó¹ð¡ÊNG¡Ë
Æ°ºî¥µ¡¼¥ÐÊó¹ð¡ÊOK¡Ë
Æ°ºî´Ä¶
Èĥꥹ¥È¤ÎÆɤ߹þ¤ß
ÈÄ°ìÍ÷¤òɽ¼¨¤·¤Ê¤¤
ÉÔÅÔ¹çÂкö
Îý½¬
Îý½¬ÍÑ¥Ú¡¼¥¸
707
PPCÈÇMacOS X¤Ç¤Î³Ð¤¨½ñ¤(ºÇ¿·¤ÎPHP5¡¢Apache2¤ÎƳÆþetc¡Ë IntelMac¤ÎÅоì°ÊÍè¡¢PPCÅëºÜMac¤Ç¤ÎPHP´Ä¶¤Ï¸·¤·¤µ¤òÁý¤·¤Æ¤¤¤ë´¶¤¬¤¢¤ê¤Þ¤¹¡£~ Windows¤Ç¤ÏPHP¤âApache¤â¤¬¤Ã¤Ä¤ê¤È¥Ð¥¤¥Ê¥ê¤¬Â·¤Ã¤Æ¤¤¤ë¤Î¤Ç¡¢Pentium¤Êµì¼°µ¡¤ËWindows2000¤È¤¤¤¦¹½À®¤Ç¤â³ä¹ç¤É¤¦¤Ë¤«¤Ê¤Ã¤Æ¤·¤Þ¤¦¤â¤Î¤Ç¤¹¤¬¡¢MacOS X¤Î¾ì¹ç¤Ë¤Ï¥Ð¥¤¥Ê¥ê¤ÎÆþ¼ê·ÐÏ©¤¬¤¢¤ëÄøÅÙ¸ÂÄꤵ¤ì¤Æ¤·¤Þ¤¦»ö¤¬ÆñÅÀ¤Ç¤¹¡£ -MacPorts:http://www.macports.org/~ ¤Ê¤ê -Entropy PHP:http://www.entropy.ch/software/macosx/php/~ ¤Ê¤ê -DarwinPorts:http://darwinports.com/~ ¤Ê¤ê¤ÇɬÍפʥС¼¥¸¥ç¥ó¤Î¥Ð¥¤¥Ê¥ê¤¬¼ê¤ËÆþ¤ì¤Ð¸À¤¦»ö¤Ï¤Ê¤¤¤Î¤Ç¤¹¤¬¡¢¥Ð¥¤¥Ê¥ê¤¬¤¢¤Ã¤Æ¤â¸Å¤¤OS X¤äPPC¤ËÂбþ¤·¤Æ¤Ê¤«¤Ã¤¿¤ê¡¢¤½¤â¤½¤âºÇ¿·¥Ð¡¼¥¸¥ç¥ó¤Î¥Ð¥¤¥Ê¥ê¤¬Ìµ¤«¤Ã¤¿¤ê¤Ê¤É¤·¤Æ¡¢³ÈÄ¥¥Ñ¥Ã¥¯»ÈÍÑ»þ¤Ë¡ÖPHP¤¬¸Å¤¤¤è¡×¤È¼¸¤é¤ì¤Æ¤·¤Þ¤¦»ö¤¬PPCÅëºÜMac»È¤¤¤Î¿Í¤Ï°ìÅٰ̤Ϥ¢¤ë¤È»×¤¤¤Þ¤¹¡£ '''¤½¤¦¤¤¤¦¾ì¹ç¤ÏºÇ½ªÅª¤Ë¤Ï¥½¡¼¥¹¥³¡¼¥É¤«¤é¼«Á°¤Ç¥Ó¥ë¥É¤¹¤ë¤È¤¤¤¦¼êÃʤòºÎ¤ë¤·¤«¤¢¤ê¤Þ¤»¤ó¡£''' £±¡¥É¬Íפʥâ¥Î -Xcode tools~ Developer Tools¤È¤â¤¤¤¤¤Þ¤¹¤Í¡£¤Þ¤º¤³¤ì¤¬Ìµ¤±¤ì¤ÐÏäˤʤê¤Þ¤»¤ó¡£MacÉÕ°¤Î¥¤¥ó¥¹¥È¡¼¥ëDVD¤Ê¤ê¡¢OS XÉÕ°¤ÎXcode tools¤ÎDVD¤«¤é¥¤¥ó¥¹¥È¡¼¥ë¤·¤Æ²¼¤µ¤¤¡£ -¥°¡¼¥°¥ëÀèÀ¸:http://www.google.co.jp/~ Î㤨¤Ð¡ÖApache2 10.3¡×¤È¤«¡¢¡ÖPHP5.3 10.5 make¡×Åù¤Î¸ì¶ç¤òÁȤ߹ç¤ï¤»¤Æ¸¡º÷¤¹¤ì¤Ð¡¢É¬ÍפʥС¼¥¸¥ç¥ó¤òÌÜŪ¤ÎOS X¤Ëmake install¤¹¤ëÊýË¡¤¬½ñ¤¤¤Æ¤¢¤ë¥Ú¡¼¥¸¤¬É¬¤º½Ð¤ÆÍè¤Þ¤¹¤è¡£ -¤Û¤ó¤Î¤Á¤ç¤Ã¤È¤Î¥¿¡¼¥ß¥Ê¥ë¤ÎÃμ±~ ¥³¥Þ¥ó¥É¤¬¾¯¡¹ÆþÎϤǤ¤ì¤Ð½½Ê¬¤Ç¤¹¡£ºÇ°¤Ç¤â¡¢cd¤Èsudo¤µ¤¨Ê¬¤«¤ì¤Ð²³¡£ -ž¤ó¤Ç¤âµã¤«¤Ê¤¤Í¦µ¤ ³Ð¸ç´°Î»¤·¤¿¤é¼¡¤Ø¿Ê¤ß¤Þ¤·¤ç¤¦¡£¡£¡£ £²¡¥´ðËÜŪ¤Ê»²¹Íʸ¸¥¤Ë¤Ò¤È¤Þ¤ºÌܤòÄ̤¹ -apache2:http://httpd.apache.org/docs/2.2/install.html -PHP5:http://www.hot-linux.org/osx/?rec_no=124 ¤³¤Î»þÅÀ¤Ç¥Á¥ó¥×¥ó¥«¥ó¥×¥ó¤Ê¤è¤¦¤Ç¤¢¤ì¤Ð¡¢·é¤¯Äü¤á¤Þ¤·¤ç¤¦¡£¡£¡£ £³¡¥´ðËÜŪ¤Êή¤ì -¥½¡¼¥¹¥³¡¼¥É¤òÆþ¼ê¤¹¤ë¡£tar.gz°µ½Ì¤Î¤â¤Î¤òÁª¤Ö»ö¡£ -¥À¥¦¥½¤·¤¿tar.gz¤ò¥Û¡¼¥à¥Õ¥©¥ë¥À¤ËÃÖ¤¯¡£ -¥¿¡¼¥ß¥Ê¥ë¤òµ¯Æ° -tar.gz¤ò¡Ötar xvfz ¥Õ¥¡¥¤¥ë.tar.gz¡×¤Ç²òÅà¡£ -²òÅष¤Æ½ÐÍ褿¥Õ¥©¥ë¥À¤Ë¡Öcd ¥Õ¥¡¥¤¥ë¡×¤Ç°ÜÆ°¡£ -¡Ö./configure¡×¤¹¤ë¡£¿§¡¹¤´¤Á¤ã¤´¤Á¤ãÆ°¤¯¤Î¤Ç»Ã¤¯ÊüÃÖ¡£ -¡Ömake¡×¤¹¤ë¡£¿§¡¹¤´¤Á¤ã¤´¤Á¤ãÆ°¤¯¤Î¤Ç(ry -¡Ömake install¡×¤¹¤ë¡£¿§(ry £´¡¥¼ÂºÝ¤Ë¥½¡¼¥¹¥³¡¼¥É¤òÍÑ°Õ -Apache2:http://httpd.apache.org/download.cgi httpd-2.2.15.tar.gz -PHP5:http://www.php.net/downloads.php php-5.3.2.tar.gz -rep2:http://page2.skr.jp/rep2/ £µ¡¥Apache2¤ò¥Ó¥ë¥É¤¹¤ë¡Ä¤½¤ÎÁ°¤Ë¡£~ ¤Þ¤º½é¤á¤Ë¡¢¸½ºß¤ÎOS X¤ÇÆ°¤¤¤Æ¤¤¤ëApache¤Î¥Ð¡¼¥¸¥ç¥ó¤ò³Îǧ¤·¤Þ¤·¤ç¤¦¡£~ ¥¿¡¼¥ß¥Ê¥ë¤ò³«¤¤¤Æ httpd -v ¤ÈÆþÎÏ¡£¤³¤ì¤Ç¸½ºß¤ÎApache¤Î¥Ð¡¼¥¸¥ç¥ó¤¬³Îǧ¤Ç¤¤Þ¤¹¡£OS X 10.5Åù¤Ç¸½»þÅÀ¤ÇApache¤Î¥Ð¡¼¥¸¥ç¥ó¤¬2°Ê¾å¤Ç¤¢¤ì¤Ð¡¢ÌµÍý¤ËºÇ¿·¥Ð¡¼¥¸¥ç¥ó¤Ë¤¹¤ëɬÍפϤ¢¤ê¤Þ¤»¤ó¡£¤È¤¤¤¦¤«¡¢ºÇ°1.3¤Î¤Þ¤Þ¤Ç¤â¤É¤¦¤Ë¤«¤Ï¤Ê¤ë¡Ê¤Ï¤º¡Ë¤ó¤Ç10.2¤È¤«¤Î¿Í¤Ï̵Íý¤Ë¤ä¤é¤Ê¤¯¤Æ¤â¤¤¤¤¡£ £¶¡¥Apache2¤ò¥Ó¥ë¥É¤¹¤ë~ 10.3·Ï¡§http://sosai.blogspot.com/2008/02/apache228mac-os-x.html~ 10.3·Ï¡§http://mt.mizba.net/archives/000667.php~ 10.4·Ï¡§http://www.proton.jp/main/macosx/macosx10.4.html#apache2.2install~ 10.5·Ï¡§http://www.hot-linux.org/osx/?rec_no=140~ ¸µ¤ÎApache1.x¤È¤Î´ØÏ¢¡§http://ar.aichi-u.ac.jp/blog/apache.html -ɸ½à¤ÎApache¤ò¡Ösudo apachectl stop¡×¤ÇÄä»ß¤¹¤ë¡£ -²¼µ¤Î¥³¥Þ¥ó¥É¤ò½çÈÖ¤ËÆþÎÏ¡Ê10.5¤ÇApache2.2.15¤ò¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¾ì¹ç¡Ë $ tar xvfz httpd-2.2.15.tar.gz $ cd httpd-2.2.15 $ ./configure --enable-modules="so ssl dav" --enable-modules=rewrite --enable-suexec --enable-dav $ make $ make install £·¡¥Apache¤Î¥Ñ¥¹¤ÎÀßÄê~ ¥¤¥ó¥¹¥È¡¼¥ë¤·¤¿Apache2¤Ïapachectl¥³¥Þ¥ó¥É¤Çµ¯Æ°¤äÄä»ß¤¬½ÐÍè¤Þ¤¹¡£¤·¤«¤·¡Ä¤³¤Î¤Þ¤Þ¤Î¾õÂ֤Ǥϥ¿¡¼¥ß¥Ê¥ë¤Çapachectl¥³¥Þ¥ó¥É¤ò¤¿¤À¼Â¹Ô¤·¤Æ¤â¡Ö/usr/local/sbin¡×¤Ë¤¢¤ë¸µ¤ÎApache¤¬Æ°¤¯¤À¤±¤Ç¿·¤¿¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤·¤¿Apache2¤ÏÆ°¤«¤»¤Þ¤»¤ó¡£~ ¿·¤¿¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤·¤¿Apache2¤òÆ°¤«¤¹¤Ë¤Ï¡¢¥¤¥ó¥¹¥È¡¼¥ë¥Õ¥©¥ë¥À¤Ë¡Öcd /usr/local/apache2/bin/¡×¤Ç°ÜÆ°¤¹¤ë¤«¡¢¡Ö/usr/local/apache2/bin/apachectl start¡×¤Ê¤É¤Î¥Õ¥ë¥Ñ¥¹ÆþÎϤÇapachectl¤òÆ°¤«¤·¤Æ¤ä¤é¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¡£~ ¤¤¤Á¤¤¤Á¤³¤ó¤Ê»ö¤ò¤ä¤Ã¤Æ¤¤¤Æ¤ÏÆü¤¬Êë¤ì¤Æ¤·¤Þ¤¦¤Î¤Ç¡¢¤µ¤Ã¤¯¤ê¥Ñ¥¹¤òÄ̤·¤Á¤ã¤¤¤Þ¤·¤ç¤¦¡£¡£¡£~ ¥¤¥ó¥¹¥È¡¼¥ë¥Õ¥©¥ë¥À¤Ø¤Î¥Ñ¥¹¤òÄ̤¹¤Ë¤Ï£²¤Ä¤ÎÊýË¡¤¬¤¢¤ê¤Þ¤¹¡£ -¥Û¡¼¥à¥Õ¥©¥ë¥À¤Î.bash_profile¤Ë¥¤¥ó¥¹¥È¡¼¥ë¥Õ¥©¥ë¥À¤Î/bin¥Õ¥©¥ë¥À¤òÄɵ¤¹¤ë¡£¼ç¤Ë10.4°ÊÁ°¤ÎOS X¤Ç¼çή¤Ç¤¢¤Ã¤¿ÊýË¡¤Ç¤¹¡£http://cisco250.hp.infoseek.co.jp/Linux/path/ -path_helper¤ò»È¤Ã¤Æ¥Ñ¥¹¤òÄêµÁ¤¹¤ë¡£10.5°Ê¹ß¤ÎOS X¤Î¾ì¹ç¤Ï¤³¤Á¤é¤Ç¡£http://d.hatena.ne.jp/koseki2/20081201/macportPath ¥Ñ¥¹ÄêµÁ¤¬½ª¤ï¤Ã¤¿¤é¡¢¡Öecho $PATH¡×¥³¥Þ¥ó¥É¤Ç¥Ñ¥¹¤¬Ä̤äƤ뤫¤É¤¦¤«³Îǧ¤·¤Þ¤·¤ç¤¦¡£ £¸¡¥httpd.conf¤òÊÔ½¸¤¹¤ë¤Ë¤Ï~ Finder¤Î¡Ö°ÜÆ°¢ª¥Õ¥©¥ë¥À¤Ø°ÜÆ°¡×¥á¥Ë¥å¡¼¤ò»È¤Ã¤Æ¡¢ÉԲĻë¥Õ¥©¥ë¥ÀÆâ¤Îhttpd.conf¤òõ¤·¤Þ¤¹¡£~ ɸ½à¤ÎApache/Apache2¤Îhttpd.conf¤òÊÔ½¸¤¹¤ë¾ì¹ç¤Ë¤Ï¡¢¡Ö/private/etc¡×Æâ¤Îhttpd.conf¤òÊÔ½¸¡£~ ¿·¤¿¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤·¤¿Apache2¤Î¾ì¹ç¤Ë¤Ï¡Ö/usr/local/apache2/conf/¡×Æâ¤Îhttpd.conf¤òÊÔ½¸¤·¤Þ¤¹¡£~ OS X¤Î¥Ð¡¼¥¸¥ç¥ó¤Ë¤è¤Ã¤Æ¤Ïhttpd.conf¤¬½ñ¤¹þ¤ß¥í¥Ã¥¯¤µ¤ì¤Æ¤¤¤¿¤ê¡¢¥æ¡¼¥¶¡¼¤Ë¥Õ¥©¥ë¥À¤ÎÊÔ½¸¸¢¸Â¤¬Ìµ¤«¤Ã¤¿¤ê¤¹¤ë¤Î¤Ç¡¢¡Ê10.5¤Î¾ì¹ç¤Ï¡Ë°ìö¥Ç¥¹¥¯¥È¥Ã¥×¤Ë¥É¥é¥Ã¥°¡õ¥É¥í¥Ã¥×¤Çhttpd.conf¤ò½Ð¤·¤Æ¤·¤Þ¤¤¡¢¥Æ¥¥¹¥È¥¨¥Ç¥£¥Ã¥È¤Ê¤É¤ÇÊÔ½¸¤·¤Æ¤«¤éºÆ¤Ó¸µ¤Î¾ì½ê¤ØÌ᤹¤Î¤¬´Êñ¤Ç¤¹¡£ -¤È¤ê¤¢¤¨¤º²¼µ¤ÎÆâÍƤòµÆþ¡£~ LoadModule php5_module libexec/httpd/libphp5.so AddModule mod_php5.c AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps -ɬÍפ˱þ¤¸¤Æ¡ÖDocumentRoot¡×¥»¥¯¥·¥ç¥ó¤Çhtdocs¤Î¥Ç¥£¥ì¥¯¥È¥ê¤òÊѹ¹¤¹¤ë¡£10.5¤Î¾ì¹ç¡¢¸µ¤ÎApache¤Îɸ½àDocumentRoot¤Ï¡Ö/Library/WebServer/Documents/¡×¤Ê¤Î¤Ç¡¢¿·µ¬¤ËApache2¤òÆþ¤ì¤¿¾ì¹ç¤â¸µ¤Îɸ½àDocumentRoot¤Ë¹ç¤ï¤»¤Æ¤ª¤¯¤Î¤¬ÌµÆñ¡£ £¹¡¥PHP5¤ò¥Ó¥ë¥É¤¹¤ë¡Ä¤½¤ÎÁ°¤Ë¡£~ Apache¤Ïrep2¤ÎÆ°ºî¤Ë¤È¤Ã¤Æ¤Ï³ä¤È¤É¤¦¤Ç¤â¤¤¤¤¤Î¤Ç¡¢¤É¤Á¤é¤«¤È¤¤¤¨¤Ð¤³¤Á¤é¤ÎÊý¤¬½ÅÍפǤ¹¡£ºÇ¿·¤Î³ÈÄ¥¥Ñ¥Ã¥¯¤ÏPHP5.3.x°Ê¾å¤òÍ׵ᤷ¤Æ¤¯¤ë¤Î¤Ç¡¢¥¤¥ó¥¹¥È¡¼¥ë¥Ð¥¤¥Ê¥ê¤¬Ìµ¤¤´Ä¶¤Î¾ì¹ç¤Ë¤ÏºÇ¿·¤ÎPHP¤òƳÆþ¤¹¤ë¤Ë¤Ï¥½¡¼¥¹¤«¤é¤Î¥Ó¥ë¥É¤ÏÈò¤±¤Æ¤ÏÄ̤ì¤Þ¤»¤ó¡£~ ¤¬¡¢¤Þ¤º½é¤á¤Ë¸½ºß¤ÎOS X¤ÇÆ°¤¤¤Æ¤¤¤ëPHP¤Î¥Ð¡¼¥¸¥ç¥ó¤ò³Îǧ¤·¤Þ¤·¤ç¤¦¡£~ ¥Æ¥¥¹¥È¥¨¥Ç¥£¥Ã¥È¤òµ¯Æ°¤·¤Æ¿·µ¬¥Õ¥¡¥¤¥ë¤Ë <?php phpinfo(); ?> ¤³¤Î¤è¤¦¤Ê°ìʸ¤ò½ñ¤¹þ¤ó¤ÇÊݸ¤·¤Þ¤¹¡£Êݸ¤·¤¿¥Æ¥¥¹¥È¥Õ¥¡¥¤¥ë¤Ï¡Ötest_first.php¡×¤È¤Ç¤â¥ê¥Í¡¼¥à¤·¤Þ¤·¤ç¤¦¡£~ ¤³¤Î¡Ötest_first.php¡×¤òApache¤Îhtdocs¥Õ¥©¥ë¥À¤ËÅêÆþ¤·¤Æ¡¢¥Ö¥é¥¦¥¶¤ÎURL¤Ë¡Öhttp://127.0.0.1/test_first.php¡×¤ÈÆþÎÏ¡£¤³¤ì¤Ç¸½ºß¤ÎPHP¤Î¥Ð¡¼¥¸¥ç¥ó¤¬³Îǧ¤Ç¤¤Þ¤¹¡£~ OS X 10.5Åù¤Ç¸½»þÅÀ¤ÇPHP¤Î¥Ð¡¼¥¸¥ç¥ó¤¬5.3°Ê¾å¤Ç¤¢¤ì¤Ð¡¢ÌµÍý¤ËºÇ¿·¥Ð¡¼¥¸¥ç¥ó¤Ë¤¹¤ëɬÍפϤ¢¤ê¤Þ¤»¤ó¡£ £±£°¡¥PHP5¤ò¥Ó¥ë¥É¤¹¤ë~ ¡¡£±£°−£±¡¥¤È¤ê¤¢¤¨¤ºÀµ¹¶Ë¡ 10.3·Ï¡§http://blogs.grf-design.com/archives/2006/01/install_php_5_o_1.html~ 10.4/5·Ï¡§http://d.hatena.ne.jp/boto/20090922/1253608666~ ¸µ¤ÎPHP¤Î¾å½ñ¤ÊýË¡¤Ê¤É¡§http://www.hot-linux.org/osx/?rec_no=124~ -¸µ¤ÎPHP¤Î¾å½ñ¤¤Ï;¤ê¤ª´«¤á¤·¤Þ¤»¤ó¡£Apple½ãÀµ¤Î¥»¥¥å¥ê¥Æ¥£¥¢¥Ã¥×¥Ç¡¼¥È¤ò³Ý¤±¤¿ºÝ¤Ë¡¢PHP¤¬¥»¥¥å¥ê¥Æ¥£¥¢¥Ã¥×¥Ç¡¼¥ÈƱº¤Î¸Å¤¤Ver¤Ç¾å½ñ¤¤µ¤ì¤Æ¤·¤Þ¤¦¾ì¹ç¤¬¤¢¤ê¤Þ¤¹¡£¡£¡£ -²¼µ¤Î¥³¥Þ¥ó¥É¤ò½çÈÖ¤ËÆþÎÏ¡Ê10.5¤ÇPHP5.3.2¤ò¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¾ì¹ç¡Ë $ tar xvfz php-5.3.2.tar.gz $ cd php-5.3.2 $ sudo ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-ldap=/usr --with-kerberos=/usr --enable-cli --with-zlib-dir=/usr --enable-exif --enable-ftp --enable-mbstring --enable-mbregex --enable-sockets $ make $ make install ## ºÇŬ¤Ê./configure¤ÎÀßÄ꤬¤Ê¤«¤Ê¤«¸«¤Ä¤«¤é¤Ê¤¤¤Î¤Ç¡¢¤ª´«¤á¤Î¤â¤Î¤¬¤¢¤ì¤ÐµÆþ¤ª´ê¤¤¤·¤Þ¤¹¡£ -Apache2¤òÊÌÅÓ¥¤¥ó¥¹¥È¡¼¥ë¤·¤¿¾ì¹ç¤Ë¤Ï --with-apxs2=/usr/local/apache2/bin/apxs Åù¡¢Apache2¤Î¥¤¥ó¥¹¥È¡¼¥ë¥Ñ¥¹¤Î»ØÄê¤ËÃí°Õ¡£ -./configure¥ª¥×¥·¥ç¥ó¤Ï./configure --help¤ò»²¹Í¤Ë¤ª¹¥¤ß¤ÇŬµ¹Êѹ¹¤·¤Þ¤·¤ç¤¦¡£ÆäË10.4°ÊÁ°¤Î·ÏÅý¤ÇApache2¤ò¿·µ¬Æ³Æþ¤·¤Æɸ½à¤ÎApache1.x¤ò¤ä¤á¤¿¾ì¹ç¤Ë¤Ï¡¢»²¹ÍURL¤Î/configure¥ª¥×¥·¥ç¥ó¤Ë½ñ¤«¤ì¤Æ¤¤¤ë¡Ö--with-apxs¡×¤ò¡Ö--with-apxs2¡×¤ËÊѹ¹¤¹¤ë»ö¤ò˺¤ì¤º¤Ë¡£ ¡¡£±£°−£²¡¥Entropy PHP¤ÎÀßÄê¤ò¸µ¤Ë¥Ó¥ë¥É¤·¤Æ¤ß¤ë¡£ -Entropy PHP¤ÎºÇ¿·ÈǥХ¤¥Ê¥ê¤Ï5.3.0¡£¤³¤ÎPHP´Ä¶¤òÆþ¤ì¤¿¾õÂÖ¤Çphpinfo¤òÇÁ¤¯¤È¡¢²¼µ¤ÎÍͤÊ./configure¤Ç¥Ó¥ë¥É¤µ¤ì¤Æ¤¤¤ë»ö¤¬Ê¬¤«¤ê¤Þ¤¹¡£ $ ./configure --disable-dependency-tracking --prefix=/usr/local/php5 --with-apxs2=/usr/sbin/apxs --with-config-file-scan-dir=/usr/local/php5/php.d --with-openssl=/usr --with-zlib=/usr --with-zlib-dir=/usr --with-gd --with-ldap --with-xmlrpc --enable-exif --enable-soap --enable-sqlite-utf8 --enable-wddx --enable-ftp --enable-sockets --with-bz2=/usr --enable-zip --enable-pcntl --enable-shmop --enable-sysvsem --enable-sysvshm --enable-sysvmsg --enable-memory-limit --enable-mbstring --enable-bcmath --enable-calendar --with-iodbc --with-mhash --with-mysql=mysqlnd --with-mysqli=mysqlnd --with-pdo-mysql=mysqlnd --with-iconv=/usr/local/php5 --with-mssql=shared,/usr/local/php5 --enable-memcache --with-imap=../imap-2007e --with-kerberos=/usr --with-imap-ssl=/usr --with-libxml-dir=shared,/usr/local/php5 --with-xsl=shared,/usr/local/php5 --with-gettext=/usr/local/php5 --with-curl=shared,/usr/local/php5 --with-png-dir=/usr/local/php5 --with-jpeg-dir=/usr/local/php5 --enable-gd-native-ttf --with-freetype-dir=/usr/local/php5 --with-pgsql=shared,/usr/local/php5 --with-pdo-pgsql=shared,/usr/local/php5 --with-mcrypt=shared,/usr/local/php5 -Entropy PHP¤Ï¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¤À¤±¤ÇºÇ¿·ÈǤÎP2¤¬¤È¤ê¤¢¤¨¤ºÆ°ºî¤·¤Þ¤¹¡£P2¤ÎÆ°ºî¤ËɬÍפʤ¤¹àÌܤ⤫¤Ê¤ê¤¢¤ê¤Þ¤¹¤¬¡¢¤³¤Î./configure¤ò»²¹Í¤Ë¥½¡¼¥¹¤Î¥Ó¥ë¥É¤ò¤¹¤ì¤Ð¡¢¤Ò¤È¤Þ¤º¤ÏºÇ¿·ÈÇPHP¤òÄɤ¤¤«¤±¤ë»ö¤¬½ÐÍè¤Þ¤¹¡£ -⤷¡¢¥Ç¥Õ¥©¥ë¥È¤Î´Ä¶¤À¤È´ðËÜŪ¤Ë./configure¤ämake¤Ç¥¨¥é¡¼¤¬½Ð¤Þ¤¯¤ë¤È»×¤¤¤Þ¤¹¡£~ http://blogs.yahoo.co.jp/please_switch_on/6382426.html~ ¸¶Â§¤È¤·¤Æ¤Ï¥¨¥é¡¼¤¬½Ð¤¿¤é¢¬¤ÎÍͤÊÂоÉÎÅË¡¤Ç°ì¤Ä°ì¤Ä²ò·è¤¹¤ë¤·¤«¤¢¤ê¤Þ¤»¤ó¡£ -°ìÈÖ¿¤¤¤Î¤¬gettext¤Î¥¨¥é¡¼¤«¤È»×¤¤¤Þ¤¹¡£~ http://www.bluemooninc.biz/~xoops/modules/pukiwiki/?PHP%A4%CE%C0%DF%C4%EA~ ¤³¤³¤ò»²¹Í¤Ëgettext¤ò¥¤¥ó¥¹¥È¡¼¥ë¤·¡¢./configure¤Î¡Ö--with-gettext=¡×¤Î¥Ñ¥¹¤òºÆ»ØÄê¡£~ ⤷¡¢ºÇ¿·¤ÎPHP5.3.2¤Ë¤Ïgettext¤ÎÁêÀÌäÂ꤬¤¢¤ê¡¢gettext¤¬Ver0.18°Ê¾å¤À¤Èmake¤Ç¼¡¤ÎÍͤʥ¨¥é¡¼¤¬½Ð¤Æ¤³¤±¤Þ¤¹¡£~ $ Undefined symbols: $ "_zif_setlocale", referenced from: $ _basic_functions in basic_functions.o http://www.kadoppe.net/archives/2010/06/macports-snow-leopard-php-5-2-13-error.html~ ¾Ü¤·¤¯¤Ï¢¬»²¾È¡£¤³¤ì¤òËɤ°°Ù¤Ë¡¢gettext¤Î¥½¡¼¥¹¤ÎVer¤Ï0.17°ÊÁ°¤ò»ØÄꤷ¤Æ¥Ó¥ë¥É¤¹¤ë»ö¡£ -¼¡¤Ë¥¨¥é¡¼¤¬½Ð¤ä¤¹¤¤¤Î¤Ïimap¡£~ ¥½¡¼¥¹¤ò¥Ó¥ë¥É¤·¤Æ¤â¤¤¤¤¤Î¤Ç¤¹¤¬¡¢P2¤Ë¤ÏɬÍפʤ¤¤Î¤Ç./configure¤«¤é¡Ö¡¡--with-imap=../imap-2007e¡¡--with-imap-ssl=/usr¡×¤òºï½ü¤·¤ÆÂн衣 -mcrypt¤Î¥Ó¥ë¥É¤â˺¤ì¤º¤Ë¡£~ http://www.momo-i.org/chapter9/php.html~ ¤³¤³¤ò»²¹Í¤Ëmhash¤Èmcrypt¤Èlibmcrypt¤ò¥¤¥ó¥¹¥È¡¼¥ë¤·¡¢¡Ö--with-mcrypt=shared,¡×¤Î¥Ñ¥¹¤òºÆ»ØÄê¡£~ -sql´Ø·¸¡¢ÆäËmssql¤äpgsql¤â¥¨¥é¡¼¤¬½Ð¤ä¤¹¤¤¤Ç¤¹¤¬¡¢¤Ö¤Ã¤Á¤ã¤±sqlite¤À¤±¤¢¤ì¤Ð¤¤¤¤¤Î¤Ç¡¢Î¾Êý¤È¤â./configure¤«¤é³°¤·¤Þ¤¹¡£mssql¤Ï¡Ö--with-mssql=shared,/usr/local/php5¡×¡¢pgsql¤Ï¡Ö--with-pgsql=shared,/usr/local/php5 --with-pdo-pgsql=shared,/usr/local/php5¡×¤òºï½ü¡£ -¤³¤Î°Ì¤Þ¤Ç¥Ó¥ë¥É¤ä½¤Àµ¤ò¹Ô¤¨¤Ðmake install¤Þ¤Ç̵»ö¤ËºÑ¤à¤È»×¤¤¤Þ¤¹¡£Àè¤Ë¡Ö/usr/local/php5¡×¥Õ¥©¥ë¥À¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤·¤Æ¤¢¤ëentropyPHP¤Î¾å½ñ¤¤òËɤ°°Ù¤Ë¡¢¥Õ¥©¥ë¥À̾¤ò¡Ö/usr/local/php53¡×¤ËÊѹ¹¤·¤Æ¤¤¤Þ¤¹¡£~ $ ./configure --disable-dependency-tracking --prefix=/usr/local/php53 --with-apxs2=/usr/sbin/apxs --with-config-file-scan-dir=/usr/local/php53/php.d --with-openssl=/usr --with-zlib=/usr--with-zlib-dir=/usr --with-gd --with-ldap --with-xmlrpc --enable-exif --enable-soap --enable-sqlite-utf8 --enable-wddx --enable-ftp --enable-sockets --with-bz2=/usr --enable-zip --enable-pcntl --enable-shmop --enable-sysvsem --enable-sysvshm --enable-sysvmsg --enable-memory-limit --enable-mbstring --enable-bcmath --enable-calendar --with-iodbc --with-mhash --with-mysql=mysqlnd --with-mysqli=mysqlnd --with-pdo-mysql=mysqlnd --with-iconv=/usr/local/php53 --enable-memcache --with-kerberos=/usr --with-libxml-dir=shared,/usr/local/php53 --with-xsl=shared,/usr/local/php53 --with-gettext=/usr/local --with-curl=shared,/usr/local/php53 --with-png-dir=/usr/local/php53 --with-jpeg-dir=/usr/local/php53 --enable-gd-native-ttf --with-freetype-dir=/usr/local/php53 --with-mcrypt=shared,/usr/local £±£±¡¥PHP.ini¤òÊÔ½¸¤¹¤ë¤Ë¤Ï~ ¡Ötest_first.php¡×¤òÍøÍѤ·¤Æ¡¢¸½ºß¤ÎPHP¤¬»È¤Ã¤Æ¤¤¤ëPHP.ini¤Î¾ðÊó¤òÃΤë»ö¤¬½ÐÍè¤Þ¤¹¡£¡ÖConfiguration File (php.ini) Path¡×¥»¥¯¥·¥ç¥ó¤Ë½ñ¤«¤ì¤Æ¤¤¤ë¥Õ¥©¥ë¥À¤ËPHP.ini¤¬Æþ¤Ã¤Æ¤¤¤Þ¤¹¡£~ ¤½¤¦¤·¤ÆÇÄ°®¤·¤¿¸å¤ËFinder¤Î¡Ö°ÜÆ°¢ª¥Õ¥©¥ë¥À¤Ø°ÜÆ°¡×¥á¥Ë¥å¡¼¤ò»È¤Ã¤Æ¡¢ÉԲĻë¥Õ¥©¥ë¥ÀÆâ¤ÎPHP.ini¤òõ¤·¤Þ¤¹¡£~ ¤¿¤À¤·¡¢¥Ç¥Õ¥©¥ë¥È¤Ç¡ÖLoaded Configuration File¡×¤¬¡Ö(none)¡×¤Ë¤Ê¤Ã¤Æ¤¤¤ë¾ì¹ç¤Ë¤Ï¡¢PHP.ini¤¬ºÇ½é¤«¤é¸ºß¤·¤Ê¤¤¤Þ¤ÞÆ°¤¤¤Æ¤¤¤ë¤Î¤Ç¡¢¥¤¥ó¥¹¥È¡¼¥ë¤·¤¿¥Õ¥©¥ë¥ÀÊդ꤫¤é¡Öphp.ini-dist¡×¤Ê¤ê¡Öphp.ini-recommended¡×¤Ê¤ê¤ò¥ê¥Í¡¼¥à¤·¤Æ°ÜÆ°¤·¤Þ¤·¤ç¤¦¡£ ɸ½à¤ÎPHP¤ÎPHP.ini¤òÊÔ½¸¤¹¤ë¾ì¹ç¤Ë¤Ï¡¢¡Ö/private/etc/¡×Æâ¤ÎPHP.ini¤òÊÔ½¸¡£~ ¿·¤¿¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤·¤¿Apache2¤Î¾ì¹ç¤Ë¤Ï¡Ö/usr/local/lib/¡×Æâ¤ÎPHP.ini¤òÊÔ½¸¤·¤Þ¤¹¡£~ OS X¤Î¥Ð¡¼¥¸¥ç¥ó¤Ë¤è¤Ã¤Æ¤ÏPHP.ini¤¬½ñ¤¹þ¤ß¥í¥Ã¥¯¤µ¤ì¤Æ¤¤¤¿¤ê¡¢¥æ¡¼¥¶¡¼¤Ë¥Õ¥©¥ë¥À¤ÎÊÔ½¸¸¢¸Â¤¬Ìµ¤«¤Ã¤¿¤ê¤¹¤ë¤Î¤Ç¡¢httpd.conf¤ÈƱÍͤËÂн褹¤ë»ö¡£ -´ðËÜŪ¤ÊÀßÄêÆâÍƤÏ[[WindowsÈÇApache¤Ècurl¤Î¥¤¥ó¥¹¥È¡¼¥ë¡Ê¡ü¤âOK¡ËApache2.xx.xx+PHP5(´Ê°×ÈÇ)]]¤ò»²¾È £±£²¡¥rep2¤ÎÀßÄêtips~ rep2¼«ÂΤϡÖtest_first.php¡×¤ÈƱÍͤËApache¤Îhtdocs¥Õ¥©¥ë¥À¤ËÅêÆþ¤·¤Æ¡¢¥Ñ¡¼¥ß¥Ã¥·¥ç¥ó¤òÊѹ¹¤·¤Æ¤ª¤±¤ÐOK¤Ê¤Î¤Ç¤¹¤¬¡¢UNIX·Ï¸ÇͤÎÀ©¸Â¤Î¤è¤¦¤Ê¥â¥Î¤¬¤¤¤¯¤Ä¤«¤¢¤ë¤Î¤Ç³Ð¤¨½ñ¤ÄøÅ٤ˡ£~ ¤Þ¤º¡¢¤½¤Î¤Þ¤Þ¤Î¾õÂ֤ǤÏDat¥Ç¡¼¥¿Êݸ¥Õ¥©¥ë¥À¤â¡¢IC2¥¥ã¥Ã¥·¥å¥Õ¥©¥ë¥À¤ârep2¥Õ¥©¥ë¥ÀÆâÉô¤Ë¤·¤«ÃÖ¤¯»ö¤¬½ÐÍè¤Þ¤»¤ó¡£¤É¤¦¤·¤Æ¤âNTFS¤Î³°ÉôHDD¤äNASÅù¤Ë¥Ç¡¼¥¿¥Õ¥©¥ë¥À¤òÃÖ¤¤¿¤¤¾ì¹ç¤Ë¤Ï¡¢¤Á¤ç¤Ã¤È¤·¤¿¥³¥Ä¤òÃΤäƤª¤¯É¬Íפ¬¤¢¤ê¤Þ¤¹¡£~ -³°ÉôHDDÅù¤Î¥Ñ¥¹~ Windows¤Î¾ì¹ç¤Ë¤Ï¡Öconf_admin.inc.php¡×¤Ê¤É¤Îµ½Ò¤Ï¡ÖE:\¡×¤Ê¤É¡¢¥É¥é¥¤¥ÖÈÖ¹æ¤Çµ½Ò¤¹¤ì¤Ð²³¤Ê¤Î¤Ç¤¹¤¬¡¢OS X¤Î¾ì¹ç¤Ë¤Ï¡Ö/volumes¡×¤Ç»Ï¤Þ¤ë¥Õ¥©¥ë¥À¤Î¥Ñ¥¹¤òµ½Ò¤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£~ ¡Ö/volumes¡×¤ÏÉԲĻë¥Õ¥©¥ë¥À°·¤¤¤Ê¤Î¤Ç¡¢ÌÜŪ¤Î³°Éô¥É¥é¥¤¥Ö¤Î¥Õ¥©¥ë¥À¤ÏFinder¤Î¥Õ¥©¥ë¥À°ÜÆ°µ¡Ç½¤Ç¡Ö/volumes¡×¥Õ¥©¥ë¥À°Ê²¼¤òľÀÜÇÁ¤¤¤Æ³Î¤«¤á¤Þ¤·¤ç¤¦¡£¤â¤Ã¤Èñ½ã¤Ë¥¿¡¼¥ß¥Ê¥ë¤ËÌÜŪ¤Î³°Éô¥É¥é¥¤¥Ö¤Î¥Õ¥©¥ë¥À¤ò¥É¥é¥Ã¥°¡õ¥É¥í¥Ã¥×¤·¤Æbash¤µ¤ó¤Ë̵ÍýÌðÍý¥Ñ¥¹¤òÌõ¤·¤ÆÌ㤦ÊýË¡¤â¤¢¤ê¤Þ¤¹¤±¤É¤Í¡£~ -htdocs¤Î¥¨¥¤¥ê¥¢¥¹ÀßÄê~ Dat¥Ç¡¼¥¿Êݸ¥Õ¥©¥ë¥À¤Ï¾åµ¤Î¥Õ¥ë¥Ñ¥¹Ê¸Ë¡¤À¤±ÃΤäƤª¤±¤Ð²³¤Ê¤Î¤Ç¤¹¤¬¡¢IC2¤ò»È¤¦¾ì¹ç¤Ë¤Ï¤³¤ì¤À¤±¤Ç¤Ï¥À¥á¤Ç¤¹¡£~ Windows¤ÎÍͤËhtdocs¤Î³°¤Î¥Õ¥©¥ë¥À¤Ë¥Û¥¤¥Û¥¤´Êñ¤Ë¥¢¥¯¥»¥¹¤·¤Æ¤¯¤ì¤Ê¤¤¡Ê¤½¤ì¼«ÂΤÏÎɤ¤»ö¤À¤±¤É¡Ë¤Î¤Ç¡¢¡Öconf_ic2.inc.php¡×¤Ë¥Õ¥ë¥Ñ¥¹¤ÇIC2¥¥ã¥Ã¥·¥å¥Õ¥©¥ë¥À¤òµ½Ò¤·¤¿°Ì¤Ç¤Ï¡¢¤Û¤Ü100%DBºîÀ®¤Ç¥³¥±¤ëȦ¡£¡£¡£~ Windows¦¤Îrep2¤ÇIC2¥¥ã¥Ã¥·¥å¥Õ¥©¥ë¥À¤ò°ìöºîÀ®¤·¤Æ¤ª¤¤¤Æ¡¢¤½¤Î¥Õ¥©¥ë¥À¤ò¥³¥Ô¡¼¤·¤ÆÍøÍѤ¹¤ë¤È¤¤¤¦ÊýË¡¤â¤¢¤ë¤Î¤Ç¤¹¤¬¡¢htdocs¤Î³°¤Ë¥Õ¥©¥ë¥À¤òÃÖ¤¤¤¿¾ì¹ç¤Ë¤Ïdb¤ÎºîÀ®¡¦¹¹¿·¤ä²èÁü¤Î¥¥ã¥Ã¥·¥å¤Ï¹Ô¤ï¤ì¤Æ¤¤¤Æ¤â¡¢¥Ö¥é¥¦¥¶¤«¤éhtdocs¤Î³°¤Î¥Õ¥©¥ë¥À¤Ë¥¢¥¯¥»¥¹¤Ç¤¤Ê¤¤¤Î¤Ç²èÁü¤Îɽ¼¨¤À¤±¤¬¤¤¤Ä¤Þ¤Ç·Ð¤Ã¤Æ¤â¹Ô¤¨¤Ê¤¤¤È¤¤¤¦¥Þ¥Ì¥±¤Ê¾õÂ֤ˤʤäƤ·¤Þ¤¤¤Þ¤¹¡£¡£¡£~ Î㤨¤Ð¡¢IC2¤Ë¤è¤Ã¤Æ¡Ö/Volumes/xxx/rep2/DATA/cache/6464/00001/xxx.jpg¡×¤È¤·¤ÆºîÀ®¤µ¤ì¤¿¥¥ã¥Ã¥·¥å²èÁü¤Ç¡¢Finder¤«¤é¤Î¥É¥é¥Ã¥°¡õ¥É¥í¥Ã¥×¤Ç¥Ö¥é¥¦¥¶¾å¤Ç¤Ï¡Öfile://localhost/Volumes/xxx/rep2/DATA/cache/6464/00001/xxx.jpg¡×¤È¤·¤Æɽ¼¨¤µ¤ì¤ë¾ì¹ç¡¢¥¨¥¤¥ê¥¢¥¹¤ò²¿¤âÀßÄꤷ¤Æ¤¤¤Ê¤¤¤È¡ÖImageCache2::Viewer¡×¤Ç¥¥ã¥Ã¥·¥å²èÁü¤òÇÁ¤¤¤¿»þ¤Ë²èÁü¤¬Á´¤Æ¶õÏȤȤʤäƤ·¤Þ¤¤¡¢²èÁü¤Î¤¢¤ë¾ì½ê¤ò¥¯¥ê¥Ã¥¯¤·¤Æ¤âhttpd¤Ïhtdocs°Ê³°¤Î¡Öhttp://127.0.0.1/Volumes¡×°Ê²¼¤Î¥Õ¥¡¥¤¥ë¤Ë¤Ï¥¢¥¯¥»¥¹¤Ç¤¤Ê¤¤¤Î¤Ç404¤Ë¤Ê¤Ã¤Æ¤·¤Þ¤¦¤È¤¤¤Ã¤¿¶ñ¹ç¤Ë¡£~ ¤³¤ì¤òËɤ°¤Ë¤Ïhttpd.conf¤Ëhtdocs¤Î¥¨¥¤¥ê¥¢¥¹¤òÀßÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£~ »²¹ÍURL¡§http://www.adminweb.jp/apache/docroot/index3.html~ Îã¤È¤·¤Æ¡¢¡Ö/Volumes/xxx/rep2/DATA/cache¡×¤È¤¤¤¦¾ì½ê¤ËIC2¥¥ã¥Ã¥·¥å¥Õ¥©¥ë¥À¤òÃÖ¤¤¤Æ¡¢¡Öhttp://127.0.0.1/¡×¤«¤é¥¢¥¯¥»¥¹¤µ¤»¤¿¤¤¾ì¹ç¤Ë¤Ïhttpd.conf¤Î¡Ö<IfModule alias_module>¡×¥»¥¯¥·¥ç¥ó¤Ë²¼µ¤Î¤è¤¦¤Ëµ½Ò¤·¤Þ¤¹¡£~ Alias /Volumes/xxx/rep2/DATA/cache "/Volumes/xxx/rep2/DATA/cache" <Directory "/Volumes/xxx/rep2/DATA/cache"> Allow from all </Directory> µ½Ò¤·¤¿¸å¤Ëapachectl¤ÇApache¤òºÆµ¯Æ°¸å¡¢ImageCache2::Viewer¤òºÆÅÙ³«¤¤¤¿»þ¤Ë²èÁü¤Î¶õÏȤÀ¤Ã¤¿¾ì½ê¤Ë¡¢¥µ¥à¥Í¥¤¥ë²èÁü¤¬Àµ¾ï¤Ëɽ¼¨¤µ¤ì¤ì¤ÐÀ®¸ù¤Ç¤¹¡£
¡Ö¥Ú¡¼¥¸¤Î¹¹¿·¡×»þ¤Ï¡¢¡Ö¥Î¡¼¥¹¥Ñ¥à¡×¤ÈÆþÎϤ·¤Æ²¼¤µ¤¤¢ª
¥¿¥¤¥à¥¹¥¿¥ó¥×¤òÊѹ¹¤·¤Ê¤¤
PPCÈÇMacOS X¤Ç¤Î³Ð¤¨½ñ¤(ºÇ¿·¤ÎPHP5¡¢Apache2¤ÎƳÆþetc¡Ë IntelMac¤ÎÅоì°ÊÍè¡¢PPCÅëºÜMac¤Ç¤ÎPHP´Ä¶¤Ï¸·¤·¤µ¤òÁý¤·¤Æ¤¤¤ë´¶¤¬¤¢¤ê¤Þ¤¹¡£~ Windows¤Ç¤ÏPHP¤âApache¤â¤¬¤Ã¤Ä¤ê¤È¥Ð¥¤¥Ê¥ê¤¬Â·¤Ã¤Æ¤¤¤ë¤Î¤Ç¡¢Pentium¤Êµì¼°µ¡¤ËWindows2000¤È¤¤¤¦¹½À®¤Ç¤â³ä¹ç¤É¤¦¤Ë¤«¤Ê¤Ã¤Æ¤·¤Þ¤¦¤â¤Î¤Ç¤¹¤¬¡¢MacOS X¤Î¾ì¹ç¤Ë¤Ï¥Ð¥¤¥Ê¥ê¤ÎÆþ¼ê·ÐÏ©¤¬¤¢¤ëÄøÅÙ¸ÂÄꤵ¤ì¤Æ¤·¤Þ¤¦»ö¤¬ÆñÅÀ¤Ç¤¹¡£ -MacPorts:http://www.macports.org/~ ¤Ê¤ê -Entropy PHP:http://www.entropy.ch/software/macosx/php/~ ¤Ê¤ê -DarwinPorts:http://darwinports.com/~ ¤Ê¤ê¤ÇɬÍפʥС¼¥¸¥ç¥ó¤Î¥Ð¥¤¥Ê¥ê¤¬¼ê¤ËÆþ¤ì¤Ð¸À¤¦»ö¤Ï¤Ê¤¤¤Î¤Ç¤¹¤¬¡¢¥Ð¥¤¥Ê¥ê¤¬¤¢¤Ã¤Æ¤â¸Å¤¤OS X¤äPPC¤ËÂбþ¤·¤Æ¤Ê¤«¤Ã¤¿¤ê¡¢¤½¤â¤½¤âºÇ¿·¥Ð¡¼¥¸¥ç¥ó¤Î¥Ð¥¤¥Ê¥ê¤¬Ìµ¤«¤Ã¤¿¤ê¤Ê¤É¤·¤Æ¡¢³ÈÄ¥¥Ñ¥Ã¥¯»ÈÍÑ»þ¤Ë¡ÖPHP¤¬¸Å¤¤¤è¡×¤È¼¸¤é¤ì¤Æ¤·¤Þ¤¦»ö¤¬PPCÅëºÜMac»È¤¤¤Î¿Í¤Ï°ìÅٰ̤Ϥ¢¤ë¤È»×¤¤¤Þ¤¹¡£ '''¤½¤¦¤¤¤¦¾ì¹ç¤ÏºÇ½ªÅª¤Ë¤Ï¥½¡¼¥¹¥³¡¼¥É¤«¤é¼«Á°¤Ç¥Ó¥ë¥É¤¹¤ë¤È¤¤¤¦¼êÃʤòºÎ¤ë¤·¤«¤¢¤ê¤Þ¤»¤ó¡£''' £±¡¥É¬Íפʥâ¥Î -Xcode tools~ Developer Tools¤È¤â¤¤¤¤¤Þ¤¹¤Í¡£¤Þ¤º¤³¤ì¤¬Ìµ¤±¤ì¤ÐÏäˤʤê¤Þ¤»¤ó¡£MacÉÕ°¤Î¥¤¥ó¥¹¥È¡¼¥ëDVD¤Ê¤ê¡¢OS XÉÕ°¤ÎXcode tools¤ÎDVD¤«¤é¥¤¥ó¥¹¥È¡¼¥ë¤·¤Æ²¼¤µ¤¤¡£ -¥°¡¼¥°¥ëÀèÀ¸:http://www.google.co.jp/~ Î㤨¤Ð¡ÖApache2 10.3¡×¤È¤«¡¢¡ÖPHP5.3 10.5 make¡×Åù¤Î¸ì¶ç¤òÁȤ߹ç¤ï¤»¤Æ¸¡º÷¤¹¤ì¤Ð¡¢É¬ÍפʥС¼¥¸¥ç¥ó¤òÌÜŪ¤ÎOS X¤Ëmake install¤¹¤ëÊýË¡¤¬½ñ¤¤¤Æ¤¢¤ë¥Ú¡¼¥¸¤¬É¬¤º½Ð¤ÆÍè¤Þ¤¹¤è¡£ -¤Û¤ó¤Î¤Á¤ç¤Ã¤È¤Î¥¿¡¼¥ß¥Ê¥ë¤ÎÃμ±~ ¥³¥Þ¥ó¥É¤¬¾¯¡¹ÆþÎϤǤ¤ì¤Ð½½Ê¬¤Ç¤¹¡£ºÇ°¤Ç¤â¡¢cd¤Èsudo¤µ¤¨Ê¬¤«¤ì¤Ð²³¡£ -ž¤ó¤Ç¤âµã¤«¤Ê¤¤Í¦µ¤ ³Ð¸ç´°Î»¤·¤¿¤é¼¡¤Ø¿Ê¤ß¤Þ¤·¤ç¤¦¡£¡£¡£ £²¡¥´ðËÜŪ¤Ê»²¹Íʸ¸¥¤Ë¤Ò¤È¤Þ¤ºÌܤòÄ̤¹ -apache2:http://httpd.apache.org/docs/2.2/install.html -PHP5:http://www.hot-linux.org/osx/?rec_no=124 ¤³¤Î»þÅÀ¤Ç¥Á¥ó¥×¥ó¥«¥ó¥×¥ó¤Ê¤è¤¦¤Ç¤¢¤ì¤Ð¡¢·é¤¯Äü¤á¤Þ¤·¤ç¤¦¡£¡£¡£ £³¡¥´ðËÜŪ¤Êή¤ì -¥½¡¼¥¹¥³¡¼¥É¤òÆþ¼ê¤¹¤ë¡£tar.gz°µ½Ì¤Î¤â¤Î¤òÁª¤Ö»ö¡£ -¥À¥¦¥½¤·¤¿tar.gz¤ò¥Û¡¼¥à¥Õ¥©¥ë¥À¤ËÃÖ¤¯¡£ -¥¿¡¼¥ß¥Ê¥ë¤òµ¯Æ° -tar.gz¤ò¡Ötar xvfz ¥Õ¥¡¥¤¥ë.tar.gz¡×¤Ç²òÅà¡£ -²òÅष¤Æ½ÐÍ褿¥Õ¥©¥ë¥À¤Ë¡Öcd ¥Õ¥¡¥¤¥ë¡×¤Ç°ÜÆ°¡£ -¡Ö./configure¡×¤¹¤ë¡£¿§¡¹¤´¤Á¤ã¤´¤Á¤ãÆ°¤¯¤Î¤Ç»Ã¤¯ÊüÃÖ¡£ -¡Ömake¡×¤¹¤ë¡£¿§¡¹¤´¤Á¤ã¤´¤Á¤ãÆ°¤¯¤Î¤Ç(ry -¡Ömake install¡×¤¹¤ë¡£¿§(ry £´¡¥¼ÂºÝ¤Ë¥½¡¼¥¹¥³¡¼¥É¤òÍÑ°Õ -Apache2:http://httpd.apache.org/download.cgi httpd-2.2.15.tar.gz -PHP5:http://www.php.net/downloads.php php-5.3.2.tar.gz -rep2:http://page2.skr.jp/rep2/ £µ¡¥Apache2¤ò¥Ó¥ë¥É¤¹¤ë¡Ä¤½¤ÎÁ°¤Ë¡£~ ¤Þ¤º½é¤á¤Ë¡¢¸½ºß¤ÎOS X¤ÇÆ°¤¤¤Æ¤¤¤ëApache¤Î¥Ð¡¼¥¸¥ç¥ó¤ò³Îǧ¤·¤Þ¤·¤ç¤¦¡£~ ¥¿¡¼¥ß¥Ê¥ë¤ò³«¤¤¤Æ httpd -v ¤ÈÆþÎÏ¡£¤³¤ì¤Ç¸½ºß¤ÎApache¤Î¥Ð¡¼¥¸¥ç¥ó¤¬³Îǧ¤Ç¤¤Þ¤¹¡£OS X 10.5Åù¤Ç¸½»þÅÀ¤ÇApache¤Î¥Ð¡¼¥¸¥ç¥ó¤¬2°Ê¾å¤Ç¤¢¤ì¤Ð¡¢ÌµÍý¤ËºÇ¿·¥Ð¡¼¥¸¥ç¥ó¤Ë¤¹¤ëɬÍפϤ¢¤ê¤Þ¤»¤ó¡£¤È¤¤¤¦¤«¡¢ºÇ°1.3¤Î¤Þ¤Þ¤Ç¤â¤É¤¦¤Ë¤«¤Ï¤Ê¤ë¡Ê¤Ï¤º¡Ë¤ó¤Ç10.2¤È¤«¤Î¿Í¤Ï̵Íý¤Ë¤ä¤é¤Ê¤¯¤Æ¤â¤¤¤¤¡£ £¶¡¥Apache2¤ò¥Ó¥ë¥É¤¹¤ë~ 10.3·Ï¡§http://sosai.blogspot.com/2008/02/apache228mac-os-x.html~ 10.3·Ï¡§http://mt.mizba.net/archives/000667.php~ 10.4·Ï¡§http://www.proton.jp/main/macosx/macosx10.4.html#apache2.2install~ 10.5·Ï¡§http://www.hot-linux.org/osx/?rec_no=140~ ¸µ¤ÎApache1.x¤È¤Î´ØÏ¢¡§http://ar.aichi-u.ac.jp/blog/apache.html -ɸ½à¤ÎApache¤ò¡Ösudo apachectl stop¡×¤ÇÄä»ß¤¹¤ë¡£ -²¼µ¤Î¥³¥Þ¥ó¥É¤ò½çÈÖ¤ËÆþÎÏ¡Ê10.5¤ÇApache2.2.15¤ò¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¾ì¹ç¡Ë $ tar xvfz httpd-2.2.15.tar.gz $ cd httpd-2.2.15 $ ./configure --enable-modules="so ssl dav" --enable-modules=rewrite --enable-suexec --enable-dav $ make $ make install £·¡¥Apache¤Î¥Ñ¥¹¤ÎÀßÄê~ ¥¤¥ó¥¹¥È¡¼¥ë¤·¤¿Apache2¤Ïapachectl¥³¥Þ¥ó¥É¤Çµ¯Æ°¤äÄä»ß¤¬½ÐÍè¤Þ¤¹¡£¤·¤«¤·¡Ä¤³¤Î¤Þ¤Þ¤Î¾õÂ֤Ǥϥ¿¡¼¥ß¥Ê¥ë¤Çapachectl¥³¥Þ¥ó¥É¤ò¤¿¤À¼Â¹Ô¤·¤Æ¤â¡Ö/usr/local/sbin¡×¤Ë¤¢¤ë¸µ¤ÎApache¤¬Æ°¤¯¤À¤±¤Ç¿·¤¿¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤·¤¿Apache2¤ÏÆ°¤«¤»¤Þ¤»¤ó¡£~ ¿·¤¿¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤·¤¿Apache2¤òÆ°¤«¤¹¤Ë¤Ï¡¢¥¤¥ó¥¹¥È¡¼¥ë¥Õ¥©¥ë¥À¤Ë¡Öcd /usr/local/apache2/bin/¡×¤Ç°ÜÆ°¤¹¤ë¤«¡¢¡Ö/usr/local/apache2/bin/apachectl start¡×¤Ê¤É¤Î¥Õ¥ë¥Ñ¥¹ÆþÎϤÇapachectl¤òÆ°¤«¤·¤Æ¤ä¤é¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¡£~ ¤¤¤Á¤¤¤Á¤³¤ó¤Ê»ö¤ò¤ä¤Ã¤Æ¤¤¤Æ¤ÏÆü¤¬Êë¤ì¤Æ¤·¤Þ¤¦¤Î¤Ç¡¢¤µ¤Ã¤¯¤ê¥Ñ¥¹¤òÄ̤·¤Á¤ã¤¤¤Þ¤·¤ç¤¦¡£¡£¡£~ ¥¤¥ó¥¹¥È¡¼¥ë¥Õ¥©¥ë¥À¤Ø¤Î¥Ñ¥¹¤òÄ̤¹¤Ë¤Ï£²¤Ä¤ÎÊýË¡¤¬¤¢¤ê¤Þ¤¹¡£ -¥Û¡¼¥à¥Õ¥©¥ë¥À¤Î.bash_profile¤Ë¥¤¥ó¥¹¥È¡¼¥ë¥Õ¥©¥ë¥À¤Î/bin¥Õ¥©¥ë¥À¤òÄɵ¤¹¤ë¡£¼ç¤Ë10.4°ÊÁ°¤ÎOS X¤Ç¼çή¤Ç¤¢¤Ã¤¿ÊýË¡¤Ç¤¹¡£http://cisco250.hp.infoseek.co.jp/Linux/path/ -path_helper¤ò»È¤Ã¤Æ¥Ñ¥¹¤òÄêµÁ¤¹¤ë¡£10.5°Ê¹ß¤ÎOS X¤Î¾ì¹ç¤Ï¤³¤Á¤é¤Ç¡£http://d.hatena.ne.jp/koseki2/20081201/macportPath ¥Ñ¥¹ÄêµÁ¤¬½ª¤ï¤Ã¤¿¤é¡¢¡Öecho $PATH¡×¥³¥Þ¥ó¥É¤Ç¥Ñ¥¹¤¬Ä̤äƤ뤫¤É¤¦¤«³Îǧ¤·¤Þ¤·¤ç¤¦¡£ £¸¡¥httpd.conf¤òÊÔ½¸¤¹¤ë¤Ë¤Ï~ Finder¤Î¡Ö°ÜÆ°¢ª¥Õ¥©¥ë¥À¤Ø°ÜÆ°¡×¥á¥Ë¥å¡¼¤ò»È¤Ã¤Æ¡¢ÉԲĻë¥Õ¥©¥ë¥ÀÆâ¤Îhttpd.conf¤òõ¤·¤Þ¤¹¡£~ ɸ½à¤ÎApache/Apache2¤Îhttpd.conf¤òÊÔ½¸¤¹¤ë¾ì¹ç¤Ë¤Ï¡¢¡Ö/private/etc¡×Æâ¤Îhttpd.conf¤òÊÔ½¸¡£~ ¿·¤¿¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤·¤¿Apache2¤Î¾ì¹ç¤Ë¤Ï¡Ö/usr/local/apache2/conf/¡×Æâ¤Îhttpd.conf¤òÊÔ½¸¤·¤Þ¤¹¡£~ OS X¤Î¥Ð¡¼¥¸¥ç¥ó¤Ë¤è¤Ã¤Æ¤Ïhttpd.conf¤¬½ñ¤¹þ¤ß¥í¥Ã¥¯¤µ¤ì¤Æ¤¤¤¿¤ê¡¢¥æ¡¼¥¶¡¼¤Ë¥Õ¥©¥ë¥À¤ÎÊÔ½¸¸¢¸Â¤¬Ìµ¤«¤Ã¤¿¤ê¤¹¤ë¤Î¤Ç¡¢¡Ê10.5¤Î¾ì¹ç¤Ï¡Ë°ìö¥Ç¥¹¥¯¥È¥Ã¥×¤Ë¥É¥é¥Ã¥°¡õ¥É¥í¥Ã¥×¤Çhttpd.conf¤ò½Ð¤·¤Æ¤·¤Þ¤¤¡¢¥Æ¥¥¹¥È¥¨¥Ç¥£¥Ã¥È¤Ê¤É¤ÇÊÔ½¸¤·¤Æ¤«¤éºÆ¤Ó¸µ¤Î¾ì½ê¤ØÌ᤹¤Î¤¬´Êñ¤Ç¤¹¡£ -¤È¤ê¤¢¤¨¤º²¼µ¤ÎÆâÍƤòµÆþ¡£~ LoadModule php5_module libexec/httpd/libphp5.so AddModule mod_php5.c AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps -ɬÍפ˱þ¤¸¤Æ¡ÖDocumentRoot¡×¥»¥¯¥·¥ç¥ó¤Çhtdocs¤Î¥Ç¥£¥ì¥¯¥È¥ê¤òÊѹ¹¤¹¤ë¡£10.5¤Î¾ì¹ç¡¢¸µ¤ÎApache¤Îɸ½àDocumentRoot¤Ï¡Ö/Library/WebServer/Documents/¡×¤Ê¤Î¤Ç¡¢¿·µ¬¤ËApache2¤òÆþ¤ì¤¿¾ì¹ç¤â¸µ¤Îɸ½àDocumentRoot¤Ë¹ç¤ï¤»¤Æ¤ª¤¯¤Î¤¬ÌµÆñ¡£ £¹¡¥PHP5¤ò¥Ó¥ë¥É¤¹¤ë¡Ä¤½¤ÎÁ°¤Ë¡£~ Apache¤Ïrep2¤ÎÆ°ºî¤Ë¤È¤Ã¤Æ¤Ï³ä¤È¤É¤¦¤Ç¤â¤¤¤¤¤Î¤Ç¡¢¤É¤Á¤é¤«¤È¤¤¤¨¤Ð¤³¤Á¤é¤ÎÊý¤¬½ÅÍפǤ¹¡£ºÇ¿·¤Î³ÈÄ¥¥Ñ¥Ã¥¯¤ÏPHP5.3.x°Ê¾å¤òÍ׵ᤷ¤Æ¤¯¤ë¤Î¤Ç¡¢¥¤¥ó¥¹¥È¡¼¥ë¥Ð¥¤¥Ê¥ê¤¬Ìµ¤¤´Ä¶¤Î¾ì¹ç¤Ë¤ÏºÇ¿·¤ÎPHP¤òƳÆþ¤¹¤ë¤Ë¤Ï¥½¡¼¥¹¤«¤é¤Î¥Ó¥ë¥É¤ÏÈò¤±¤Æ¤ÏÄ̤ì¤Þ¤»¤ó¡£~ ¤¬¡¢¤Þ¤º½é¤á¤Ë¸½ºß¤ÎOS X¤ÇÆ°¤¤¤Æ¤¤¤ëPHP¤Î¥Ð¡¼¥¸¥ç¥ó¤ò³Îǧ¤·¤Þ¤·¤ç¤¦¡£~ ¥Æ¥¥¹¥È¥¨¥Ç¥£¥Ã¥È¤òµ¯Æ°¤·¤Æ¿·µ¬¥Õ¥¡¥¤¥ë¤Ë <?php phpinfo(); ?> ¤³¤Î¤è¤¦¤Ê°ìʸ¤ò½ñ¤¹þ¤ó¤ÇÊݸ¤·¤Þ¤¹¡£Êݸ¤·¤¿¥Æ¥¥¹¥È¥Õ¥¡¥¤¥ë¤Ï¡Ötest_first.php¡×¤È¤Ç¤â¥ê¥Í¡¼¥à¤·¤Þ¤·¤ç¤¦¡£~ ¤³¤Î¡Ötest_first.php¡×¤òApache¤Îhtdocs¥Õ¥©¥ë¥À¤ËÅêÆþ¤·¤Æ¡¢¥Ö¥é¥¦¥¶¤ÎURL¤Ë¡Öhttp://127.0.0.1/test_first.php¡×¤ÈÆþÎÏ¡£¤³¤ì¤Ç¸½ºß¤ÎPHP¤Î¥Ð¡¼¥¸¥ç¥ó¤¬³Îǧ¤Ç¤¤Þ¤¹¡£~ OS X 10.5Åù¤Ç¸½»þÅÀ¤ÇPHP¤Î¥Ð¡¼¥¸¥ç¥ó¤¬5.3°Ê¾å¤Ç¤¢¤ì¤Ð¡¢ÌµÍý¤ËºÇ¿·¥Ð¡¼¥¸¥ç¥ó¤Ë¤¹¤ëɬÍפϤ¢¤ê¤Þ¤»¤ó¡£ £±£°¡¥PHP5¤ò¥Ó¥ë¥É¤¹¤ë~ ¡¡£±£°−£±¡¥¤È¤ê¤¢¤¨¤ºÀµ¹¶Ë¡ 10.3·Ï¡§http://blogs.grf-design.com/archives/2006/01/install_php_5_o_1.html~ 10.4/5·Ï¡§http://d.hatena.ne.jp/boto/20090922/1253608666~ ¸µ¤ÎPHP¤Î¾å½ñ¤ÊýË¡¤Ê¤É¡§http://www.hot-linux.org/osx/?rec_no=124~ -¸µ¤ÎPHP¤Î¾å½ñ¤¤Ï;¤ê¤ª´«¤á¤·¤Þ¤»¤ó¡£Apple½ãÀµ¤Î¥»¥¥å¥ê¥Æ¥£¥¢¥Ã¥×¥Ç¡¼¥È¤ò³Ý¤±¤¿ºÝ¤Ë¡¢PHP¤¬¥»¥¥å¥ê¥Æ¥£¥¢¥Ã¥×¥Ç¡¼¥ÈƱº¤Î¸Å¤¤Ver¤Ç¾å½ñ¤¤µ¤ì¤Æ¤·¤Þ¤¦¾ì¹ç¤¬¤¢¤ê¤Þ¤¹¡£¡£¡£ -²¼µ¤Î¥³¥Þ¥ó¥É¤ò½çÈÖ¤ËÆþÎÏ¡Ê10.5¤ÇPHP5.3.2¤ò¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¾ì¹ç¡Ë $ tar xvfz php-5.3.2.tar.gz $ cd php-5.3.2 $ sudo ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-ldap=/usr --with-kerberos=/usr --enable-cli --with-zlib-dir=/usr --enable-exif --enable-ftp --enable-mbstring --enable-mbregex --enable-sockets $ make $ make install ## ºÇŬ¤Ê./configure¤ÎÀßÄ꤬¤Ê¤«¤Ê¤«¸«¤Ä¤«¤é¤Ê¤¤¤Î¤Ç¡¢¤ª´«¤á¤Î¤â¤Î¤¬¤¢¤ì¤ÐµÆþ¤ª´ê¤¤¤·¤Þ¤¹¡£ -Apache2¤òÊÌÅÓ¥¤¥ó¥¹¥È¡¼¥ë¤·¤¿¾ì¹ç¤Ë¤Ï --with-apxs2=/usr/local/apache2/bin/apxs Åù¡¢Apache2¤Î¥¤¥ó¥¹¥È¡¼¥ë¥Ñ¥¹¤Î»ØÄê¤ËÃí°Õ¡£ -./configure¥ª¥×¥·¥ç¥ó¤Ï./configure --help¤ò»²¹Í¤Ë¤ª¹¥¤ß¤ÇŬµ¹Êѹ¹¤·¤Þ¤·¤ç¤¦¡£ÆäË10.4°ÊÁ°¤Î·ÏÅý¤ÇApache2¤ò¿·µ¬Æ³Æþ¤·¤Æɸ½à¤ÎApache1.x¤ò¤ä¤á¤¿¾ì¹ç¤Ë¤Ï¡¢»²¹ÍURL¤Î/configure¥ª¥×¥·¥ç¥ó¤Ë½ñ¤«¤ì¤Æ¤¤¤ë¡Ö--with-apxs¡×¤ò¡Ö--with-apxs2¡×¤ËÊѹ¹¤¹¤ë»ö¤ò˺¤ì¤º¤Ë¡£ ¡¡£±£°−£²¡¥Entropy PHP¤ÎÀßÄê¤ò¸µ¤Ë¥Ó¥ë¥É¤·¤Æ¤ß¤ë¡£ -Entropy PHP¤ÎºÇ¿·ÈǥХ¤¥Ê¥ê¤Ï5.3.0¡£¤³¤ÎPHP´Ä¶¤òÆþ¤ì¤¿¾õÂÖ¤Çphpinfo¤òÇÁ¤¯¤È¡¢²¼µ¤ÎÍͤÊ./configure¤Ç¥Ó¥ë¥É¤µ¤ì¤Æ¤¤¤ë»ö¤¬Ê¬¤«¤ê¤Þ¤¹¡£ $ ./configure --disable-dependency-tracking --prefix=/usr/local/php5 --with-apxs2=/usr/sbin/apxs --with-config-file-scan-dir=/usr/local/php5/php.d --with-openssl=/usr --with-zlib=/usr --with-zlib-dir=/usr --with-gd --with-ldap --with-xmlrpc --enable-exif --enable-soap --enable-sqlite-utf8 --enable-wddx --enable-ftp --enable-sockets --with-bz2=/usr --enable-zip --enable-pcntl --enable-shmop --enable-sysvsem --enable-sysvshm --enable-sysvmsg --enable-memory-limit --enable-mbstring --enable-bcmath --enable-calendar --with-iodbc --with-mhash --with-mysql=mysqlnd --with-mysqli=mysqlnd --with-pdo-mysql=mysqlnd --with-iconv=/usr/local/php5 --with-mssql=shared,/usr/local/php5 --enable-memcache --with-imap=../imap-2007e --with-kerberos=/usr --with-imap-ssl=/usr --with-libxml-dir=shared,/usr/local/php5 --with-xsl=shared,/usr/local/php5 --with-gettext=/usr/local/php5 --with-curl=shared,/usr/local/php5 --with-png-dir=/usr/local/php5 --with-jpeg-dir=/usr/local/php5 --enable-gd-native-ttf --with-freetype-dir=/usr/local/php5 --with-pgsql=shared,/usr/local/php5 --with-pdo-pgsql=shared,/usr/local/php5 --with-mcrypt=shared,/usr/local/php5 -Entropy PHP¤Ï¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¤À¤±¤ÇºÇ¿·ÈǤÎP2¤¬¤È¤ê¤¢¤¨¤ºÆ°ºî¤·¤Þ¤¹¡£P2¤ÎÆ°ºî¤ËɬÍפʤ¤¹àÌܤ⤫¤Ê¤ê¤¢¤ê¤Þ¤¹¤¬¡¢¤³¤Î./configure¤ò»²¹Í¤Ë¥½¡¼¥¹¤Î¥Ó¥ë¥É¤ò¤¹¤ì¤Ð¡¢¤Ò¤È¤Þ¤º¤ÏºÇ¿·ÈÇPHP¤òÄɤ¤¤«¤±¤ë»ö¤¬½ÐÍè¤Þ¤¹¡£ -⤷¡¢¥Ç¥Õ¥©¥ë¥È¤Î´Ä¶¤À¤È´ðËÜŪ¤Ë./configure¤ämake¤Ç¥¨¥é¡¼¤¬½Ð¤Þ¤¯¤ë¤È»×¤¤¤Þ¤¹¡£~ http://blogs.yahoo.co.jp/please_switch_on/6382426.html~ ¸¶Â§¤È¤·¤Æ¤Ï¥¨¥é¡¼¤¬½Ð¤¿¤é¢¬¤ÎÍͤÊÂоÉÎÅË¡¤Ç°ì¤Ä°ì¤Ä²ò·è¤¹¤ë¤·¤«¤¢¤ê¤Þ¤»¤ó¡£ -°ìÈÖ¿¤¤¤Î¤¬gettext¤Î¥¨¥é¡¼¤«¤È»×¤¤¤Þ¤¹¡£~ http://www.bluemooninc.biz/~xoops/modules/pukiwiki/?PHP%A4%CE%C0%DF%C4%EA~ ¤³¤³¤ò»²¹Í¤Ëgettext¤ò¥¤¥ó¥¹¥È¡¼¥ë¤·¡¢./configure¤Î¡Ö--with-gettext=¡×¤Î¥Ñ¥¹¤òºÆ»ØÄê¡£~ ⤷¡¢ºÇ¿·¤ÎPHP5.3.2¤Ë¤Ïgettext¤ÎÁêÀÌäÂ꤬¤¢¤ê¡¢gettext¤¬Ver0.18°Ê¾å¤À¤Èmake¤Ç¼¡¤ÎÍͤʥ¨¥é¡¼¤¬½Ð¤Æ¤³¤±¤Þ¤¹¡£~ $ Undefined symbols: $ "_zif_setlocale", referenced from: $ _basic_functions in basic_functions.o http://www.kadoppe.net/archives/2010/06/macports-snow-leopard-php-5-2-13-error.html~ ¾Ü¤·¤¯¤Ï¢¬»²¾È¡£¤³¤ì¤òËɤ°°Ù¤Ë¡¢gettext¤Î¥½¡¼¥¹¤ÎVer¤Ï0.17°ÊÁ°¤ò»ØÄꤷ¤Æ¥Ó¥ë¥É¤¹¤ë»ö¡£ -¼¡¤Ë¥¨¥é¡¼¤¬½Ð¤ä¤¹¤¤¤Î¤Ïimap¡£~ ¥½¡¼¥¹¤ò¥Ó¥ë¥É¤·¤Æ¤â¤¤¤¤¤Î¤Ç¤¹¤¬¡¢P2¤Ë¤ÏɬÍפʤ¤¤Î¤Ç./configure¤«¤é¡Ö¡¡--with-imap=../imap-2007e¡¡--with-imap-ssl=/usr¡×¤òºï½ü¤·¤ÆÂн衣 -mcrypt¤Î¥Ó¥ë¥É¤â˺¤ì¤º¤Ë¡£~ http://www.momo-i.org/chapter9/php.html~ ¤³¤³¤ò»²¹Í¤Ëmhash¤Èmcrypt¤Èlibmcrypt¤ò¥¤¥ó¥¹¥È¡¼¥ë¤·¡¢¡Ö--with-mcrypt=shared,¡×¤Î¥Ñ¥¹¤òºÆ»ØÄê¡£~ -sql´Ø·¸¡¢ÆäËmssql¤äpgsql¤â¥¨¥é¡¼¤¬½Ð¤ä¤¹¤¤¤Ç¤¹¤¬¡¢¤Ö¤Ã¤Á¤ã¤±sqlite¤À¤±¤¢¤ì¤Ð¤¤¤¤¤Î¤Ç¡¢Î¾Êý¤È¤â./configure¤«¤é³°¤·¤Þ¤¹¡£mssql¤Ï¡Ö--with-mssql=shared,/usr/local/php5¡×¡¢pgsql¤Ï¡Ö--with-pgsql=shared,/usr/local/php5 --with-pdo-pgsql=shared,/usr/local/php5¡×¤òºï½ü¡£ -¤³¤Î°Ì¤Þ¤Ç¥Ó¥ë¥É¤ä½¤Àµ¤ò¹Ô¤¨¤Ðmake install¤Þ¤Ç̵»ö¤ËºÑ¤à¤È»×¤¤¤Þ¤¹¡£Àè¤Ë¡Ö/usr/local/php5¡×¥Õ¥©¥ë¥À¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤·¤Æ¤¢¤ëentropyPHP¤Î¾å½ñ¤¤òËɤ°°Ù¤Ë¡¢¥Õ¥©¥ë¥À̾¤ò¡Ö/usr/local/php53¡×¤ËÊѹ¹¤·¤Æ¤¤¤Þ¤¹¡£~ $ ./configure --disable-dependency-tracking --prefix=/usr/local/php53 --with-apxs2=/usr/sbin/apxs --with-config-file-scan-dir=/usr/local/php53/php.d --with-openssl=/usr --with-zlib=/usr--with-zlib-dir=/usr --with-gd --with-ldap --with-xmlrpc --enable-exif --enable-soap --enable-sqlite-utf8 --enable-wddx --enable-ftp --enable-sockets --with-bz2=/usr --enable-zip --enable-pcntl --enable-shmop --enable-sysvsem --enable-sysvshm --enable-sysvmsg --enable-memory-limit --enable-mbstring --enable-bcmath --enable-calendar --with-iodbc --with-mhash --with-mysql=mysqlnd --with-mysqli=mysqlnd --with-pdo-mysql=mysqlnd --with-iconv=/usr/local/php53 --enable-memcache --with-kerberos=/usr --with-libxml-dir=shared,/usr/local/php53 --with-xsl=shared,/usr/local/php53 --with-gettext=/usr/local --with-curl=shared,/usr/local/php53 --with-png-dir=/usr/local/php53 --with-jpeg-dir=/usr/local/php53 --enable-gd-native-ttf --with-freetype-dir=/usr/local/php53 --with-mcrypt=shared,/usr/local £±£±¡¥PHP.ini¤òÊÔ½¸¤¹¤ë¤Ë¤Ï~ ¡Ötest_first.php¡×¤òÍøÍѤ·¤Æ¡¢¸½ºß¤ÎPHP¤¬»È¤Ã¤Æ¤¤¤ëPHP.ini¤Î¾ðÊó¤òÃΤë»ö¤¬½ÐÍè¤Þ¤¹¡£¡ÖConfiguration File (php.ini) Path¡×¥»¥¯¥·¥ç¥ó¤Ë½ñ¤«¤ì¤Æ¤¤¤ë¥Õ¥©¥ë¥À¤ËPHP.ini¤¬Æþ¤Ã¤Æ¤¤¤Þ¤¹¡£~ ¤½¤¦¤·¤ÆÇÄ°®¤·¤¿¸å¤ËFinder¤Î¡Ö°ÜÆ°¢ª¥Õ¥©¥ë¥À¤Ø°ÜÆ°¡×¥á¥Ë¥å¡¼¤ò»È¤Ã¤Æ¡¢ÉԲĻë¥Õ¥©¥ë¥ÀÆâ¤ÎPHP.ini¤òõ¤·¤Þ¤¹¡£~ ¤¿¤À¤·¡¢¥Ç¥Õ¥©¥ë¥È¤Ç¡ÖLoaded Configuration File¡×¤¬¡Ö(none)¡×¤Ë¤Ê¤Ã¤Æ¤¤¤ë¾ì¹ç¤Ë¤Ï¡¢PHP.ini¤¬ºÇ½é¤«¤é¸ºß¤·¤Ê¤¤¤Þ¤ÞÆ°¤¤¤Æ¤¤¤ë¤Î¤Ç¡¢¥¤¥ó¥¹¥È¡¼¥ë¤·¤¿¥Õ¥©¥ë¥ÀÊդ꤫¤é¡Öphp.ini-dist¡×¤Ê¤ê¡Öphp.ini-recommended¡×¤Ê¤ê¤ò¥ê¥Í¡¼¥à¤·¤Æ°ÜÆ°¤·¤Þ¤·¤ç¤¦¡£ ɸ½à¤ÎPHP¤ÎPHP.ini¤òÊÔ½¸¤¹¤ë¾ì¹ç¤Ë¤Ï¡¢¡Ö/private/etc/¡×Æâ¤ÎPHP.ini¤òÊÔ½¸¡£~ ¿·¤¿¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤·¤¿Apache2¤Î¾ì¹ç¤Ë¤Ï¡Ö/usr/local/lib/¡×Æâ¤ÎPHP.ini¤òÊÔ½¸¤·¤Þ¤¹¡£~ OS X¤Î¥Ð¡¼¥¸¥ç¥ó¤Ë¤è¤Ã¤Æ¤ÏPHP.ini¤¬½ñ¤¹þ¤ß¥í¥Ã¥¯¤µ¤ì¤Æ¤¤¤¿¤ê¡¢¥æ¡¼¥¶¡¼¤Ë¥Õ¥©¥ë¥À¤ÎÊÔ½¸¸¢¸Â¤¬Ìµ¤«¤Ã¤¿¤ê¤¹¤ë¤Î¤Ç¡¢httpd.conf¤ÈƱÍͤËÂн褹¤ë»ö¡£ -´ðËÜŪ¤ÊÀßÄêÆâÍƤÏ[[WindowsÈÇApache¤Ècurl¤Î¥¤¥ó¥¹¥È¡¼¥ë¡Ê¡ü¤âOK¡ËApache2.xx.xx+PHP5(´Ê°×ÈÇ)]]¤ò»²¾È £±£²¡¥rep2¤ÎÀßÄêtips~ rep2¼«ÂΤϡÖtest_first.php¡×¤ÈƱÍͤËApache¤Îhtdocs¥Õ¥©¥ë¥À¤ËÅêÆþ¤·¤Æ¡¢¥Ñ¡¼¥ß¥Ã¥·¥ç¥ó¤òÊѹ¹¤·¤Æ¤ª¤±¤ÐOK¤Ê¤Î¤Ç¤¹¤¬¡¢UNIX·Ï¸ÇͤÎÀ©¸Â¤Î¤è¤¦¤Ê¥â¥Î¤¬¤¤¤¯¤Ä¤«¤¢¤ë¤Î¤Ç³Ð¤¨½ñ¤ÄøÅ٤ˡ£~ ¤Þ¤º¡¢¤½¤Î¤Þ¤Þ¤Î¾õÂ֤ǤÏDat¥Ç¡¼¥¿Êݸ¥Õ¥©¥ë¥À¤â¡¢IC2¥¥ã¥Ã¥·¥å¥Õ¥©¥ë¥À¤ârep2¥Õ¥©¥ë¥ÀÆâÉô¤Ë¤·¤«ÃÖ¤¯»ö¤¬½ÐÍè¤Þ¤»¤ó¡£¤É¤¦¤·¤Æ¤âNTFS¤Î³°ÉôHDD¤äNASÅù¤Ë¥Ç¡¼¥¿¥Õ¥©¥ë¥À¤òÃÖ¤¤¿¤¤¾ì¹ç¤Ë¤Ï¡¢¤Á¤ç¤Ã¤È¤·¤¿¥³¥Ä¤òÃΤäƤª¤¯É¬Íפ¬¤¢¤ê¤Þ¤¹¡£~ -³°ÉôHDDÅù¤Î¥Ñ¥¹~ Windows¤Î¾ì¹ç¤Ë¤Ï¡Öconf_admin.inc.php¡×¤Ê¤É¤Îµ½Ò¤Ï¡ÖE:\¡×¤Ê¤É¡¢¥É¥é¥¤¥ÖÈÖ¹æ¤Çµ½Ò¤¹¤ì¤Ð²³¤Ê¤Î¤Ç¤¹¤¬¡¢OS X¤Î¾ì¹ç¤Ë¤Ï¡Ö/volumes¡×¤Ç»Ï¤Þ¤ë¥Õ¥©¥ë¥À¤Î¥Ñ¥¹¤òµ½Ò¤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£~ ¡Ö/volumes¡×¤ÏÉԲĻë¥Õ¥©¥ë¥À°·¤¤¤Ê¤Î¤Ç¡¢ÌÜŪ¤Î³°Éô¥É¥é¥¤¥Ö¤Î¥Õ¥©¥ë¥À¤ÏFinder¤Î¥Õ¥©¥ë¥À°ÜÆ°µ¡Ç½¤Ç¡Ö/volumes¡×¥Õ¥©¥ë¥À°Ê²¼¤òľÀÜÇÁ¤¤¤Æ³Î¤«¤á¤Þ¤·¤ç¤¦¡£¤â¤Ã¤Èñ½ã¤Ë¥¿¡¼¥ß¥Ê¥ë¤ËÌÜŪ¤Î³°Éô¥É¥é¥¤¥Ö¤Î¥Õ¥©¥ë¥À¤ò¥É¥é¥Ã¥°¡õ¥É¥í¥Ã¥×¤·¤Æbash¤µ¤ó¤Ë̵ÍýÌðÍý¥Ñ¥¹¤òÌõ¤·¤ÆÌ㤦ÊýË¡¤â¤¢¤ê¤Þ¤¹¤±¤É¤Í¡£~ -htdocs¤Î¥¨¥¤¥ê¥¢¥¹ÀßÄê~ Dat¥Ç¡¼¥¿Êݸ¥Õ¥©¥ë¥À¤Ï¾åµ¤Î¥Õ¥ë¥Ñ¥¹Ê¸Ë¡¤À¤±ÃΤäƤª¤±¤Ð²³¤Ê¤Î¤Ç¤¹¤¬¡¢IC2¤ò»È¤¦¾ì¹ç¤Ë¤Ï¤³¤ì¤À¤±¤Ç¤Ï¥À¥á¤Ç¤¹¡£~ Windows¤ÎÍͤËhtdocs¤Î³°¤Î¥Õ¥©¥ë¥À¤Ë¥Û¥¤¥Û¥¤´Êñ¤Ë¥¢¥¯¥»¥¹¤·¤Æ¤¯¤ì¤Ê¤¤¡Ê¤½¤ì¼«ÂΤÏÎɤ¤»ö¤À¤±¤É¡Ë¤Î¤Ç¡¢¡Öconf_ic2.inc.php¡×¤Ë¥Õ¥ë¥Ñ¥¹¤ÇIC2¥¥ã¥Ã¥·¥å¥Õ¥©¥ë¥À¤òµ½Ò¤·¤¿°Ì¤Ç¤Ï¡¢¤Û¤Ü100%DBºîÀ®¤Ç¥³¥±¤ëȦ¡£¡£¡£~ Windows¦¤Îrep2¤ÇIC2¥¥ã¥Ã¥·¥å¥Õ¥©¥ë¥À¤ò°ìöºîÀ®¤·¤Æ¤ª¤¤¤Æ¡¢¤½¤Î¥Õ¥©¥ë¥À¤ò¥³¥Ô¡¼¤·¤ÆÍøÍѤ¹¤ë¤È¤¤¤¦ÊýË¡¤â¤¢¤ë¤Î¤Ç¤¹¤¬¡¢htdocs¤Î³°¤Ë¥Õ¥©¥ë¥À¤òÃÖ¤¤¤¿¾ì¹ç¤Ë¤Ïdb¤ÎºîÀ®¡¦¹¹¿·¤ä²èÁü¤Î¥¥ã¥Ã¥·¥å¤Ï¹Ô¤ï¤ì¤Æ¤¤¤Æ¤â¡¢¥Ö¥é¥¦¥¶¤«¤éhtdocs¤Î³°¤Î¥Õ¥©¥ë¥À¤Ë¥¢¥¯¥»¥¹¤Ç¤¤Ê¤¤¤Î¤Ç²èÁü¤Îɽ¼¨¤À¤±¤¬¤¤¤Ä¤Þ¤Ç·Ð¤Ã¤Æ¤â¹Ô¤¨¤Ê¤¤¤È¤¤¤¦¥Þ¥Ì¥±¤Ê¾õÂ֤ˤʤäƤ·¤Þ¤¤¤Þ¤¹¡£¡£¡£~ Î㤨¤Ð¡¢IC2¤Ë¤è¤Ã¤Æ¡Ö/Volumes/xxx/rep2/DATA/cache/6464/00001/xxx.jpg¡×¤È¤·¤ÆºîÀ®¤µ¤ì¤¿¥¥ã¥Ã¥·¥å²èÁü¤Ç¡¢Finder¤«¤é¤Î¥É¥é¥Ã¥°¡õ¥É¥í¥Ã¥×¤Ç¥Ö¥é¥¦¥¶¾å¤Ç¤Ï¡Öfile://localhost/Volumes/xxx/rep2/DATA/cache/6464/00001/xxx.jpg¡×¤È¤·¤Æɽ¼¨¤µ¤ì¤ë¾ì¹ç¡¢¥¨¥¤¥ê¥¢¥¹¤ò²¿¤âÀßÄꤷ¤Æ¤¤¤Ê¤¤¤È¡ÖImageCache2::Viewer¡×¤Ç¥¥ã¥Ã¥·¥å²èÁü¤òÇÁ¤¤¤¿»þ¤Ë²èÁü¤¬Á´¤Æ¶õÏȤȤʤäƤ·¤Þ¤¤¡¢²èÁü¤Î¤¢¤ë¾ì½ê¤ò¥¯¥ê¥Ã¥¯¤·¤Æ¤âhttpd¤Ïhtdocs°Ê³°¤Î¡Öhttp://127.0.0.1/Volumes¡×°Ê²¼¤Î¥Õ¥¡¥¤¥ë¤Ë¤Ï¥¢¥¯¥»¥¹¤Ç¤¤Ê¤¤¤Î¤Ç404¤Ë¤Ê¤Ã¤Æ¤·¤Þ¤¦¤È¤¤¤Ã¤¿¶ñ¹ç¤Ë¡£~ ¤³¤ì¤òËɤ°¤Ë¤Ïhttpd.conf¤Ëhtdocs¤Î¥¨¥¤¥ê¥¢¥¹¤òÀßÄꤹ¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£~ »²¹ÍURL¡§http://www.adminweb.jp/apache/docroot/index3.html~ Îã¤È¤·¤Æ¡¢¡Ö/Volumes/xxx/rep2/DATA/cache¡×¤È¤¤¤¦¾ì½ê¤ËIC2¥¥ã¥Ã¥·¥å¥Õ¥©¥ë¥À¤òÃÖ¤¤¤Æ¡¢¡Öhttp://127.0.0.1/¡×¤«¤é¥¢¥¯¥»¥¹¤µ¤»¤¿¤¤¾ì¹ç¤Ë¤Ïhttpd.conf¤Î¡Ö<IfModule alias_module>¡×¥»¥¯¥·¥ç¥ó¤Ë²¼µ¤Î¤è¤¦¤Ëµ½Ò¤·¤Þ¤¹¡£~ Alias /Volumes/xxx/rep2/DATA/cache "/Volumes/xxx/rep2/DATA/cache" <Directory "/Volumes/xxx/rep2/DATA/cache"> Allow from all </Directory> µ½Ò¤·¤¿¸å¤Ëapachectl¤ÇApache¤òºÆµ¯Æ°¸å¡¢ImageCache2::Viewer¤òºÆÅÙ³«¤¤¤¿»þ¤Ë²èÁü¤Î¶õÏȤÀ¤Ã¤¿¾ì½ê¤Ë¡¢¥µ¥à¥Í¥¤¥ë²èÁü¤¬Àµ¾ï¤Ëɽ¼¨¤µ¤ì¤ì¤ÐÀ®¸ù¤Ç¤¹¡£
¥Æ¥¥¹¥ÈÀ°·Á¤Î¥ë¡¼¥ë¤òɽ¼¨¤¹¤ë