Home  >  Article  >  Backend Development  >  Install PHP5_PHP tutorial in IIS environment

Install PHP5_PHP tutorial in IIS environment

WBOY
WBOYOriginal
2016-07-15 13:23:351444browse

1. You need to download 2 php installation packages: one is the install version and the other is the zip version.
2. Run the install version and install according to the standard mode. During the installation process, be sure to select your iIS version correctly.
Select iis4 or higher version for 2000server, select iis 6 for 2003server.
Associate .php, .phtml.php3 and other file types. Here set d:php as the installation directory
3. Don’t worry, it can’t be used immediately. Unzip the zip version to the d:php5zip folder and copy all the files in the directory and directory, and then paste it to d:php, covering all the files below.
4.C: Copy the dll extension file under PHPext to c:windowssystem32, *give it to the guests user group (my On the machine, each site is set up with different anonymous users. These users all belong to the guests group. If you only have one ISUR_your machine name, you only need to set the permissions of ISUR_your machine name) These dlls about PHP5 File read and run permissions.
5.*Give the guests user group permission to read and run php.exe, php-cgi.exe, and php5isapi.dll.
6.*Set c:windowsphp.ini Or c:winntphp.ini for the guests user group: read.
7. Finally, don’t forget to set the IIS Add index.php or default.php to the site properties-->document
8. MySQL activation:
need to remove c:windowsphp.ini or c:winntphp.ini about Comments on the php_mysqli.dll extension
Also add extension=php_mysql.dll
9. Well, if you want to add graphics or other functions, modify the extension in php.ini and add the relevant Copy the dll file to c:windowssystem32 and give the guests user group permission to read and run these dll files for PHP5.

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/446865.htmlTechArticle1. You need to download 2 php installation packages: one is the install version and the other is the zip version. 2. Run the install version and install according to the standard mode. During the installation process, pay attention to the correct selection...
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn