Home  >  Article  >  Backend Development  >  Notes on installing PHP5 in IIS environment_PHP tutorial

Notes on installing PHP5 in IIS environment_PHP tutorial

WBOY
WBOYOriginal
2016-07-13 17:33:48797browse

1. You need to download 2 installation packages of php (as the current mainstream development language) : 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 correctly select your iis (Microsoft's WEB server platform) version.
2000server choose iis(Microsoft's WEB server platform)4 or higher, 2003server choose iis(Microsoft's WEB server platform) 6.
Association.php(as the current mainstream development language),.phtml.php(as the current mainstream development language)3 and other file types. Here set d:php(as the current mainstream development language) as the installation directory

3. Don’t worry, it can’t be used right now. Unzip the zip version to d :php(as the current mainstream development language)Under the 5zip folder, copy all the files and directories in the directory, and then paste them into d:php(as the current mainstream development language), covering all the files below.

4,C:php(as the current mainstream development language)Copy the dll extension file under ext to c:windowssystem32, *give guests user group (on my 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 are the permissions to read and run the dll files of php(as the current mainstream development language)5.

5, *To the guests user group php(as the current mainstream development language).exe, php(as the current mainstream development language)-cgi (not many people use it now).exe, php(as the current mainstream development language)5 isapi.dll permission to read and run.

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

7. Finally, don’t forget to add index.php to the site properties-->document in iis(Microsoft’s WEB server platform) (as the current mainstream development language)or default.php(as the current mainstream development language)

8, MySQL(matched with PHP The best combination) activation:
needs to remove c:windowsphp (as the current mainstream development language) .ini or c:winntphp (as the current mainstream development language) Language).ini comments about php(as the current mainstream development language)_MySQL(the best combination with PHP)i.dll extension
In addition, add extension=php(as the current mainstream development language)_MySQL(the best combination with PHP).dll
9, okay, if you want to add graphics or other functions, modify the extension in php(as the current mainstream development language).ini, and copy the relevant dll files to c:windowssystem32, and give these information about php(As the current mainstream development language)5 permissions to read and run dll files.

http://www.bkjia.com/PHPjc/508538.htmlwww.bkjia.comtruehttp: //www.bkjia.com/PHPjc/508538.htmlTechArticle1. You need to download 2 installation packages of PHP (as the current mainstream development language): one is the install version , and the other one is the zip version. 2. Run the install version and install it in standard mode...
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