win2008 R2 Build PHP website Environment Analysis _win Server

Source: Internet
Author: User
Tags configuration php php website win32 windows x86 phpmyadmin zend microsoft iis
Windows 2008 R2 iis7.5+php+mysql+zend+fastcgi+xcache+phpmyadminp+ Empire Backup full Configuration concise version of the tutorial

Objective

In fact, Windows Server 2008 and Windows Server 2008 R2 are equipped with environment-matching software that allows you to choose the environment you want to match, such as the PHP Web environment In view of the current php5.3.1 can not perfect support for the mainstream PHP system, do not recommend that everyone use.
windows2008 Server R2 under the environment to build three kinds of circumstances, we can according to their own operation needs to choose.

1, Iis7.5+php+mysql+wincache 1.0RC, download address:

http://sourceforge.net/projects/wincache/files/

This environmental mix has already been seen without Zend.
Each version is:
php5.2.17– Please note that the non-thread safe version of PHP 5.2.17 non-thread-safe zip package, download address:

http://windows.php.net/download/

MYSQL5.0 x64,
WINCACHE1.0RC for5.2, this everyone can go to Microsoft IIS official download, he will greatly improve the efficiency of your system!
If your server is running open source programs, do not need to Zend, we strongly recommend that you use this configuration!

2, Iis7.5+php+mysql+zend+xcache (Note: The following demo is this package)

This composite version is:
Php-5.2.17-win32-vc6-x86.zip PHP Please note that the thread safe version
Mysql-essential-5.0.91-winx64.msi
Zendoptimizer3.3.3-windows x86
Xcache1.3 for Xcache-1.3.0-php-5.2.17-win32-vc6-x86.zip
This combination can perfectly run today's mainstream PHP system, but the drawback is that using PHP thread safe version can not load Wincache, unfortunately! But you can use XCache as a supplement, but it's much better than PHP-ISAPI mode!

3, in view of the new characteristics of IIS7.5, can be customized according to the specific situation of each site belongs to his proprietary operating environment!

In iis7.5 fastcgi mode, IIS officially recommends a separate application pool for each site, and each site can have its own php.ini and Fastcgi.exe. Allows you to run different versions of PHP on a single host. [1]

[1] The above content is quoted from the network.
[2] There are only X64 versions of Windows 2008 R2, Windows 2008 has X86 and X64 versions, and Windows 7 has X86 and X64 versions. The following tutorials are also supported for the previous two X86 versions, and only need to replace the MySQL counterpart version.

Prep Program

Select these versions to be aware that MySQL can choose 64 bits under Windows Server 2008 R2, PHP VC6 for IIS, VC9 for Apache, thread-safe and unsecured versions are selected for thread-safe versions. PHP thread safe version cannot load Wincache, so we use XCache as an alternative, if you want to use Wincache to choose a non-thread safe version,

1.mysql-essential-5.0.91-winx64.msi

Download Address:
Http://downloads.skysql.com/archive/signature/p/mysql/v/5.0/f/mysql-essential-5.0.91-winx64.msi

Http://dev.mysql.com/downloads/mysql/5.1.html



2.php-5.2.17-win32-vc6-x86.zip
Download Address:

http://windows.php.net/downloads/releases/
Http://sourceforge.net/projects/phpinstallermsi/files/zip/php-5.2.17-nts-Win32-VC6-x86.zip/download

3.zendoptimizer-3.3.3-windows-i386.exe
Download Address:

Http://www.jb51.net/softs/9305.html

4. Xcache1.3.2for-php-5.2.17-win32-vc6-x86.zip
Download Address:
Http://xcache.lighttpd.net/pub/Releases/1.3.2/

5.phpmyadmin-3.3.10.-all-languages.zip
Download Address:
http://www.phpmyadmin.net/home_page/downloads.php

6. Empire Backup King
Download Address:
http://www.phome.net/

Installation Configuration Path Planning
MySQL D:\service\ MySQL
PHP D:\service\ PHP
Zend D:\service\ Zend
Mysqldatebase D:\service\ Mysqldatebase
WEB Directory D:\WEB\ZTGPS

The following tutorials are fully illustrated, partially optimized, fully tested, the main debugging environment Windows 2008 R2 SP1 Server has installed components Net.fromwork 4+vc2008x64, tutorials are not welcome to explore.

Directory:
Write it on the floor. Complete luxury Tutorials Word files are organized into more than 40 pages, and are quite detailed.
Please do not PM me to request complete, I can provide you with technical support. But it won't be free, I'll answer a little question.
In fact, to tell the truth to write a tutorial is very tired, not difficult to operate, of course, is the basis of the webmaster, if not a little bit of foundation, or float it. So this concise tutorial is hoping to guide you to build this environment. I also admit that this is a half advertising bar, so willing to give a gold coin I am still very grateful. After all, it's not easy to write a tutorial.

First, install the configuration MySQL
Second, install the configuration IIS7.5
Third, install the configuration php
Iv. IIS7.5 Configuration fastcgi
V. Installation of Zendoptimizer
Vi. XCache Installation and configuration
Seven, Web page compression configuration eight, configure phpMyAdmin

Nine, Empirebak v2010 Empire Backup
Ten, static installation configuration
Xi. Other Matters

Microsoft Web Platform Installer 3.0
Tmicrosoft Web Platform Installer 3.0 (Web PI) is a free tool that allows you to get the latest components of the Microsoft Web platform, including Internet information Services (IIS), SQL Serve R Express,. NET Framework, and Visual Web Developer. The built-in Windows Web application library for Web PI also enables you to easily install and run the most popular free WEB applications for blog writing and content management.
Download Address:
Http://www.microsoft.com/web/downloads/platform.aspx

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.