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

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

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 and Python: Comparing Two Popular Programming Languages PHP and Python: Comparing Two Popular Programming Languages Apr 14, 2025 am 12:13 AM

PHP and Python each have their own advantages, and choose according to project requirements. 1.PHP is suitable for web development, especially for rapid development and maintenance of websites. 2. Python is suitable for data science, machine learning and artificial intelligence, with concise syntax and suitable for beginners.

PHP's Purpose: Building Dynamic Websites PHP's Purpose: Building Dynamic Websites Apr 15, 2025 am 12:18 AM

PHP is used to build dynamic websites, and its core functions include: 1. Generate dynamic content and generate web pages in real time by connecting with the database; 2. Process user interaction and form submissions, verify inputs and respond to operations; 3. Manage sessions and user authentication to provide a personalized experience; 4. Optimize performance and follow best practices to improve website efficiency and security.

The Enduring Relevance of PHP: Is It Still Alive? The Enduring Relevance of PHP: Is It Still Alive? Apr 14, 2025 am 12:12 AM

PHP is still dynamic and still occupies an important position in the field of modern programming. 1) PHP's simplicity and powerful community support make it widely used in web development; 2) Its flexibility and stability make it outstanding in handling web forms, database operations and file processing; 3) PHP is constantly evolving and optimizing, suitable for beginners and experienced developers.

PHP and Python: Different Paradigms Explained PHP and Python: Different Paradigms Explained Apr 18, 2025 am 12:26 AM

PHP is mainly procedural programming, but also supports object-oriented programming (OOP); Python supports a variety of paradigms, including OOP, functional and procedural programming. PHP is suitable for web development, and Python is suitable for a variety of applications such as data analysis and machine learning.

PHP in Action: Real-World Examples and Applications PHP in Action: Real-World Examples and Applications Apr 14, 2025 am 12:19 AM

PHP is widely used in e-commerce, content management systems and API development. 1) E-commerce: used for shopping cart function and payment processing. 2) Content management system: used for dynamic content generation and user management. 3) API development: used for RESTful API development and API security. Through performance optimization and best practices, the efficiency and maintainability of PHP applications are improved.

PHP and Python: Code Examples and Comparison PHP and Python: Code Examples and Comparison Apr 15, 2025 am 12:07 AM

PHP and Python have their own advantages and disadvantages, and the choice depends on project needs and personal preferences. 1.PHP is suitable for rapid development and maintenance of large-scale web applications. 2. Python dominates the field of data science and machine learning.

Why Use PHP? Advantages and Benefits Explained Why Use PHP? Advantages and Benefits Explained Apr 16, 2025 am 12:16 AM

The core benefits of PHP include ease of learning, strong web development support, rich libraries and frameworks, high performance and scalability, cross-platform compatibility, and cost-effectiveness. 1) Easy to learn and use, suitable for beginners; 2) Good integration with web servers and supports multiple databases; 3) Have powerful frameworks such as Laravel; 4) High performance can be achieved through optimization; 5) Support multiple operating systems; 6) Open source to reduce development costs.

Choosing Between PHP and Python: A Guide Choosing Between PHP and Python: A Guide Apr 18, 2025 am 12:24 AM

PHP is suitable for web development and rapid prototyping, and Python is suitable for data science and machine learning. 1.PHP is used for dynamic web development, with simple syntax and suitable for rapid development. 2. Python has concise syntax, is suitable for multiple fields, and has a strong library ecosystem.

See all articles