iis6.0+php5.x+mysql5.x+zend3.0x+gd+phpmyadmin2.8x Common Installation instance (already completed) _php instance

Source: Internet
Author: User
Tags win32 windows x86 phpmyadmin zend
Recording + tuning took a few small steps to get the iis6.0+php5.x+mysql5.x+zend3.0x+gd+phpmyadmin2.8x general installation instance ready.
A friend in need can download and see
/uploadfiles/file/iis.rar

Description
iis6.0+php5.x+mysql5.x+zend5.0x+gd+phpmyadmin2.8x General Installation Instance
Suggestions to see the attachment of the screen file, more intuitive
For the tutorial screen is too large, before doing a screen tutorial has been written steps, you do not have to enter the recording process text
First, download the required software
Suggest software all go to official website to download, prevent package to be attached or modify file
1.PHP
Using the php5.x version:
Http://cn.php.net/get/php-5.1.2-Win32.zip/from/a/mirror
Download the required version as long as the php-5.1.2-win32.zip in the URL
For example, to download php5.1.4, simply change the URL to:
Http://cn.php.net/get/php-5.1.4-Win32.zip/from/a/mirror
To download php5.1.6, simply change the URL to:
Http://cn.php.net/get/php-5.1.6-Win32.zip/from/a/mirror
Earlier versions can be downloaded in the same way, without having to go to other websites to download software
2.MySQL
Examples are used for more than mysql5.x
Download Address:
http://downloads.mysql.com/archives.php
3.Zend Optimizer
Zend Optimizer (3.0.1):
Http://www.zend.com/store/free_download.php?pid=13
Zend Software is free to download, but requires registered users to select the Windows x86 version of platform after landing
After all, people provide such a powerful software, registration is a support software development
4.phpMyAdmin
Choose the latest version, official website
http://www.phpmyadmin.net/home_page/index.php

5.GD Library
PHP Compression package contains GD library file
When the php.ini is configured, the front is to be removed, that is: Enable

The above is the description text, and software download address, it is necessary to look at

Second, install IIS (that is, Internet information manager)
If your server has IIS installed, some steps can be omitted, if you do not have IIS installed, you can refer to this tutorial for the appropriate configuration
Http://bbs.netdoc.com.cn/viewthread.php?tid=18
Third, install and configure the PHP operating environment
1. Unzip the Php-5.1.x-win32.zip compression pack (x is the version number of PHP) to the desired directory, this example uses PHP version: php-5.1.6
For example
c:\php
d:\php
You can also use irregular directory names, such as:
C:\abcdefe
D:\abcdefe
But as far as possible "does not function" special characters, this example uses the d:\php
2. Editors
Rename the Php.ini-dist file in the directory to php.ini
Open php.ini with text editing software and make changes accordingly
Using the lookup feature
Search
Register_globals = Off
Off change to On
Search
Extension_dir =
Change into
Extension_dir = "D:\php\ext" (Here "D:\php\ext" Directory is the PHP installation directory under ext If you PHP installed in c:\php, then here is written extension_dir = "C:\php\ext")
Search
; Upload_tmp_dir =
Change into
Upload_tmp_dir =d:\php\upload_tmp (Here The Upload_tmp directory is set up by itself, default does not have this folder, as far as possible "do not" special characters)
Search
Windows Extensions
In front of some common functions, remove, that is, enable the corresponding module function
Here I enable the corresponding module
Extension=php_mbstring.dll
Extension=php_curl.dll
Extension=php_dbase.dll
Extension=php_gd2.dll
Extension=php_ldap.dll
Extension=php_mysql.dll
A detailed functional description of the module will follow
Search
; Session.save_path = "/tmp"
Change into
Session.save_path = "D:\php\tmp" (Here the TMP directory is established by itself, default does not have this folder, as far as possible "do not" special characters)

