Install PHP5 in IIS Environment

Source: Internet
Author: User
Tags ini
1, to download 2 PHP installation packages: One is install version, the other is a zip version.
2, run the install version, in accordance with the standard mode of installation can be, the installation process to pay attention to correctly select your version of IIS.
2000server selected Iis4 or later, 2003server Select IIS 6.
File types such as association. Php,.phtml.php3. Set d:php here as the installation directory
3, don't worry, you can't use it right now. Unzip the zip version to the D:php5zip folder, all the files and directories under the Copy directory, and then paste it into d:php, overwriting all the files below.
4,c:phpext The following DLL extensions are copied to the c:windowssystem32 below, * to the Guests user group (on my machine, each site is set up with a different anonymous user who belongs to the Guests group, if you only have one isur_ your machine name, You only need to set permissions Isur_ your machine name to read and run the DLL files on PHP5.
5,* gives the guests user group Php.exe,php-cgi.exe,php5isapi.dll read and run permissions.
6,* set C:windowsphp.ini or C:winntphp.ini for guests user group can: read.
7, finally, don't forget to add index.php or default.php to the site Properties--〉 document in IIS
8,mysql Enabled:
Need to remove comments about Php_mysqli.dll extensions in C:windowsphp.ini or C:winntphp.ini
Additional Extension=php_mysql.dll
9, OK, if you want to add graphics or other features, modify the php.ini inside the extension, and copy the relevant DLL files to C:windowssystem32 below, and give guests user group these PHP5 DLL files read and run permissions.


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.