¹ø¿ª: Ȳ¿øÈñ (http://w3.to/regina)
ÀÌ ¼³Ä¡ ¾È³»¼´Â ¿©·¯ºÐ¿¡°Ô PHP3¸¦ Windows 9x/NT À¥¼¹ö¿¡¼ ¼³Ä¡ÇÏ°í ¼³Á¤Çϴµ¥ µµ¿òÀ» ÁÙ °ÍÀÔ´Ï´Ù. ÀÌ ¾È³»¼´Â Bob Silva¿¡ ÀÇÇØ ÀÛ¼ºµÇ¾ú½À´Ï´Ù. µû¶ó¼ °¡Àå ÃÖ½ÅÀÇ °³Á¤ÆÇÀº http://www.umesd.k12.or.us/php/win32install.html¿¡¼ ãÀ» ¼ö ÀÖÀ» °ÍÀÔ´Ï´Ù.
ÀÌ ¾È³»¼´Â ´ÙÀ½°ú °°Àº À¥¼¹ö¸¦ ´ë»óÀ¸·Î ÇÕ´Ï´Ù.
Personal Web Server (Newest version recommended) |
Internet Information Server 3 or 4 |
Apache 1.3.x |
Omni HTTPd 2.0b1 |
¸ðµç ¸ðµâÀº 'php3_'·Î ½ÃÀ۵Ǿî¾ß ÇÕ´Ï´Ù. You will need to change your php3.ini file and/or any scripts loading extensions with the dl() function (or you could always remove the 'php3_' prefix). ÀÌ°ÍÀº php modules°ú ´Ù¸¥ ¶óÀ̺귯¸®°£ÀÇ È¥¶õÀ» ÇÇÇϱâ À§ÇÑ °ÍÀÌ´Ù.
ChangeLog¿Í FAQ, ÃÖ½ÅÀÇ ¹®¼µéÀº °ø½Ä PHP À¥»çÀÌÆ®¿Í À̵éÀÇ ¹Ì·¯ »çÀÌÆ®¿¡¼ ãÀ» ¼ö ÀÖ½À´Ï´Ù.
À¥ ¼¹öÀÇ Á¾·ù¿Í °ü°è¾øÀÌ ´ÙÀ½ÀÇ ¼³Ä¡ °úÁ¤µéÀÌ ¿Ï·áµÇ¾î¾ß ÇÑ´Ù.
c:\windows for Windows 95/98 |
c:\winnt or c:\winnt40 for NT servers |
ÀÌ ¼¹öµé¿¡¼ÀÇ ¼³Á¤Àº ¹èÆ÷ÆÇÀÇ INF ÆÄÀÏ(php_iis_reg.inf)À» »ç¿ëÇÏ´Â °ÍÀ» ±ÇÇÑ´Ù. ¿©·¯ºÐÀº ÀÌ ÆÄÀÏÀ» ¼öÁ¤ÇÏ¿© ¿©·¯ºÐÀÌ ¿øÇÏ´Â PHP ¼³Ä¡ µð·ºÅ丮¿Í È®Àå ³»¿ëµéÀ» ¼³Á¤ÇÒ ¼ö ÀÖ´Ù. ¸¸¾à ¼öµ¿À¸·Î ¼³Á¤ÇÏ°í ½Í´Ù¸é ´ÙÀ½°ú °°ÀÌ ÇÕ´Ï´Ù.
ÁÖÀÇ : ÀÌ °úÁ¤Àº À©µµ¿ìÀÇ resistry¸¦ Á÷Á¢ ´Ù·ì´Ï´Ù. ÇϳªÀÇ ½Ç¼ö°¡ ¿©·¯ºÐÀÇ ½Ã½ºÅÛ Àüü¸¦ ºÒ¾ÈÇÑ »óÅ·Π¸¸µé ¼ö ÀÖ½À´Ï´Ù. ¿ì¸®´Â ¿©·¯ºÐÀÌ registry¸¦ ÆíÁýÇϱâ Àü¿¡ ¹Ýµå½Ã ÆíÁý ÀüÀÇ registry¸¦ ¹é¾÷ÇØ ³õÀ» °Í. PHP °³¹ßÆÀÀº ¾î¶°ÇÑ registryÀÇ Æļյµ Ã¥ÀÓÁöÁö ¾Ê½À´Ï´Ù. ¸¸¾à registry¿¡ ¼Õ»óÀÌ °¥ °æ¿ì OS¸¦ »õ·Î ±ò±â Àü¿¡´Â ºÎÆõÇÁö ¾ÊÀ» ¼öµµ ÀÖ½À´Ï´Ù.
PWS¿Í IIS 3 »ç¿ëÀÚµéÀº ÇöÀç ¿ÏÀüÇÑ ¿î¿µÁßÀÎ ½Ã½ºÅÛÀ» °®°í ÀÖ½À´Ï´Ù. IIS 3 »ç¿ëÀÚµéÀº Steven Genusa°¡ ÀÛ¼ºÇÑ ½ºÅ©¸³Æ® ¸ÊÀ» ¼³Á¤ÇÏ´Â ¸Å·ÂÀûÀÎ toolÀ» »ç¿ëÇÒ ¼ö ÀÖ½À´Ï´Ù.
PHP3¸¦ IIS 4°¡ ¿î¿µÁßÀÎ NT Server¿¡ ¼³Ä¡ÇÏ·Á¸é ´ÙÀ½ °úÁ¤À» µû¸¥´Ù.
Apache¸¦ PHP CGI binary¿Í ÇÔ²² ½ÇÇàÇϵµ·Ï ¼³Á¤ÇÏ·Á¸é srm.confÀ̳ª httpd.conf¸¦ ´ÙÀ½°ú °°ÀÌ ¼öÁ¤ÇÏ¿©¾ß ÇÑ´Ù.
ºñ·Ï ApacheÇÏ¿¡¼ PHPÀÇ ¼³Á¤ÀÌ ¾à°£ Â÷ÀÌ°¡ ÀÖÀ»Áö ¸ð¸£Áö¸¸, ÀÌ ¼³Á¤Àº Ãʺ¸ÀÚµµ ÇÒ ¼ö ÀÖÀ» Á¤µµ·Î ½±´Ù. ¿©±â¿¡ ³ª¿Â °Í ÀÌ»óÀÇ ¼³Á¤ Áö½ÃÀÚ´Â Apache Docs¸¦ ÂüÁ¶Çϵµ·Ï ÇÏÀÚ.
To use the source code highlighting feature, simply create a PHP script file and stick this code in: . Substitute original_php_script.php3 with the name of the file you wish to show the source of. (this is only one way of doing it).
Note: Win-Apache¿¡¼ "c:\directory\file.ext"¿Í °°ÀÌ path¿¡ »ç¿ëµÇ´Â ¸ðµç ¹é½½·¡½Ã(\)´Â ÀÏ¹Ý ½½·¡½Ã(/)·Î ¹Ù²ã¾ß ÇÕ´Ï´Ù.
ÀÌ ¼³Á¤Àº ¸Å¿ì ½¬¿î ÆíÀÌ´Ù.
Step 1: Omni server¸¦ ¼³Ä¡ÇÑ´Ù. |
Step 2: system trayÀÇ Çª¸¥»ö OmniHTTPd ¾ÆÀÌÄÜ¿¡¼ ¿À¸¥ÂÊ ¹öÆ°À» Ŭ¸¯ÇÏ¿© Properties(µî·ÏÁ¤º¸)¸¦ ¼±ÅÃÇÑ´Ù. |
Step 3: Web Server Global SettingsÀ» Ŭ¸¯ÇÑ´Ù. |
Step 4: 'External' ÅÇ¿¡¼ ´ÙÀ½À» ÀÔ·ÂÇÑ´Ù. : virtual = .php3 | actual = c:\path-to-php-dir\php.exe |
Step 5: Mime ÅÇ¿¡¼ ´ÙÀ½À» ÀÔ·ÂÇÑ´Ù. : virtual = wwwserver/stdcgi | actual = .php3 |
Step 6: OK¸¦ Ŭ¸¯ÇÑ´Ù. |
PHPÀÇ ¸ðµç È®ÀåÀÚ¿¡ ´ëÇØ steps 2 - 6À» ¹Ýº¹ÇÑ´Ù.
Table 3-1. PHP Modules
php3_calendar.dll |
Calendar conversion functions |
php3_crypt.dll |
Crypt functions |
php3_dbase.dll |
DBase functions |
php3_dbm.dll |
GDBM emulation via Berkely DB2 library |
php3_filepro.dll |
READ ONLY access to filepro databases |
php3_gd.dll |
GD Library functions for gif manipulation |
php3_hyperwave.dll |
HyperWave functions |
php3_imap4r2.dll |
IMAP 4 functions |
php3_ldap.dll |
LDAP functions |
php3_msql1.dll |
mSQL 1 client |
php3_msql2.dll |
mSQL 2 client |
php3_mssql.dll |
MSSQL client (requires MSSQL DB-Libraries) |
php3_mysql.dll |
MySQL functions |
php3_nsmail.dll |
Netscape mail functions |
php3_oci73.dll |
Oracle functions |
php3_snmp.dll |
SNMP get and walk functions (NT only!) |
php3_zlib.dll |
ZLib functions |