3. Copy
Copy PHP.ini to%windir%
(%windir% refers to the installation directory of Windows, if your system is installed in C disk and is a Server 2003 system, then%windir% refers to C:\Windows, if the system is installed in D disk and the system is WINDWS server2000 so% Windir% refers to: C:\Winnt, the operating system used by the instance is Server 2003 and is mounted in C, so copy php.ini to C:\Windows)
Copy all DLL files in the PHP installation directory (refers to the root directory file, "does not contain" the DLL file under the Ext folder) to%windir%\system32 (note above, the instance uses C:\Windows\System32)
The above replication steps can be performed using a batch file, which is easy and quick to use
Copy php.ini%windir%/y
Copy *.dll%windir%\system32/y
MD tmp/y
MD upload_tmp/y
Copy the above command to Notepad to save it, and change the file name to Copy.bat to automatically perform the copy step

It seems that there is no automatic directory, and then try to see, hehe, faint, to be carried out alone, forget, we still manually set up those two directories, I was to find a simple way to use that method
Explain:
Copy php.ini%windir%/y Copying php.ini to c:\windows/y refers to overwriting the original file if the file exists
Copy *.dll%windir%\system32/y copy d:\php All extensions are DLL file to c:\windows\system32/y if file exists, overwrite original file
MD tmp/y Set up folder tmp/y means that if the file exists, overwrite the original directory
MD upload_tmp/y Set up folder upload_tmp/y means that if the file exists, overwrite the original directory

3. Configure
Configure IIS so that it supports PHP:
Expand the IIS directory tree
Right-click Web Site--Select Properties---Select Home directory---Choose Configure---Select the Application Mappings option----Add button adds an extension mapping, click Browse in the pop-up window to point the executable file to Php5isapi.dll location. Examples of this article are: D:\php\php5isapi.dll
The extension is. php, the action is limited to "Get,head,post,trace", the "script engine" to confirm the existence of the file is selected
See Operation
Right-click WEB Server Extensions to set the ISAPI extension to allow
Here you also add an ISAPI extension that you forgot before you wrote the steps, sorry.
The PHP operation environment will not take effect until IIS is restarted after the above operation is completed
When the reboot is complete, test to see if PHP is working properly
Create a text file and save it as check.php
Content:
<?php
Phpinfo ();
?>
If the running information is displayed correctly, the running environment of PHP is already configured to complete
Four, install Zend 2.6x or 2.6x above version
Instance use ZendOptimizer-3.0.1 (download after: Zendoptimizer-3.0.1-windows-i386.exe file, double-click to install)
Installation steps please see the operation, here I install the path for D:\php\zend
(I like to install similar or similar software to the same directory, such as I like to install Zend into the directory of PHP (D:\php\zend), temporarily do not know if there is nothing wrong, according to personal preferences or security, can also be installed to other directories)
Zend automatically configures the php.ini enabled Zend module during the installation process, and you can see that php.ini file will be written at the end of the installation:
[Zend]
Zend_extension_manager.optimizer_ts= "D:\php\Zend\lib\Optimizer-3.0.1"
Zend_extension_ts= "D:\php\Zend\lib\ZendExtensionManager.dll"

I like to install similar software or similar software to the same directory, so it is better to manage, this is based on personal preferences or security to set up
V. Installation of the GD library
To remove from the php.ini; extension=php_gd2.dll; On the line actually before has removed the front; , you don't have to do the same thing here.
Vi. installation of MySQL
Easy to install, please see the operation of the video screen
The process will allow you to enter the root password in MySQL, where I set the password to: 123456

Vii. Installation of phpMyAdmin:
This example uses phpMyAdmin-2.8.1
The areas to be modified are:
$cfg [' pmaabsoluteuri '] = ' http://localhost/phpmyadmin '; phpMyAdmin Web Access URL
$cfg [' blowfish_secret '] = ' fsdfdf433%$^$% '; Cookies encryption key, casually write, the more complex the better
$cfg [' Servers '] [$i] [' auth_type '] = ' cookie '; authentication method (config, HTTP, cookie) Here, select cookies, secure a little
$cfg [' Servers '] [$i] [' user '] = '; MySQL Users
$cfg [' Servers '] [$i] [' password '] = '; MySQL Password
Using the lookup feature, modify as needed

This example to have completed, your server has supported the Php+mysql+zend+gd+phpmyadmin running environment, thank you for your appreciation!!!
This example can be reproduced freely, please indicate the source:
Network Medical Online, have asked to answer http://bbs.netdoc.com.cn

Instance screen in attachment
Http://mindway.cn/archives/2006/08/307.html

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.