Installation of PHP5.2+APACHE2.2+BugFree1.0_PHP Tutorial

WBOY
Release: 2016-07-13 17:33:41
Original
796 people have browsed it

1. Install apache (the most popular WEB server platform on Unix platform)
First install iis on the machine (Microsoft's WEB server platform) Stop (if started If so, because apache (the most popular WEB server platform on the Unix platform) is installed by default. also uses port 80, and there will be conflicts if it is not stopped.)
In apache (the most popular WEB server platform on the Unix platform) Server platform) official website download to apache (the most popular WEB server platform on Unix platform) _2.2.3-win32-x86-no_ssl, double-click to install, it is best not to install with spaces. Under the path, you can install it to c:apache(The most popular WEB server platform on the Unix platform)2 times
Start apache(The most popular WEB server platform on the Unix platform) in IE Enter http://localhost. If you see a page that says it works, it means APACEH is running normally
2. Install php (as the current mainstream development language)5
In php Download the official website of (as the current mainstream development language) to php (as the current mainstream development language) -5.2.0-Win32.zip, unzip the directory Change the name to php(as the current mainstream development language), copy to php
(as the current mainstream development language) in the C: directory >(As the current mainstream development language).ini-dist is renamed to php(As the current mainstream development language).ini is copied to c:windows (or:winnt depending on the operating system Determine), copy php(as the current mainstream development language)5ts.dll and libMySQL(the best combination with PHP) to c:windowssystem323 .Let apache
(the most popular WEB server platform on Unix platform) be able to run php (as the current mainstream development language) program modify the c:apaceh2confhttpd.conf file
Add

** in the next line of #LoadModule ssl_module modules/mod_ssl.so (note that if your apache

(the most popular WEB server platform on Unix platform) is added in version 2.2 Above and below)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(The most popular WEB server platform on the Unix platform)2_2.dll(Note that if your apache
(The most popular Unix platform 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(the most popular WEB server platform on Unix platform)2.dll in AddType application /x-gzip .gz .tgz Add
AddType application/x-httpd-php
(as the current mainstream development language) to the next line of .tgz .php(as the current mainstream development language) Development language)Save
Write the simplest php
(as the current mainstream development language) page, which only has one line of code (As the current mainstream development language) info(); ?> Save it as test.php
(As the current mainstream development language) Put this file in C:apache (The most popular WEB server platform on Unix platform)2htdocsStart 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 the information about php
(as the current mainstream development language), it means php(as the current mainstream development language) Development language)5+apache(The most popular WEB server platform on Unix platform)2.2 Configured into functions4. Install MySQL
(The best combination with PHP)4.1.3

http://www.bkjia.com/PHPjc/508552.htmlwww.bkjia.comtruehttp: //www.bkjia.com/PHPjc/508552.htmlTechArticle1. Install apache (the most popular WEB server platform on Unix platform). First install the machine on IIS (Microsoft's WEB Server platform) Stop (if it is started, because apache is installed by default (Unix platform is the most popular...
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!