APACHE + PHP3 + MYSQL in WIN98_PHP tutorial

WBOY
Release: 2016-07-13 17:07:52
Original
846 people have browsed it

Configuration of APACHE+PHP3+MYSQL under WIN98
Author: Sanshang
First, install and configure PHP3
1. Unzip the compressed package to your favorite directory such as: C:PHP3
2. Rename the C:php3php3.ini-inst file to PHP3.INI and copy it to C:windows
3. Modify php3.ini.
a. Modify doc_root=XXXX to your own APACHE root directory
For example, like this: doc_root=c:apachehtdocs
b. Extension_dir=XXXX Change to your own PHP3 installation directory
For example, like this Like this: extension_dir=c:php3
c. If you need the corresponding database support, find
;Windows Extensions
extension=php3_mysql.dll I use MYSQL so I removed this item
;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
And remove the ";" on the response item to activate it.
Next, install and configure APACHE.
Open CONFHTTPD.CONF in the APACHE directory for configuration
Find the sentence and change XXXX to your own PHP3 installation directory.
Like the following:

AllowOverride None
Options None

Append the following 3 at the end of the HTTPD.CONF file OK. Note that the content in the quotation marks in the first line must be changed to your own PHP3 installation directory, and please do not change the others.
ScriptAlias ​​/php3/ "c:/php3/"
AddType application/x-httpd-php3 .php3 .php .phtml
Action application/x-httpd-php3 "/php3/php.exe"
Find a file and test it!
Copy a PHP3 file into apache/hdtocs/ and start APACHE! LET`S GO!!
Open the browser and wait for the exciting moment! ! ! !
Debug environment: Chinese win984.2222 apache1.3.11 php3.0.15



www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/629883.htmlTechArticleConfiguration of APACHE+PHP3+MYSQL under WIN98 Author: Sanshang First, install and configure PHP3 1. Unlock Compress the package to your favorite directory such as: C:PHP3 2. Rename the C:php3php3.ini-inst file to PHP3...
Related labels:
source:php.cn
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template