PHP Installation Guide: APACHE_PHP tutorial

Source: Internet
Author: User
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 ....

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.