The local environment uses the default installation of NT4 + IIS4, And the IIS root directory is C: Inetpubwwwroot.
I. Software Download
You can download the latest php Win32 binary version from <a href = http://www.php.net/download-php.php3> http://www.php.net/download-php.php3 </a>.
Ii. Software Installation
You can get detailed installation methods from the <a href = http://www.php.net/manual/install-windows95-nt.php3> http://www.php.net/manual/install-windows95-nt.php3 </a>. You can install it as follows:
1. decompress the downloaded software using winzip.zip and install it in the C: Intepubphp3 directory.
2. Copy the php3.ini-dist file to the C: winnt directory and rename it php3.ini.
C: Windows in windows 95/98
C: winnt or c: winnt40 in Windows NT
3. Modify the php3.ini file in the C: Intepubphp3 directory:
A) Add "C: inetpubphp3" to "extension-dir =" in the php3.ini file ";
B) Add "C: Inetpubwwwrot" after "doc-root ";
C) Remove the '; extension = php3-mysql.dll' and '; extension = php3-dbase.dll' before.
D) Add/winnt/systom32/intetsrv/browscap. ini to "browscap =;
E) Set SMTP to the names of IMAP servers with Microsoft Exchange or Lotus Domino, such as mail.chinaweal.com;
F) Remove ";" before upload_tmp_dir and set upload_tmp_dir to a directory that can be fully controlled by every user. This directory is used to store temporary files during upload;
G) Run "Internet Service Manager ".
Right-click "Default web site" and select "properties ",
Click "main directory" in the displayed window ",
Click "configuration" and then click "add" in the displayed window ":
In the executable file (x): Enter C: Inetpubphp3php: exe % s (remember to add % s 〕
Enter. php3 in extension (E)
Click "OK ".
All the configurations have been completed so far. Note that this method cannot be used in IIS3.0.
Appendix:
PHP3 download URL
<A href = http://www.php.net/download-php.php3> http://www.php.net/download-php.php3 </a>
PHP3 Installation Guide
<A href = http://www.php.net/manual/install-windows95-nt.php3> http://www.php.net/manual/install-windows95-nt.php3 </a>
PHP3 Manual
<A href = http://www.my3w.com/> http://www.my3w.com/</a>