Configuration of Apache+php3+mysql under WIN98
Author: Sam Shang
First, install and configure the PHP3
1. Unpack the package to your favorite directory such as: C:PHP3
2. Rename the C:php3php3.ini-inst file to Php3.ini and copy to C:windows
3, modify the Php3.ini.
A, change the doc_root=xxxx to your own Apache root directory
Like this: Doc_root=c:apachehtdocs
B, extension_dir=xxxx change to your own PHP3 installation directory
Like this: extension_dir=c:php3
C, if you need the appropriate database support to find
; Windows Extensions
Extension=php3_mysql.dll I used MySQL so I removed the 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 live it.
Next, install and configure Apache.
Open the Apache directory under confhttpd.conf to configure
Found it One sentence, change xxxx to your own PHP3 's installation directory.
Like this:
AllowOverride None
Options None
Append the following 3 lines to the end of the httpd.conf file. Note that the first line of quotation marks is changed to your own PHP3 installation directory, others please do not change.
scriptalias/php3/"c:/php3/"
AddType application/x-httpd-php3. php3. php. phtml
Action application/x-httpd-php3 "/php3/php.exe"
Find a file to test it!
Copy a PHP3 file into the apache/hdtocs/and start the apache! Let ' S go!!
Open the browser to wait for the excitement of the moment!!!!
Commissioning environment: Chinese win984.2222 apache1.3.11 php3.0.15
http://www.bkjia.com/PHPjc/629878.html www.bkjia.com true http://www.bkjia.com/PHPjc/629878.html techarticle Apache+php3+mysql under WIN98 configuration author: Sanchang First, install and configure PHP3 1, unpack the package to your favorite directory such as: C:PHP3 2, rename c:php3php3.ini-inst file to PHP3 ...