IIS and PHP coexistence installation methods under Windows Server

Source: Internet
Author: User
Tags .net address coexistence configuration directory disk download download address

IIS PHP MySQL Zend Optimizer GD library phpmyadmin installation configuration [Full revision utility]

First, software preparation: The following are the latest official version of the 2006-1-20, the download address is also valid for a long time

1.PHP, recommended PHP4.4.0 zip version:

PHP (4.4.0): Http://cn.php.net/get/php-4.4.0-Win32.zip/from/a/mirror

PHP (5.1.2): Http://cn.php.net/get/php-5.1.2-Win32.zip/from/a/mirror

2.MySQL, with PHP4 recommended MySQL4.0.26 win system installation version:

MySQL (4.0.26): Http://download.discuz.net/mysql-4.0.26-win32.zip

MySQL (4.1.16): http://www.skycn.com/soft/24418.html

MySQL (5.0.18): http://www.skycn.com/soft/1262.html

3.Zend Optimizer, of course, select the current latest version of the Pull:

Zend Optimizer (2.6.2): http://www.zend.com/store/free_download.php?pid=13

(Zend Software, although free download, but need to register users, here to provide registered account name: xqincom and Password: xqin.com, convenient for everyone to use, please do not modify this account number or for other fees in the proper way, thank you! )

After landing, select the platform version of Windows x86, such as the latest version 2.6.2 https://www.zend.com/store/getfreefile.php?pid=13&zbid=995

4.phpMyAdmin


Of course, also select the current version of the pull, focus on selecting the for Windows version oh:

phpMyAdmin (2.8.0.3): http://www.crsky.com/soft/4190.html

Suppose C: For the system disk you are using now, if your current operating system is not installed in C:, please modify the corresponding path. At the same time, because C disk is often used for various reasons to reload the system, data on this disk is not easy to backup and transfer select the installation directory, so this article will all PHP-related software installed to the d:php directory, this path you can set up, if you install to different directories involving the path, please modify the following corresponding path

Second, the installation of PHP: This article PHP installation path to D:PHPPHP4 (to avoid confusion, php5.1.x version of the installation path to take D:PHPPHP5)

(1), download and get Php-4.4.0-win32.zip, extract to d:php directory, will get two level directory Php-4.4.0-win32, renamed PHP4,
PHP File storage directory D:PHPPHP4

[If is PHP5.1.2, obtains the file is Php-5.1.2-win32.zip, directly all presses to D:PHPPHP5 directory can obtain the PHP file to store the directory D:PHPPHP5];

(2), and then D:PHPPHP4 directory and D:phpphp4dlls directory

All DLL files under [PHP5 for D:PHPPHP5] copy to C:windowssystem32 (Win2000 system c:/winnt/system32/), overwriting existing DLL files;

(3), the php.ini-dist with Notepad to open, using Notepad search and modify the function:

Search register_globals = Off

Change off to ON to get register_globals = On

Note: This corresponds to PHP's global variable function, consider a lot of PHP programs need global variable function so open, please pay attention to the rigor of the-php program, if you do not need to recommend not modify to keep the default off state

Search Extension_dir =

This is the PHP extensions directory and refers to its path to your PHP directory in the extensions directory, such as:

Modify Extension_dir = "./" For extension_dir = "d:/php/php4/extensions/"

[PHP5 corresponding modification to Extension_dir = "d:/php/php5/ext/"]

Create a folder under d:php and name TMP

Find Upload_tmp_dir =

Upload_tmp_dir the line's annotation, that is, the preceding semicolon.

Related Article

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.