ÀÚ·á½Ç
|
À©µµ¿ì ÀÚ·á½Ç - Windows¿ë PHP
Step 1.
´ÙÀ½ ÆÄÀÏÀ» ±¸ÇÕ´Ï´Ù.
Step 2.
´ÙÀ½°ú °°ÀÌ ¼³Ä¡¸¦ ÇÕ´Ï´Ù.
c:/php µð·ºÅ丮¿¡ ¾ÐÃàÀ» ÇØÁ¦ÇÕ´Ï´Ù.
Step 3.
Apache ¼³Á¤¿¡ ´ÙÀ½ ³»¿ëÀÌ ¾øÀ¸¸é Ãß°¡ÇÕ´Ï´Ù. (½ÃÇè¿ë Apache¿¡´Â ÀÌ¹Ì ¼³Á¤ÀÌ µÇ¾î ÀÖ½À´Ï´Ù.)
ApacheÀÇ ¼³Á¤Àº httpd.conf ÆÄÀÏ¿¡¼ ÇÕ´Ï´Ù.
PHP¸¦ c:/php ÀÌ¿ÜÀÇ °÷¿¡ ¼³Ä¡Çß´Ù¸é ¾Æ·¡ ³»¿ëÁß c:/php ºÎºÐÀ» ¼öÁ¤ÇØ¾ß ÇÕ´Ï´Ù.
ScriptAlias /php/ "c:/php/"
AddType application/x-httpd-php .php .php3 .php4 .phtml
AddType application/x-httpd-php-source .phps
Action application/x-httpd-php "/php/php.exe"
IIS¿¡ PHP °ü·Ã ¼³Á¤ÀÌ µÇ¾î ÀÖÁö ¾Ê´Ù¸é ¾Æ·¡ ¼³¸í´ë·Î ¼³Á¤Çϼ¼¿ä.
IISÀÇ ¼³Á¤Àº ±âº»À¥»çÀÌÆ® - µî·ÏÁ¤º¸¿¡¼ ÇÕ´Ï´Ù.
PHP¸¦ c:/php ÀÌ¿ÜÀÇ °÷¿¡ ¼³Ä¡Çß´Ù¸é ¾Æ·¡ ³»¿ëÁß c:/php ºÎºÐÀ» ¼öÁ¤ÇØ¾ß ÇÕ´Ï´Ù.
ISAPI ÇÊÅÍ ÅÇ¿¡¼ ÇÊÅÍÀ̸§ÀÌ PHP ÀÌ°í ½ÇÇàÆÄÀÏÀÌ c:/php/sapi/php4isapi.dll ÀÎ ÇÊÅ͸¦ Ãß°¡Çϼ¼¿ä.
Ȩµð·ºÅ丮 ÅÇ - ±¸¼º ¹öÆ° - ÀÀ¿ëÇÁ·Î±×·¥¸ÅÇÎ ÅÇ¿¡¼ È®Àå¸íÀÌ php ÀÌ°í ½ÇÇàÆÄÀÏÀÌ c:/php/sapi/php4isapi.dll ÀÎ ¸ÅÇÎÀ» Ãß°¡Çϼ¼¿ä.
c:/php/php4ts.dll °ú c:/php/php4ts.lib ¸¦ c:/winnt/system32 ·Î º¹»çÇϼ¼¿ä.
|