Install PHP5 in IIS

Source: Internet
Author: User
Install PHP5 in the IIS environment. Read the PHP5 installation notes in the IIS environment. 1. download two php installation packages: the install version and the zip version. 2. run the install version and install it in standard mode. during the installation process, select your iIS version correctly. Choose iis4 or later for 2000server, and choose iis6 for 2003server"

1. download two php installation packages: one is the install version and the other is the zip version.

2. run the install version and install it in standard mode. during the installation process, select your iIS version correctly.
2000 server: iis4 or later, and server: iis 6.
Associate with. php,. phtml. php3, and other file types. Set d: \ php as the installation directory.

3. Don't worry. you cannot use it now. decompress the zip file to the d: \ php5zip \ folder, copy all the files and directories under the Directory, and paste them to d: \ php to overwrite all the files below.

4. copy the dll extension files under C: \ PHP \ ext to c: \ windows \ system32, * to the guests User Group (on my machine, different anonymous users are set for each site. these users belong to the guests Group. if you only have one ISUR _ your machine name, you only need to set ISUR _ your machine name permission) these permissions on reading and running PHP5 dll files.

5. * permission for reading and running php.exe, php-cgi.exe, and php5isapi. dll from the guestsuser group.

6. * set c: \ windows \ php. ini or c: \ winnt \ php. ini to the guests user group, which can be read.

7. at last, do not forget to add index. php or default. php to site attributes in IIS -->

8. enable MySQL:
Note the php_mysqli.dll extension in c: \ windows \ php. ini or c: \ winnt \ php. ini
Extension = php_mysql.dll is added.
9. now, if you want to add graphics or other functions, modify php. extension in ini, copy the relevant dll files to c: \ windows \ system32, and grant the permissions to the guests user group to read and run the PHP5 dll files.

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.