Win200下PHP服务器的简单配置_PHP
这里很多人用的Apache,很少人放出2000的简单配置说明,我就写出来了一点点,也算是共享吧!
先安装mysql,默认安装路径为:c:mysql; 安装完成后,打开“开始”按钮中的“运行”,输入命令:C:mysql/bin/winmysqladmin,并执行; 在第一次用它时,需要建立管理员名及密码,我分别设置为root和(yourpassword)。关闭它后,程序自动在状态行下建立一个“红绿灯”的小图标。
现在开始安装php4,将软件包先用winrar解压到c:php4下,再将目录下的所有dll文件拷到c;winntsystem32下,不要覆盖已有的dll文件;接着将目录下的php.exe和php.ini两个文件拷到c:winnt下; 修改php.ini中的 ; cgi.force_redirect = 1 为 cgi.force_redirect = 0 保存. 打开“开始”按钮下的“程序”=》“管理工具”=》“internet服务管理器”,选中“默认web站点”,打开它的“属性”窗口。在“web站点”页下,改变“IP地址”:“全部未分配”为“(您机子的ip地址,例如:202.195.243.131)”;“TCP端口”为“80”。 接着,选中“主目录”页,单击“应用程序设置”下的“配置”按钮后,在新窗口下单击“添加”按钮;在“可执行文件”中输入“C:WINNTphp.exe %s %s”,在“扩展名”中输入“.php”,点击“确定”。 接着,选中“ISAPI筛选器”页,单击“添加”按钮;在“筛选器名称”中输入“php”,在“可执行文件”中输入“C:WINNTsystem32php4isapi.dll”,点击“确定”。 接着,选中“文档”页,单击“添加”按钮;在“默认文档名”中输入“index.php”,点击“确定”,并将其提高到最高级。您还可以添加常用的php文件名,如:“default.phtml”、“index.php3”等。 关闭所有窗口,重启系统后,可打开IE浏览器进行测试。

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

AI Hentai Generator
Generate AI Hentai for free.

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

What to do if the 0x80004005 error code appears. The editor will teach you how to solve the 0x80004005 error code.

Where can I open the Douyin mini game? Two ways to open Douyin mini games

What is hiberfil.sys file? Can hiberfil.sys be deleted?

Understand Linux Bashrc: functions, configuration and usage

How to configure Dnsmasq as a DHCP relay server

What does iPhone 16 look like? What changes are there in iPhone 16?

How to add a new script in Tampermonkey-How to delete a script in Tampermonkey
