Home > Backend Development > PHP Tutorial > WindowsXP+IIS+PHP5+MySQL5+Zend+GD library+phpMyAdmin+PHPWind 5.3 installation_PHP tutorial

WindowsXP+IIS+PHP5+MySQL5+Zend+GD library+phpMyAdmin+PHPWind 5.3 installation_PHP tutorial

WBOY
Release: 2016-07-13 17:31:42
Original
947 people have browsed it

一、准备工作:
  1、安装好(微软的WEB服务器平台),这是最基本的要求,就不多说了。可以在浏览器中打开:HTTP: align="center"

(微软的WEB服务器平台)安装成功了。注意:此时的iis(微软的WEB服务器平台)还未经配置。 localhost>
WindowsXP+IIS+PHP5+MySQL5+Zend+GD library+phpMyAdmin+PHPWind 5.3 installation_PHP tutorial

  2、准备好所需用到的软件,我所用的具体如下:
    php(做为现在的主流开发语言) V5.2.1 For Windows
    http://www.skycn.com/soft/516.html

    MySQL(和PHP搭配之最佳组合) For Windows V5.2 Alpha
    http://www.skycn.com/soft/1262.html

    php(做为现在的主流开发语言)MyAdmin For     http://www.skycn.com/soft/10687.html

    Zend Optimizer V3.2.6 For     http://www.skycn.com/soft/20133.html

    php(做为现在的主流开发语言)Wind论坛系统 V5.3
    http://www.skycn.com/soft/34201.html

  3、系统构建设定:
    建坛所需用到的软件均安装在“F:MyForumProg”目录下,iis(微软的WEB服务器平台)根目录为“F:MyForumProgMyBBS”目录;
  本例中MySQL(和PHP搭配之最佳组合)系统“root”用户口令为“123456”,论坛数据库名为“MyData”。
  如果大家的系统设定与此不同,请注意在相关处自行修改。

  另:在所配截图中,请注意鼠标箭头所指。


二、php(做为现在的主流开发语言)安装:
  1、将“php(做为现在的主流开发语言) V5.2.1 for (标准化越来越近了):NAMESPACE PREFIX = Windows”安装包直接解压到“F />(做为现在的主流开发语言)”目录下(见下图)。 align="center"

WindowsXP+IIS+PHP5+MySQL5+Zend+GD library+phpMyAdmin+PHPWind 5.3 installation_PHP tutorial

  2、将“F:MyForumProgphp(做为现在的主流开发语言)”目录下的“php(做为现在的主流开发语言).exe”、“php(做为现在的主流开发语言)-win.exe”及“php(做为现在的主流开发语言).ini-recommended”等三个文件拷贝到“C:WinXP”目录下;将“F:MyForumProgphp(做为现在的主流开发语言)”目录下所有的“.dll”文件拷贝到“C:WinXPsystem32”目录下。我在拷贝时未见有重名提示,如有重名提示就选择覆盖。
  另:有些教程上特别提到:“要将‘F:MyForumProgphp(做为现在的主流开发语言)ext’目录下所有的‘.dll’文件也拷贝到‘C:WinXPsystem32’目录下”,我没拷也装成了,但不知道将来在使用过程中会不会有影响。

  3、将“C:WinXPphp(做为现在的主流开发语言).ini-recommended”文件改名为“php(做为现在的主流开发语言).ini”,然后用记事本打开编辑。
  查找字符串“register_globals = Off”,将“register_globals = Off”改为“register_globals = On”(见下图);

WindowsXP+IIS+PHP5+MySQL5+Zend+GD library+phpMyAdmin+PHPWind 5.3 installation_PHP tutorial

  查找字符串“extension_dir =”,将“extension_dir = "."”改为“extension_dir = "F:MyForumProgphp(做为现在的主流开发语言)ext"”(见下图);

WindowsXP+IIS+PHP5+MySQL5+Zend+GD library+phpMyAdmin+PHPWind 5.3 installation_PHP tutorial

Search for the string "; ; extension=php (as the current mainstream development language) _dbase.dll Optional
 ;extension=php(as the current mainstream development language)_gd2.dll  This item is used to support the GD library. It is generally required and must be selected
;extension=php(as the current mainstream development language)_ldap.dll Optional
 ;extension=php(as the current mainstream development language)_mbstring.dllThis If this option is not selected, use php(as the current mainstream development language)MyAdmin will prompt an error, and must select
 ;extension=php(as the current mainstream development language) _mssql(Powerful database platform on WINDOWS platform).dll This item is used to support mssql(Powerful database platform on WINDOWS platform) database, optional
; extension=php (as the current mainstream development language)_MySQL(the best combination with PHP).dll This item is used to support MySQL(the best combination with PHP) )Database, required

WindowsXP+IIS+PHP5+MySQL5+Zend+GD library+phpMyAdmin+PHPWind 5.3 installation_PHP tutorial
Finally, save the file and exit, php(as the current mainstream development language)This is the installation , configuration completed.


3. Configure iis (Microsoft's WEB server platform) to support php (as the current mainstream development language) :
 1. Running mode selection: php(as the current mainstream development language)There are two running modes: cgi(not many people use it now) and ISAPI . Generally speaking, the cgi (not many people use it now) mode consumes high system resources and is easily unreflected due to timeout, but it is actually safer; while the ISAPI mode has high execution efficiency and consumes system resources Small, strong load capacity, but slightly less safe. This example is about local installation, and the security requirements can be relaxed appropriately. Therefore, the configuration steps are introduced using the ISAPI mode as an example.

2. Double-click "Administrative Tools" in "Control Panel" to run "Internet Information Services", and in the "Internet Information Services" window that pops up, click on the "+" sign on the left step by step. Until the "Default Website" appears; right-click on the "Default Website" and click "Stop" to stop the Web support of iis(Microsoft's WEB server platform) for configuration (see the picture below).

WindowsXP+IIS+PHP5+MySQL5+Zend+GD library+phpMyAdmin+PHPWind 5.3 installation_PHP tutorial


3. Right-click on "Default Website" and click "Properties" (Note: At this time, "Default Website" has become "Default Website (Stop)"), start configuring iis(Microsoft's WEB server platform) (see the picture below).

WindowsXP+IIS+PHP5+MySQL5+Zend+GD library+phpMyAdmin+PHPWind 5.3 installation_PHP tutorial


4. In the "Default Website (Stop) Properties" window that pops up, click "Home Directory" and change " "Local Path" is set to "F:MyForumProgMyBBS" (see the picture below);

WindowsXP+IIS+PHP5+MySQL5+Zend+GD library+phpMyAdmin+PHPWind 5.3 installation_PHP tutorial

Note: "Execute permissions" in the "Application Settings" column "The item should be "Pure Script" (default option, see the picture below);

WindowsXP+IIS+PHP5+MySQL5+Zend+GD library+phpMyAdmin+PHPWind 5.3 installation_PHP tutorial

Then, click the "Configure" button on the right (See picture below);

WindowsXP+IIS+PHP5+MySQL5+Zend+GD library+phpMyAdmin+PHPWind 5.3 installation_PHP tutorial
www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/508917.htmlTechArticle1. Preparation: 1. Install (Microsoft's WEB server platform). This is the most basic requirement. Not much to say. Can be opened in the browser: HTTP: align="center" (Microsoft's WEB service...

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template