Home  >  Article  >  Backend Development  >  Graphical installation and configuration of win2003+iis6+php+gd2+mysql_PHP tutorial

Graphical installation and configuration of win2003+iis6+php+gd2+mysql_PHP tutorial

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

Because more and more users are using windows2003 servers, and some high-quality programs are developed by php(as the current mainstream development language), therefore, this time I will talk about php (As the current mainstream development language) installation and configuration, as well as permission settings under 2003 and other issues!
2003 and iis
(Microsoft's WEB server platform) 6 installation will not be discussed here, if you don't know how to install win2003 and iis (Microsoft's WEB server platform) 6. It’s best to read other articles first to learn how to install the system and components before reading the following!

#####################
First: Install php
(as the current mainstream development language ) #####################

1. Download php
(as the current mainstream development language) Installation program http://www.php(as the current mainstream development language).net/downloads.php(as the current mainstream development language), The latest version is php
(as the current mainstream development language)5.1 windows php(as the current mainstream development language)There are two ways to install it, one It is the source code installation method, and the other is the exe installation method. The exe installation method is a fool-like installation. You can install it by double-clicking it. We will not talk about it here. The main thing is to talk about the source code installation!
Download "php
(as the current mainstream development language) 4.3.10 zip package" or 5.0 or 5.1, it is the same. Then unzip the downloaded zip file to c:php
(as the current mainstream development language) (you can unzip it to different directories according to different needs, but the default is enough if you are unfamiliar with it. Doesn’t take up much space).

2. Copy c:php
(as the current mainstream development language)php(as the current mainstream development language)4ts.dll to c:windowssystem32. (Sometimes for convenience, you can click to search for *.dll in the php(as the current mainstream development language) folder and copy all the searched folders to system32, which saves a lot of money. Trouble! )

Copy c:php
(as the current mainstream development language)php(as the current mainstream development language).ini- recommended (or php(as the current mainstream development language).ini-dist) is c:windowsphp(as the current mainstream development language).ini and then open c: windowsphp(as the current mainstream development language).ini, modify the following places:
; If you use the default 4096, then php
(as the current mainstream development language) Language) In iis(Microsoft's WEB server platform)6, the performance will be very badoutput_buffering = On

; If it is on a production server, you do not need to modify the following These two lines
error_reporting=E_ALL & ~E_NOTICE
display_errors = On (here are the error prompts for modifying php
(as the current mainstream development language) , off means no prompt, some Database link non-error messages will also be output as error messages by php (as the current mainstream development language), and it is recommended to be used to shut down the web server! ) ; instructs php
(As the current mainstream development language)
The folder where the extension library is located extension_dir="c:php (As the current mainstream development language)
extensions" (here in php (As the current mainstream development language) 5 is the ext folder, different versions are different, that is, the folder where the dll file is placed) The following two are timeouts: generally 60-120
max_execution_time = 90
max_input_time = 90
post_max_size = 8M (6-10M is optimal)
upload_max_filesize = 8M (maximum upload attachment size)

default_socket_timeout = 90 (port time 60 -120)

session.gc_maxlifetime = 3600 (default session survival time, seconds)
session.save_path = "C:php
(as the current mainstream development language)
sessiondata" (Modify the session storage directory here. If you do not need the session function, you do not need to modify it. Note that the directory must exist. If it does not exist, create it.) Modify other settings according to your own needs. After doing this, the first part is completed.

#####################
Second: on iis
(Microsoft's WEB server platform)
Configure php in (as the current mainstream development language) #####################
1. First, install iis
(Microsoft's WEB server platform)
through the "Add or Remove Role" function in the "Manage Your Server" wizard. In Windows Server 2003, iis(Microsoft's WEB server platform) is called the "application server".If necessary during installation, you can select asp.net (Microsoft's strongest development language) and other options. But even if it is not selected, it can be easily enabled in the future.

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/508549.htmlTechArticleBecause more and more users are using windows2003 servers, and some high-quality programs are run by php (as now Mainstream development language) developed, so this time I will talk about php under window2003...
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