PHP Installation Guide: APACHE. First, install and configure PHP31, uncompress the package to your favorite Directory, such as C: PHP32, and change C: php3php3. change the ini-inst file to PHP3.INI and copy it to C: windows3. modify php3.ini. First, install and configure PHP3
1. uncompress the package to your favorite Directory, such as C: \ PHP3.
2. rename the C: \ php3 \ php3.ini-inst file to PHP3.INI and copy it to C: \ windows \
3. modify php3.ini.
A. change doc_root = XXXX to your own APACHE root directory.
For example, doc_root = c: \ apache \ htdocs
B. change extension_dir = XXXX to your own PHP3 installation directory.
For example: extension_dir = c: \ php3
C. If you need the corresponding database support, find
; WindowsExtensions
Extension = php3_mysql.dll I used MYSQL to remove 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
Remove the ";" in the response and click it.
Next, install and configure APACHE.
Open CONF \ HTTPD. CONF in the APACHE Directory for configuration.
Find Change XXXX to your own PHP3 installation directory.
As shown below:
AllowOverrideNone
OptionsNone
Append the following three lines to the end of the HTTPD. CONF file. Note that the content in the first line of quotation marks should be changed to your own PHP3 installation directory. do not change anything else.
ScriptAlias/php3/"c:/php3 /"
AddTypeapplication/x-httpd-php3.php3.php.phtml
Actionapplication/x-httpd-php3 "/php3/php.exe"
Find a file and test it!
Copy a PHP3 file to apache/hdtocs/and start APACHE! LET's go !!
Open your browser and wait for the exciting moment !!!!
Debugging environment: win984.2222apache1.3.11php3.0.15
Secrets 1. uncompress the compressed package to your favorite Directory, such as C: \ PHP3 2. rename the C: \ php3 \ php3.ini-inst file to PHP3.INI and copy it to C: \ windows \ 3. modify php3.ini ....