Installation _php Tutorials for php5.2+apache2.2+bugfree1.0

Source: Internet
Author: User
1. Install Apache (the most popular Web server platform on UNIX platforms)
First stop the machine's IIS (Microsoft Web server platform) (if it is started, because the default installation of Apache (Unix platform is the most popular Web server platform) use is also 80 port, will not stop the conflict)
Download the official website of Apache (the most popular Web server platform on UNIX platform) to Apache (the most popular Web server platform on UNIX platform) _2.2.3-win32-x86-no_ssl, double-click Install, It is best not to install the path under a space can be C:apache (Unix platform most popular Web server platform) 2
Launch Apache (the most popular Web server platform for UNIX platforms) http://localhost in IE if you see a page that says it works notes that APACEH is working properly
2. Install PHP (as the current mainstream development language) 5
Download the official website of PHP (as the current mainstream development language) to PHP (as the current mainstream development language) -5.2.0-win32.zip, unzip the directory name to PHP (as the current mainstream development language), copy to C:
PHP (as the current mainstream development language) in PHP (as the current mainstream development language). Ini-dist renamed PHP (as the current mainstream development language). ini Copy to C:windows (or: Winnt depending on the operating system), put PHP ( As the current mainstream development language) 5ts.dll and Libmysql (the best combination with PHP) copied to C:windowssystem32
3. Enable Apache (the most popular Web server platform on UNIX platforms) to run PHP (as a mainstream development language) program
Modify the C:apaceh2confhttpd.conf file
In the next line of #loadmodule Ssl_module modules/mod_ssl.so, add

* * (Note If your Apache (Unix platform is the most popular Web server platform) is version 2.2 plus the following sentence)
LoadModule PHP (as the current mainstream development language) 5_module c:/php (as the current mainstream development language)/php (as the current mainstream development language) 5apache (Unix platform The most popular Web server platform) 2_2.dll
(Note If your Apache (Unix platform is the most popular Web server platform) is version 2.0 plus the following sentence)
LoadModule PHP (as the current mainstream development language) 5_module c:/php (as the current mainstream development language)/php (as the current mainstream development language) 5apache (Unix platform most popular web server platform) 2.dll
On the next line of AddType Application/x-gzip. GZ tgz Plus
AddType application/x-httpd-php (as the current mainstream development language). PHP (as the current mainstream development language)
Save
Write the simplest PHP (the current Mainstream development language) page with only one line of code

Save As test.php (as the current mainstream development language) put this file on the C:apache (Unix platform's most popular Web server platform) 2htdocs
Launch Apache (the most popular Web server platform on UNIX platform) Browse http://localhost/test.php (as the current mainstream development language)
If you can see PHP (as the current mainstream development language) information, PHP (as the current mainstream development language) 5+apache (Unix platform The most popular Web server platform) 2.2 configured to function
4. Install MySQL (and the best combination of PHP collocation) 4.1.3

http://www.bkjia.com/PHPjc/508552.html www.bkjia.com true http://www.bkjia.com/PHPjc/508552.html techarticle 1. Install Apache (the most popular Web server platform on the UNIX platform) first shut down the machine's IIS (Microsoft Web server platform) (if it started, because the default installation Apache (Unix platform most popular ...)

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