search
Homephp教程php手册win2000上怎么装PHP+MYSQL

mysql

用IIS,php4和mysql的软件包是php-4.0.1pl2-Win32.zip、mysql-3.23.19-beta-win.zip。 windows2000(p) + IIS 5.O

1:安装mysql

after setup all is ok but run : C:\mysql\bin\mysqld-nt.exe --install “开始”按钮下的“程序”=》“管理工具”=》“服务”,找到“mysql”服务,启动; mysql setup ok!

2:安装php4

  解压到c:\php4下,再将目录下的所有dll文件拷到c;\windows\system32下(包裹子目录),不要覆盖已有的dll文件; 接着将目录下的php.exe和php.ini-dist两个文件拷到c:\winnt下; 将c:\winnt\php.ini-dist改名为php.ini,并打开它, 找到;Windows Extensions, 将extension=php_zlib.dll、extension=php_ldap.dll前的“;”去掉. 修改 extension_dir = ./ 为 extension_dir = c:\windows\system\ 在[mysql]栏下修改
mysql.default_port = 3306
mysql.default_host = localhost
mysql.default_user = root

  打开“开始”按钮下的“程序”=》“管理工具”=》“internet服务管理器”,选中“默认web站点”,打开 它的“属性”窗口。在“web站点”页下,改变“IP地址”:您机子的ip地址,例如: 192.168.0.29)”;“ TCP端口”为“80”。

  接着,选中“主目录”页,单击“应用程序设置”下的“配置”按钮后,在新窗口下单击“添加”按钮;
在“ 可执行文件”中输入“C:\WINNT\php.exe %s %s”,在“扩展名”中输入“.php”,点击“确定”。
在“ 可执行文件”中输入“C:\WINNT\php.exe %s %s”,在“扩展名”中输入“.php3”,点击“确定”。 (对PHPADMIN的支持)

  接着,选中“ISAPI筛选器”页, 单击“添加”按钮;在“筛选器名称”中输入“php”,在“可执行文件”中输入 “ C:\WINNT\system32\php4isapi.dll”,点击“确定”。 单击“添加”按钮;在“筛选器名称”中输入“php3”,在“可执行文件”中 输入
“ C:\WINNT\system32\php4isapi.dll”,点击“确定”。 接着,选中“文档”页,单击“添加”按钮;在“默认文档名”中输入“index.php”,点击“确定”

3:安装phpadmin



Statement
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 Article

Hot Tools

VSCode Windows 64-bit Download

VSCode Windows 64-bit Download

A free and powerful IDE editor launched by Microsoft

WebStorm Mac version

WebStorm Mac version

Useful JavaScript development tools

mPDF

mPDF

mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

SAP NetWeaver Server Adapter for Eclipse

SAP NetWeaver Server Adapter for Eclipse

Integrate Eclipse with SAP NetWeaver application server.

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor