Install PHP5 in IIS

Source: Internet
Author: User
Install PHP5 in IIS. 1. download two installation packages for php (as the mainstream development language): one for install and the other for zip. 2. run the install version. you can install it in standard mode. 1. you need to download the installation packages of two php (as the mainstream development language): one is the install version, the other is the zip version.

2. run the install version and install it in standard mode. during the installation process, make sure that your iis (Microsoft WEB server platform) version is correct.
2000 server: Select iis (Microsoft's WEB server platform) 4 or later, and server select iis (Microsoft's WEB server platform) 6.
Associated with. php (as the mainstream development language),. phtml. php (as the mainstream development language) 3 and other file types. Set d: php (as the mainstream development language) as the installation directory.

3. Don't worry. you cannot use it now. decompress the zip version to the d: php (as the current mainstream development language) 5zip folder, copy all the files and directories under the Directory, and paste them to d: php (as the mainstream development language) covers all the files below.

4. copy the dll extension file under ext to C: windowssystem32 and * 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 for reading and running dll files in php (as the mainstream development language) 5.

5. * permissions for reading and running 5isapi. dll in php (as the mainstream development language.

6. * set c: windowsphp (as the mainstream development language). ini or c: winntphp (as the mainstream development language). ini for the guests user group can: read.

7. finally, do not forget to add the index to the site attribute in iis (Microsoft's WEB server platform) --> document. php (as the mainstream development language) or default. php (as the mainstream development language)

8. enable MySQL (the best combination with PHP:
C: windowsphp needs to be removed (as the mainstream development language ). ini or c: winntphp (as the mainstream development language ). in ini, php (as the mainstream development language) _ MySQL (the best combination with PHP) I. dll extension comments
Added extension = php (as the mainstream development language) _ MySQL (the best combination with PHP). dll
9. now, if you want to add graphics or other functions, modify php (as the mainstream development language ). extension in ini, and copy the relevant dll files to c: windowssystem32, and send php (as the mainstream development language) to the guests user group) 5. permission to read and run dll files.

KeyStore (as the mainstream development language) installation package: one is the install version, and the other is the zip version. 2. run the install version and install it in standard mode...

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.