win2008 R2 build php website environment analysis

  • 2020-05-10 23:10:30
  • OfStack

Windows 2008 R2 IIS7.5 +PHP+Mysql+Zend+Fastcgi+Xcache+phpmyadminp+ empire backup full configuration simplified tutorial

preface

In fact, windows Server 2008 and windows Server 2008 R2 come with environment matching software (you can choose the environment you want to match through this software, such as PHP website environment). Since php 5.3.1 cannot support the mainstream php system perfectly, it is not recommended to use it.
windows2008 Server R2 there are three types of environment construction, which you can choose according to your own operation needs.

1. IIS7.5 +PHP+Mysql+Wincache 1.0RC

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

You can already see this combination of environments without zend.
The versions are:
Please note that PHP 5.2.17 is a non-thread safe version of PHP 5.2.17. Non-thread-safe zip package

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

MYSQL5. 0 x64,
Wincache1.0rc for5.2, you can go to Microsoft IIS official download, it will greatly improve your system operation efficiency!
If your server is running open source programs that do not require zend, it is highly recommended that you use this configuration!

2. IIS7.5+PHP+Mysql+Zend+Xcache (note: this scheme is demonstrated below)

The combined versions are:
Please note that Php-5.2.17-win32-vc6-x86.zip PHP is a 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 is perfect for running today's mainstream PHP systems, but the fly in the face is the inability to load wincache with the PHP thread-safe version. You can use xcache as a supplement, but it's much better than PHP-ISAPI!

3. In view of the new features of IIS 7.5, it is possible to customize its own proprietary operating environment according to the specific situation of each site!

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.allow different versions of PHP to run on one host.[1]

[1] the above part is from the Internet.
[2] Windows 2008 R2 has only X64 versions, Windows 2008 has X86 and X64 versions, and Windows 7 has X86 and X64 versions. The following tutorial also supports the first two versions of X86, just replace the corresponding version of MYSQL.

Preparing the

It is important to note, select the following these versions MYSQL in windows server 2008 R2 can choose 64 - bit, PHP VC6 is for IIS, VC9 apache, thread safety and non safety version is thread-safe version of the selection, PHP thread-safe version cannot load wincache, so we used Xcache as an alternative, if you want to use wincache choose not 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:

//www.ofstack.com/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/

Setup 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 tutorial is fully explained, partially optimized, and fully tested. The main debugging environment Windows 2008 R2 SP1 server has installed components NET.FROMWORK 4+VC2008X64.

Directory:
The complete deluxe tutorial WORD has more than 40 pages of documentation and is quite detailed.
Please do not PM I claim the full, I can provide technical support for you. But it won't be free. I'll answer a little question.
Actually tell the truth to write a tutorial very tired, operation is not difficult, of course, is to have the foundation of the stationmaster, if there is no 1 bit of foundation, or drift it. So this brief tutorial is intended to guide you through the setup. I also admit that this is a half advertisement, so I would like to give a gold coin I am very grateful. After all, it's not easy to write a tutorial.

1. Install and configure MySQL
2. Install configuration IIS 7.5
3. Install and configure PHP
4. IIS 7.5 is configured with FASTCGI
5. Install ZendOptimizer
6. Xcache installation configuration
8. Configure phpmyadmin

9. EmpireBak v2010 empire backup
10. Static installation configuration
101. Other business

Microsoft Web Platform Installer 3.0
TMicrosoft Web platform installer 3.0 (Web PI) is a free tool that provides access to the latest components of the Microsoft Web platform (Internet Information Services (IIS), SQL Server Express,.NET Framework and Visual Web Developer Developer). Web PI's built-in Windows Web application library also makes it easy to install and run the most popular free web applications for things like blogging and content management.
Download address:
http://www.microsoft.com/web/downloads/platform.aspx

Related articles: