win2000下安装装IIS5_0和PHP,Mysql攻略_PHP
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啦!
祝大家成功呀!  

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

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

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

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 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.

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 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 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 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.

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.

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.
