找到一篇安裝APACHE的文章 您可以參考下列內容
引用網址 : http://mundy.org/xp/#Apache
Installation Getting Started
Download the Apache software onto your XP machine. Make sure the Admin Services window is closed before beginning the install. The Apache installation software is compressed into a single .msi file. Using Windows Explorer, locate the downloaded .msi file and double-click on it to begin the installation. Accept all of the defaults. Fill in a name for your domain and server. Choose "Run as a Service" when prompted. This will automatically load Apache each time you boot up the XP machine. If warned that IP is not configured properly, ignore the warning if you are sure that your XP system has IP connectivity.
Web Browser Test Is Apache Running?
Check to be sure the Apache server is running by opening a web browser and entering the following address: http://localhost/. If the default Apache page displays, proceed to Configuring Apache below. Your page display should look like this. If the page does not display, see Troubleshooting below.
Troubleshooting What Went Wrong?
On some XP systems, Apache fails to install itself as a service. This means the server does not start up automatically. First, we will make certain that you have not implemented the XP firewall feature which blocks incoming web access. Then we will check to see if Apache was installed as a service. If not, we will need to be sure Apache will start from the command prompt. Then we will manually install it as a Windows service.
To verify that you are not blocking Internet web traffic with XP's firewall feature, click Start, Control Panel, Switch to Classic View, Network Connections, Local Area Connection, Properties, and Advanced. If the Internet Connection Firewall box is checked, either uncheck it or click on the Settings button and check the Web Server box to allow incoming web traffic.
To determine whether Apache loaded as a service, choose Start, Control Panel, Switch to Classic View (if not already there), Administrative Tools, Services. Scroll down the alphabetical list looking for an Apache entry. If it's there but doesn't show as Running, click on the Apache entry, and then click Start. If it shows Running, repeat the web browser test above. Otherwise we will start Apache from a command prompt to be sure the software installed properly.
To start Apache manually, move to the following diectory (if you accepted the default installation directory when you installed the software): C:\Program Files\Apache Group\Apache\. Then type apache to start the web server. If it shows Running then all is well. Press CTRL-C to stop the server.
Now install Apache as a service by typing the following command: apache -i -n apache. A message should display indicating that Apache was installed as a service. Now return to the Admin Services window, check for Apache again and Start the service. Then perform the web browser test again. All should be working at this point. Reboot your XP system just to be certain.
Configuring Apache C:\Program Files\Apache Group\Apache\conf\httpd.conf
Configuring Apache for Windows is handled identically to other versions of Apache. The main configuration file is httpd.conf which is stored in the directory shown above. Complete documentation on configuration options is available on Apache's web site. Out of the box, Apache is configured to operate reliably with PHP and MySQL.
>即時新聞-熱門
2008年2月5日星期二
XP HOME 安裝APACHE
发帖者 ALEX 时间: 08:47
标签: PHPMYSQL教學
订阅:
博文评论 (Atom)
0 评论:
发表评论