Schematic win2003+iis6+php+gd2+mysql installation configuration _php Tutorial

Source: Internet
Author: User
As more and more users are using WINDOWS2003 servers, and some of the best programs are developed by PHP (which is now the mainstream development language), so this talk about the installation and configuration of PHP (as the current mainstream development language) window2003, And 2003 permissions on the settings and other issues!

2003 and the installation of IIS (Microsoft Web server platform) 6 is not discussed here, if you do not install Win2003 and IIS (Microsoft Web server platform) 6, it is best to first look at other articles to install systems and components learned to look at the following is not too late!


######################
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 mainstream development language now),
The latest version of PHP (as the current mainstream development language) 5.1 Windows PHP (as the current mainstream development language) installation is divided into two ways, one is the source code installation, one is EXE installation method, EXE installation method for the idiot-type installation, double-click can be installed, we do not talk about this, The main talk about the installation of the source code!

Download "PHP (as the current mainstream development language) 4.3.10 Zip package" or 5.0 or 5.1. Then unzip the downloaded zip file to
C:php (as the current mainstream development language) (can be extracted according to different needs to different directories, but not familiar with the default, can not occupy 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, in PHP (as the current mainstream development language) folder Click Search *.dll the search to all the folders are copied to System32 can also, this saves a lot of trouble! )


Copy c:php (as the current mainstream development language) PHP (as the current mainstream development language). ini-recommended (or PHP (which is now the mainstream development language). Ini-dist) is c:windowsphp (as the mainstream development language now). INI then open c:windowsphp (as the current mainstream development language). INI, modify the following several places:

; If you use the default of 4096, then PHP (as the current mainstream development language) in IIS (Microsoft Web server platform) 6, the performance will be very bad
Output_buffering = On

; If it is on the production server, you can not modify the following two lines
Error_reporting=e_all & ~e_notice
Display_errors = On (here is the error to modify PHP (as the current mainstream development language), off is not prompted, some database link non-error information will also be PHP (as the current mainstream development language) as error message output, recommended as a Web server shutdown! )

; Indicates PHP (as the current mainstream development language) the folder in which the library is extended
Extension_dir= "c:php (as the current mainstream development language) extensions" (Here in PHP (as the mainstream development language) 5 in the Ext folder, different versions, that is, the folder to place the DLL files)

The following two are time-outs: General 60-120
Max_execution_time = 90
Max_input_time = 90
Post_max_size = 8M (6-10m best)
Upload_max_filesize = 8M (maximum upload attachment size)

Default_socket_timeout = 90 (port time 60-120)

Session.gc_maxlifetime = 3600 (session default time to live, seconds)
Session.save_path = "c:php (as the current mainstream development language) Sessiondata" (here to modify the session's storage directory, if you do not need the session function, you can not modify, note that the directory must exist, does not exist to establish)
The other settings are modified to suit your needs. Having done this, the first part is finished.


######################
Second: Configure PHP in IIS (Microsoft Web server platform) (as the current mainstream development language)
#####################

1. Install IIS (Microsoft Web server platform) first through the Add or remove roles feature in the Manage Your Server Wizard. In Windows Server 2003, IIS (Microsoft's Web server platform) is called an "application server." You can select the options such as ASP. NET (Microsoft's strongest development language), if required during installation. But even if not selected, it can be very convenient to enable later.

http://www.bkjia.com/PHPjc/508549.html www.bkjia.com true http://www.bkjia.com/PHPjc/508549.html techarticle because the use of WINDOWS2003 server more and more users, and some of the high-quality programs are made by PHP (as the mainstream development language now) developed, so this time to talk about window2003 under PHP ...

  • 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.