search
Homephp教程php手册APACHE + PHP3 + MYSQL在WIN98下的配置

APACHE+PHP3+MYSQL在WIN98下的配置
作者:三尚
首先,安装并配置PHP3
1、解开压缩包到你喜欢的目录如:C:PHP3
2、把C:php3php3.ini-inst文件改名成PHP3.INI并拷贝到C:windows
3、修改php3.ini。
a、修改doc_root=XXXX 改成你自己APACHE的根目录
比如像这样:doc_root=c:apachehtdocs
b、extension_dir=XXXX    改成你自己PHP3的安装目录
比如像这样:extension_dir=c:php3
c、如果需要相应的数据库支持找到
;Windows Extensions
extension=php3_mysql.dll    我用MYSQL所以去掉了该项
;extension=php3_calendar.dll
;extension=php3_dbase.dll
;extension=php3_gd.dll
;extension=php3_dbm.dll
;extension=php3_mssql.dll
;extension=php3_zlib.dll
;extension=php3_filepro.dll
;extension=php3_imap4r1.dll
;extension=php3_ldap.dll
;extension=php3_crypt.dll
;extension=php3_msql2.dll
;extension=php3_odbc.dll
并去掉响应项上的“;”击活它。
接下来,安装并配置APACHE。
打开APACHE目录下CONFHTTPD.CONF进行配置
找到一句,把XXXX改成你自己的PHP3的安装目录。
像下面这样:

    AllowOverride None
    Options None

在HTTPD.CONF文件末尾追加下面3行。注意第一行引号里面的东西要改成你自己PHP3的安装目录,其他的请不要改动。
ScriptAlias /php3/ "c:/php3/"
AddType application/x-httpd-php3 .php3 .php .phtml
Action application/x-httpd-php3 "/php3/php.exe"
找个文件测试一下吧!
将一个PHP3文件拷贝进apache/hdtocs/,启动APACHE!LET`S GO!!
打开浏览器等待那激动的时刻吧!!!!
调试环境:中文win984.2222 apache1.3.11 php3.0.15



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

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)
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. How to Fix Audio if You Can't Hear Anyone
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Chat Commands and How to Use Them
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌

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

WebStorm Mac version

WebStorm Mac version

Useful JavaScript development tools

MinGW - Minimalist GNU for Windows

MinGW - Minimalist GNU for Windows

This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

VSCode Windows 64-bit Download

VSCode Windows 64-bit Download

A free and powerful IDE editor launched by Microsoft