iis6.0+php5.x+mysql5.x+zend3.0x+gd+phpmyadmin2.8x General Installation Example (completed _php tutorial

Source: Internet
Author: User
Tags windows x86
Recording + Adjustment It took a few little steps to get the iis6.0+php5.x+mysql5.x+zend3.0x+gd+phpmyadmin2.8x generic installation instance
friends who need to be able to download and see
/uploadfiles/file/iis.rar

Description
iis6.0+php5.x+mysql5.x+zend5.0x+gd+phpmyadmin2.8x General Installation Examples
Recommended to see the attachment of the video file, more intuitive
For the tutorial screen is too large, before you do the video tutorial has written the steps, you do not have to enter text in the recording process
First, download the required software
Recommended software to go to the official website to download, to prevent the package is attached or modified files
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 URL is php-5.1.2-win32.zip
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 also be downloaded using the same method, without having to download the software on other websites.
2.MySQL
The instance uses 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 a registered user to log on after selecting the platform version of Windows x86
After all, to provide such powerful software, register a support software development
4.phpMyAdmin
Select Current version, official website
http://www.phpmyadmin.net/home_page/index.php

5.GD Library
The PHP package contains GD library files
When configuring the php.ini, remove the preceding;

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

Second, install IIS (ie Internet information manager)
If you have IIS installed on your server, you can save some steps, and 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 compressed package (x is the version number of PHP) to the desired directory, this instance uses the PHP version: php-5.1.6
For example
c:\php
d:\php
You can also use an irregular directory name, such as:
C:\abcdefe
D:\abcdefe
But try to "do not function" special characters, this example uses d:\php
2. Editing
Rename the Php.ini-dist file under directory to PHP.ini
Open php.ini with text editing software and modify it accordingly
Using the Find feature
Search
Register_globals = Off
Off change to On
Search
Extension_dir =
Change into
Extension_dir = "D:\php\ext" (Here the "D:\php\ext" directory is the PHP installation directory ext If you PHP installed under c:\php, then this will be 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 built by itself, the default does not have this folder, try "Do not function" special characters)
Search
Windows Extensions
To turn on the function of the module in front of some common functions;
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
There will be a detailed functional description of the module later
Search
; Session.save_path = "/tmp"
Change into
Session.save_path = "D:\php\tmp" (Here the TMP directory is self-established, the default does not have this folder, try "Do not function" special characters)

3. Copying
Copy PHP.ini to%windir%
(%windir% refers to the installation directory of Windows, if your system is installed on the C drive and is a Server 2003 system, then%windir% refers to C:\Windows, if the system is installed on the D drive and the system is WINDWS server2000 then% Windir% refers to: C:\Winnt, the operating system used by the instance is Server 2003 and is installed on the C drive, so the php.ini is copied to C:\Windows)
Copy all DLL files under PHP installation directory (refer to root directory file, "Do not contain" DLL file under Ext folder) to%windir%\system32 (note above, instance using C:\Windows\System32)
The above replication steps can be performed using a batch file, 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 into Notepad and save the file name to Copy.bat double-click to automate the copy step

It seems that there is no automatic establishment of the directory, and then try to see, oh, faint, not to be executed alone, forget, we still manually set up those two directories, I am looking for a simple way to use that method
Explain:
Copy php.ini%windir%/y Copying php.ini to c:\windows/y means overwriting the original file if the file exists
Copy *.dll%windir%\system32/y copy d:\php all extensions DLL files to c:\windows\system32/y if the file exists, overwrite the original file
MD tmp/y Create folder tmp/y refers to the original directory if the file exists
MD upload_tmp/y Create folder upload_tmp/y refers to the original directory if the file exists

3. Configuration
Configure IIS to support PHP:
Expand the IIS directory tree
Right-click Web site-Select Properties---Select Home directory---Select configuration---Select the application mapping option----Add button adds an extension mapping, click Browse in the pop-up window to point the executable to the location of Php5isapi.dll, This example is: D:\php\php5isapi.dll
The extension is. php, the action is limited to "Get,head,post,trace", the "script engine" "Confirm File Existence" check
See Operation
Right-click the WEB Server Extensions setting for the ISAPI extension to allow
There is also an ISAPI extension to add, which was forgotten before the steps were written, sorry
The PHP runtime environment will not take effect until the above operation is completed after restarting IIS
After the reboot is complete, test to see if PHP works correctly
Create a text file and save it as check.php
Content:
Phpinfo ();
?>
If the running information is displayed properly, the PHP operating environment is configured to complete
Iv. installation of Zend 2.6x or above version 2.6x
Instance using ZendOptimizer-3.0.1 (downloaded after: Zendoptimizer-3.0.1-windows-i386.exe file, double-click Install)
Installation step please see operation, here I install path for d:\php\zend
(I like to install similar or similar software into the same directory, such as I like to install Zend in the directory of PHP (d:\php\zend), I do not know if there is anything wrong, according to personal preferences or security, can also be installed in other directories)
Zend automatically configures php.ini to enable the Zend module during installation, you can see that the 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 into the same directory, which is better managed, which is set according to personal preferences or security
V. Installation of GD Library
To remove from the php.ini; Extension=php_gd2.dll in front; In fact, the previous has been removed; , you don't have to do the same thing here.
Vi. installation of MySQL
Installation is simple, please see the video screen operation
In the process will let enter the root user password in MySQL, here I set the password is: 123456

Vii. Installation of PhpMyAdmin:
This example uses phpMyAdmin-2.8.1
The places to be modified are:
$cfg [' pmaabsoluteuri '] = ' http://localhost/phpmyadmin '; phpMyAdmin Web Access URL
$cfg [' blowfish_secret '] = ' fsdfdf433%$^$% '; Cookie encryption key, write casually, the more complex the better
$cfg [' Servers '] [$i] [' auth_type '] = ' cookie '; authentication method (config, HTTP, cookie) Choose a cookie here, a little safer.
$cfg [' Servers '] [$i] [' user '] = '; MySQL User
$cfg [' Servers '] [$i] [' password '] = '; MySQL Password
Use the Find feature to modify as needed

This instance has been completed, your server has supported the Php+mysql+zend+gd+phpmyadmin operating environment, thank you for your appreciation!!!
This example can be freely reproduced, please specify the source:
Network Medical Online, there are questions must answer http://bbs.netdoc.com.cn

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

http://www.bkjia.com/PHPjc/317362.html www.bkjia.com true http://www.bkjia.com/PHPjc/317362.html techarticle Recording + Adjustment It took a couple of little steps to get the iis6.0+php5.x+mysql5.x+zend3.0x+gd+phpmyadmin2.8x generic installation instance ready for a friend to download to see/uploadfiles/file/ Iis.rar Description: ...

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