Install PHP5 in IIS

Source: Internet
Author: User

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 installation, make sure that your iIS version is correct.
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, it cannot be used 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. C: copy the dll extension file under PHPext to c: windowssystem32, * for 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 the ISUR _ your machine name permission) these permissions for 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: windowsphp. ini or c: winntphp. ini to guests. The user group can: Read.
7. Finally, do not forget to add index. php or default. php to site properties in IIS -->
8. MySQL enabled:
Note the php_mysqli.dll extension in c: windowsphp. ini or c: winntphp. ini.
Extension = php_mysql.dll is added.
9. Okay. If you want to add graphics or other functions, modify php. extension in ini, copy the relevant dll files to c: windowssystem32, and grant the user group the permissions 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.