PHP Installation strategy: PHP3 + NT + IIS

Source: Internet
Author: User
The local environment uses the default installation of NT4 + IIS4, and the IIS root directory is C: Inetpubwwwroot. 1. software downloads you can download from ahrefwww. php. netdownload-php.php3www.php.netdownload-php.php3a to php's latest Win32binary version. 2. install the software from ahrefwww.php.net IIS

The local environment uses the default installation of NT4 + IIS4, and the IIS root directory is C: \ Inetpub \ wwwroot.

I. software download
You can download the latest Win32 binary version of PHP from http://www.php.net/download-php.php3.

II. software installation
You can obtain detailed installation packages from http://www.php.net/manual/install-windows95-nt.php3. You can install it as follows:

1. decompress the downloaded software using winzip.zip and install it under the C: \ Intepub \ php3 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 under the C: \ Intepub \ php3 Directory:
A) add "C: \ inetpub \ php3" to "extension-dir =" in the php3.ini file ";
B) add "C: \ Inetpub \ wwwrot" 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: \ Inetpub \ php3 \ php: exe % s (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
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/

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.