Home Backend Development PHP Tutorial win2000下安装装IIS5_0和PHP,Mysql攻略_PHP

win2000下安装装IIS5_0和PHP,Mysql攻略_PHP

Jun 01, 2016 pm 12:35 PM
mysql php Install

IISmysql安装

有许多刚学ASP的和PHP的网友都有不知如何在WIN2000设置IIS的困难,现在我就将我个人在

WIN2000的IIS安装给大家介绍一下


1
.首先你需要在WIN2000中安装IIS5(Pro/Svr皆可)其方法是在控制面板中的Add/Remove

Program中选择Add
/Remove Windows Component然后将Internet Information Service选中

点Next即可。

2
.其次你需要配置IIS在Administrative Tools中的Internet Information Service(Srv)

者控制面板中的
"管理工具"中的IIS(Pro)中的左边的树型表中选择Default Web Site点右键

选择属性在默认目录中选择你的ASP所存放的目录名在默认文件名中把你的ASP文件名添加进

并设置为首项就行了。注意:在设置中要把主目录中的应用程的设置给激活,第一次我进行设

置时也是因为没有激活而一直没法用上
.



PS
:你也可以安装PWS(Personal Web Server,IIS的简版)方法与在Win98中的相同。

好了现在开始设置PHP和Mysql了
:

1
.先安装mysql用winzip8.0打开软件包进行完全安装默认安装路径为:c:mysql

安装完成后
打开“开始”按钮中的“运行”输入命令C:mysqlinmysqld-nt.exe --

install并执行

打开“开始”按钮下的“程序”
=》“管理工具”=》“服务”找到“mysql”服务启动它

至此
mysql安装完成重启win2000adanced server。您还可以打开

C
:mysqlinwinmysqladmin.exe在第一次用它时需要建立管理员名及密码我分别设置为

root和
yourpassword。关闭它后程序自动在状态行下建立一个“红绿灯”的小图标。  

2.现在开始安装php4将软件包先用winzip解压到c:php4下再将目录下的所有dll文件拷到

c
;winntsystem32下不要覆盖已有的dll文件接着将目录下的php.exe和php.ini-dist两个文

件拷到c
:winnt下

将c
:winntphp.ini-dist改名为php.ini,并打开它,找到;Windows Extensions,

extension
=php_calendar.dll、extension=php_zlib.dll、extension=php_ldap.dll前的“

去掉
关闭该文件。

打开“开始”按钮下的“程序”
=》“管理工具”=》“internet服务管理器”选中“默认web站

点”
打开它的“属性”窗口。在“web站点”页下改变“IP地址”“全部未分配”为“

机子的ip地址
例如127.0.0.1“TCP端口”为“80”。  

接着选中“主目录”页单击“应用程序设置”下的“配置”按钮后在新窗口下单击“添

加”按钮
在“可执行文件”中输入“C:WINNTphp.exe   %s %s”在“扩展名”中输入

“.php”
点击“确定”。

接着
选中“ISAPI筛选器”页单击“添加”按钮在“筛选器名称”中输入“php”在“可

执行文件”中输入“C
:WINNTsystem32php4isapi.dll”点击“确定”。

接着
选中“文档”页单击“添加”按钮在“默认文档名”中输入“index.php”点击“确

定”.

再次重启你的计算机就OK啦
!

祝大家成功呀
! &nbsp
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

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
2 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Repo: How To Revive Teammates
4 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

PHP 8.4 Installation and Upgrade guide for Ubuntu and Debian PHP 8.4 Installation and Upgrade guide for Ubuntu and Debian Dec 24, 2024 pm 04:42 PM

PHP 8.4 brings several new features, security improvements, and performance improvements with healthy amounts of feature deprecations and removals. This guide explains how to install PHP 8.4 or upgrade to PHP 8.4 on Ubuntu, Debian, or their derivati

CakePHP Date and Time CakePHP Date and Time Sep 10, 2024 pm 05:27 PM

To work with date and time in cakephp4, we are going to make use of the available FrozenTime class.

CakePHP File upload CakePHP File upload Sep 10, 2024 pm 05:27 PM

To work on file upload we are going to use the form helper. Here, is an example for file upload.

Discuss CakePHP Discuss CakePHP Sep 10, 2024 pm 05:28 PM

CakePHP is an open-source framework for PHP. It is intended to make developing, deploying and maintaining applications much easier. CakePHP is based on a MVC-like architecture that is both powerful and easy to grasp. Models, Views, and Controllers gu

How to fix mysql_native_password not loaded errors on MySQL 8.4 How to fix mysql_native_password not loaded errors on MySQL 8.4 Dec 09, 2024 am 11:42 AM

One of the major changes introduced in MySQL 8.4 (the latest LTS release as of 2024) is that the "MySQL Native Password" plugin is no longer enabled by default. Further, MySQL 9.0 removes this plugin completely. This change affects PHP and other app

How To Set Up Visual Studio Code (VS Code) for PHP Development How To Set Up Visual Studio Code (VS Code) for PHP Development Dec 20, 2024 am 11:31 AM

Visual Studio Code, also known as VS Code, is a free source code editor — or integrated development environment (IDE) — available for all major operating systems. With a large collection of extensions for many programming languages, VS Code can be c

CakePHP Quick Guide CakePHP Quick Guide Sep 10, 2024 pm 05:27 PM

CakePHP is an open source MVC framework. It makes developing, deploying and maintaining applications much easier. CakePHP has a number of libraries to reduce the overload of most common tasks.

How do you parse and process HTML/XML in PHP? How do you parse and process HTML/XML in PHP? Feb 07, 2025 am 11:57 AM

This tutorial demonstrates how to efficiently process XML documents using PHP. XML (eXtensible Markup Language) is a versatile text-based markup language designed for both human readability and machine parsing. It's commonly used for data storage an

See all articles