Win2003+iis6.0+php5.2.2+mysql 5.0.41+zendoptimizer 3.2.8 +phpmyadmin 2.10.1 Environment Configuration Installation Tutorial graphics and text _ server

Source: Internet
Author: User
Tags mysql in mysql version phpinfo phpmyadmin zend
This tutorial by the It square Information Network www.ithov.com original release, reprint please indicate the source
The relevant software used in this installation is as follows:
Operating system: Windows 2003 Enterprise Edition SP2 +iis6.0
PHP Version: Php-5.2.2-win32.zip
MySQL version: Mysql-5.0.41-win32.zip
Zend Version: Zendoptimizer-3.2.8-windows-i386.exe
phpMyAdmin version: Phpmyadmin-2.10.1-all-languages.zip
Install Accessibility: System Services Srvinstw.exe (this tool will solve the user when installing MySQL can not perform the exectue operation, the very clean uninstall MySQL of various services)
Objective: To allow users to freely configure and efficiently run Php+mysql in Windows 2003 environments, and to manage them effectively through phpMyAdmin.
If you are a novice please carefully read the tutorial, for the installation process encountered during the installation steps provided in the tutorial step-by-step inspection.
Installation start: First, users need to ensure that IIS6.0 has been installed in Windows 2003, if not by adding a removal program to install their own, this article focuses on the relevant steps of environmental erection.
1, in this machine D disk wwwroot (for access to the Web site in IIS directory), PHP (PHP program running files), Mysql (database run file) three folders
2. Installation Php-5.2.2-win32
1 Extract the downloaded php-5.2.2-win32.zip into the D:\php directory
2 Rename the Php.ini-dist file in the directory to php.ini, and php.ini file cut into the C:\Windows directory (if it is 2000 system, put to the C:\Winnt directory)
3 Copy all DLL files in the Ext folder under the D:\php root directory to the system32 directory of the system, so that when you configure the extension library, it will automatically load.
4) Open C:\windows\php.ini file
Find register_globals = off change to register_globals = On
Find Extension_dir = "./" Change to Extension_dir = "D:\php\ext"
Found it
; Extension=php_dbase.dll
; Extension=php_gd2.dll
; Extension=php_mbstring.dll
; Extension=php_mcrypt.dll
; Extension=php_mysql.dll
Remove the ";" in front of the text, and other things you need can also get rid of the front, and then close to save the file.
3. Configure IIS to support PHP
1 Locate and open Internet Information Services (IIS) Manager in Control Panel-Administrative Tools
2 Find the website you need to set up to support the PHP program, right click on the site, and then click "Properties"
3 Click "ISAPI Filter", then click the "Add" button, in the Pop-up Filter Properties dialog box, fill in the Filter name "PHP", the executable file "D:\php\php5isapi.dll", As shown in the following figure (where the Php5isapi.dll path can be selected by the Browse button), click OK to exit
4 Click on the "Home Directory" tab, and then click "Browse" to point the site directory to D:\wwwroot
5 Under the Home Directory tab Click "Configuration", the "Application Configuration" dialog box, and then click the "Add" button, in the pop-up "Add/Edit Application Extension Mapping" dialog box,
Enter D:\php\php5iaspi.dll in the executable file location, enter PHP at the extension, and then determine
6 Click the "Document" tab, and then click the "Add" button, in the pop-up "Add Default Document" dialog box, fill in: index.php, and then OK, and move index.php up
7) Click on "Web Service Extensions", click "Add a new Web service extension", and then in the pop-up "new Web Service Extension" dialog box "extension" in PHP, then click "Add", under "File path" Enter D:\php\php5isapi.dll OK, and then in the " Set extended status to allow "before you hook up, and finally confirm exit."
8 Point Start menu inside the run output "CMD" into the Windows 2003 command line State
Enter the following command to perform step-by-step
net stop w3svc
net stop IISAdmin
net start w3svc
9 Open the Internet Information Services (IIS) Manager to see that PHP in the ISAPI filter has been successfully loaded. (Note: If loading is not normal, check that the permissions settings for the D:\php directory are correct.) )
10 Create a new phpinfo.php in the D:\wwwroot root directory, which reads as follows:
<?php
Phpinfo ();
?>
11 Open the browser, enter: http://localhost/phpinfo.php, will display the current server support PHP all the information, you can see the Server API mode is: ISAPI. To this PHP environment all configuration complete, now your website already can run the normal PHP program.
4. Installation Mysql-5.0.41-win32.zip
1 The download of the Mysql-5.0.41-win32.zip in the Setup.exe file, the installation process, please follow the following diagram to install, after completion will ensure that your MySQL normal operation.
2 detect MySQL, keyboard win + R, pop-up Run dialog box, enter cmd back, enter the command prompt,
Then enter: "Mysql-uroot–p", enter after the request for password, I set the password is 123456, enter the password and then press ENTER.
You can now see the following successful prompts to indicate that all installations were successful
Enter the password for root
The following provided instructions have been installed successfully
Exit MySQL
5. Installation Zendoptimizer-3.2.8-windows-i386.exe
1 to perform the download of the Zendoptimizer-3.2.8-windows-i386.exe, the installation process, please follow the following diagram to install, after completion will ensure that your zend normal operation.
2) Zend installation has been successfully completed. Open the browser, enter: http://localhost/phpinfo.php, will display all the information supported by the current server Zend
5. Installation Phpmyadmin-2.10.1-all-languages.zip
1 phpmyadmin-2.10.1-all-languages.zip The download to the current folder, renamed to phpMyAdmin, and then moved to the site root directory, where I am the D:\wwwroot directory below
2) Edit the config.default.php under D:\wwwroot\phpMyAdmin\libraries
Find cfg[' pmaabsoluteuri '] = ' change to cfg[' pmaabsoluteuri '] = ' http://localhost/phpmyadmin/'//please convert localhost to your actual browsing URL, in the directory Make sure to add the following "/"
Find cfg[' blowfish_secret '] = ' change to cfg[' blowfish_secret '] = ' www.ithov.com89745 '/here casually fill in the content, as long as it is not left blank on the line
Find cfg[' Servers ' [$i] [' host '] = ' localhost ' changed to cfg[' Servers ' [$i] [' host '] = ' localhost '/description: If you are connected to this Machine's database here without modification, if the connection is remote database, please change the localhost to the actual IP address of the database
Find cfg[' Servers ' [$i] [' auth_type '] = ' config ' changed to cfg[' Servers ' [$i] [' auth_type '] = ' cookie '
3 Save the exit, open the browser, clear the cookie information, and then enter Http://localhost/phpmyadmin, you can do related operations
So far, your server environment has been fully configured successfully.
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.