The local environment adopts the default installation of NT4+IIS4, and the root directory of IIS is C:Inetpubwwwroot.
1. Software download
You can download it fromhttp://www.php.net/download-php.php3< /a> Download the latest Win32 binary version of php.
2. Software installation
You can install it fromhttp://www.php.net/manual/ install-windows95-nt.php3Get detailed installation methods. You can install it as follows:
1. Unzip the downloaded software using a .zip decompression tool such as WinZIP and install it to the C:Intepubphp3 directory.
2. Copy the php3.ini-dist file to the C:winnt directory, and then rename it to php3.ini.
C: Windows
under Windows
under Windows NT is C: Winnt or C: Winnt40
3. Modify the php3.ini file in C: Intepubphp3 directory:
A) Add "C:inetpubphp3" after "extension-dir=" in the php3.ini file;
b) Add "C:Inetpubwwwrot" after "doc-root";
c) Add ";extension" =php3-mysql.dll" and ";extension=php3-dbase.dll" and remove the ";" symbols in front of them.
d) Add /winnt/systom32/intetsrv/browscap.ini after "browscap=";
e) Set SMTP to an IMAP server name such as Microsoft Exchange or Lotus Domino, such as: mail.chinaweal .com;
f) Remove the ";" before upload_tmp_dir, and set upload_tmp_dir to a directory that each user can fully control. This directory is used to store temporary files during upload;
g) Run "Internet Services Manager".
Right-click on "Default web site" and select "Properties",
Then click "Home Directory" in the window that appears,
Then click "Configure", and click "Configuration" in the new window that appears. Add ":
In the executable file (x): enter C:Inetpubphp3php:exe %s %s (remember to add %s %s〕
In the extension (E) enter .php3
Then click "OK".
OK, now all configurations are completed. Please note that this method cannot be used under IIS3.0.
Attachment:
PHP3 download URL
http://www.php.net/download-php.php3
PHP3 Installation Guide
http://www.php.net/manual/install-windows95-nt.php3
PHP3 Manual
http://www.my3w.com/