APACHE + PHP3 + mysql in win98_php tutorial

Source: Internet
Author: User
Tags php3 file unpack
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/629883.html www.bkjia.com true http://www.bkjia.com/PHPjc/629883.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 ...

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