Install Web Server in Windows XP with Apache2, PHP5 and MySQL4 – Part 2 Cài đặt Web Server trong Windows XP với Apache2, PHP5 và MySQL4 - Phần 2

Part 2 – Install Apache 2 Phần 2 - Cài đặt Apache 2

Run the Apache Windows Installer that downloaded in Apache chạy Windows mà tải về cài đặt trong Part 1 Phần 1 . . The installation is easy, just follow the on screen instruction. Việc lắp đặt rất dễ dàng, chỉ cần làm theo các hướng dẫn trên màn hình.


Click on “Next”. Bấm vào nút "Tiếp".

Cài đặt apache
Accept the terms and click “Next”. Chấp nhận các điều khoản và nhấp vào "Tiếp".

Cài đặt apache
Click “Next”. Bấm vào "Tiếp".

Cài đặt apache
The fields' values are auto-detected. Các lĩnh vực "giá trị được tự động phát hiện. You may want to change it if it's not correct. Bạn có thể muốn thay đổi nó nếu nó không chính xác.

Cài đặt apache
Choose Typical Installation and click “Next”. Chọn tiêu biểu cài đặt và nhấp vào "Tiếp".

Cài đặt apache
The default folder for Apache installation is C:\Program Files\Apache Group\Apache2. Mặc định cho các thư mục cài đặt Apache C: \ Program Files \ Apache Group \ Apache2. You can change that to anywhere in your hard disk. Bạn có thể thay đổi mà đến bất cứ nơi nào trong đĩa cứng của bạn. Here it's change to C:\Server\Apache2 for example. Dưới đây là thay đổi C: \ Server \ Apache2 ví dụ. Then click “Next”. Sau đó bấm vào nút "Tiếp".

Cài đặt apache
Installation done. Cài đặt hoàn tất.

Testing Apache Installation Kiểm tra cài đặt Apache

Try to access Hãy thử truy cập vào http://localhost/ http://localhost/ . .

A simple Apache index page in English should be shown. Đáp Apache đơn giản chỉ mục trang in Tiếng Anh nên được hiển thị. It means that the installation is succesful. Nó có nghĩa là việc cài đặt là thành công.

If there is problem, try the following the steps. Nếu có vấn đề, hãy thử làm theo các bước sau. Go to Start -> All Programs – Apache HTTP Server 2.x.xx – Control Apache Server. Đi đến Bắt đầu -> All Programs - Apache HTTP Server 2.x.xx - Kiểm soát Apache Server. Try to Stop and then Start or Restart the Apache server (The Apache tray icon may also appear in Windows System Tray, where the above controls can be accessed there). Ngừng thử và sau đó bắt đầu hoặc khởi động lại máy chủ Apache (The Apache khay biểu tượng cũng có thể xuất hiện trong Windows Khay hệ thống, nơi mà các kiểm soát trên đây có thể được truy cập có).

After installation is successful, the Apache configuration file httpd.conf should be updated if you want change the web root directory instead of default one at Apache2/htdocs . Sau khi cài đặt là thành công, các tập tin cấu hình Apache httpd.conf nên được cập nhật nếu bạn muốn thay đổi các trang web thay vì các thư mục gốc mặc định tại một trong những Apache2/htdocs. The httpd.conf located in “C:/ Installation_Path /Apache2/conf/httpd.conf”. Các httpd.conf nằm trong "C: / Installation_Path / Apache2/conf/httpd.conf". Use a text script editor to open it. Sử dụng một trình soạn thảo văn bản chữ viết để mở nó.

Search for DocumentRoot “C:/Server/Apache 2/Apache2/htdocs” . Tìm DocumentRoot "C: / Server / Apache 2/Apache2/htdocs". It should be found at line 228. Nó sẽ được tìm thấy tại dòng 228. Change it to your preferred web root folder. Thay đổi nó vào trang web ưa thích của bạn thư mục gốc. For illustration purpose, we change it to folder C:/Server/www. Mục đích để minh hoạ, chúng tôi thay đổi nó vào thư mục C: / Server / www. So the new line should looks like DocumentRoot “C:/Server/www” . Vì vậy, các dòng mới nên hình như DocumentRoot "C: / Server / www".

There is another same directory at line 253. Còn có một thư mục tương tự tại dòng 253. Copy and paste the DocumentRoot from line 228 to line 253. Sao chép và dán dòng DocumentRoot từ 228 đến đường 253.

Save the configuration file. Lưu các tập tin cấu hình. Make sure the new document root directory (ie C:/Server/www) exists. Hãy đảm bảo rằng các tài liệu mới thư mục gốc (ví dụ: C: / Server / www) tồn tại. Then restart the Apache server. Sau đó khởi động lại máy chủ Apache. Depending on the directory contents, you'll either see an index file or a list of files in the directory. Tùy thuộc vào nội dung thư mục, bạn sẽ thấy một hoặc tập tin chỉ mục hoặc một danh sách các tập tin trong thư mục.

IMPORTANT : The page is machine translated and provided "as is" without warranty. Lưu ý: Các trang web là máy tính dịch và cung cấp "như là" mà không có bảo hành. Machine translation may be difficult to understand. Máy dịch thuật có thể là khó hiểu. Please refer to Xin vui lòng tham khảo original English article Tiếng Anh bản gốc bài viết whenever possible. bất cứ khi nào có thể.


5 Responses to “Install Web Server in Windows XP with Apache2, PHP5 and MySQL4 – Part 2” 5 hồi đáp tới "Cài đặt Web Server trong Windows XP với Apache2, PHP5 và MySQL4 - Phần 2"

  1. willians willians
    November 19th, 2008 06:06 19 tháng mười một, 2008 06:06
    5 5

    hhola alguien me puede ayudar de como subir un cgiproxy a mi sitio web polq noc nada de eso tengo un subdominio en siteburg.com pero quisiera q me ayuden mi correo es hhola alguien me puede ayudar của subir como un cgiproxy một mi sitio web polq Nóc nada de eso tengo un subdominio vi siteburg.com pero quisiera q tôi ayuden mi correo es max11_2@hotmail.com max11_2@hotmail.com

  2. admin : admin
    April 20th, 2007 14:59 20 tháng tư, 2007 14:59
    4 4

    Which better guide you have found? Trong đó hướng dẫn bạn tốt hơn có được tìm thấy? What should be updated? Tôi phải được cập nhật?

  3. sux nig sux và
    April 20th, 2007 14:07 20 tháng tư, 2007 14:07
    3 3

    yourguide sux a phatty, learn to update you piece of shit. yourguide sux một phatty, tìm hiểu để cập nhật thông tin bạn piece of shit. i get nothing but a bunch of errors with this setup, and i only made it to step 3. i không có gì, nhưng một bunch sai với thiết lập này, và tôi chỉ làm cho nó vào bước 3. thanks to google, i found a much better guide. nhờ vào google, tôi tìm thấy một tài liệu hướng dẫn tốt hơn. later noob! sau Noob!

  4. MySpace Blocked? MySpace bị chặn? Unblock MySpace and Bypass with Proxy Access » My Digital Life Unblock MySpace và Bypass proxy với Truy »My Digital Life
    November 3rd, 2006 10:56 3 tháng mười một, 2006 10:56
    2 2

    [...] Once you get a web server, install a proxy on the website. [...] Sau khi bạn nhận được một máy chủ trang web, cài đặt một proxy trên trang web. There are a lot of proxy server program available, such as PHPproxy and CGIproxy that can be installed to set up a proxy server. Hiện có rất nhiều máy chủ proxy có sẵn chương trình, chẳng hạn như PHPproxy và CGIproxy rằng có thể được cài đặt để thiết lập một máy chủ proxy. You will need to install Apache and PHP or CGI on your web server too to run as proxy. Bạn sẽ cần phải cài đặt Apache và PHP hay CGI trên máy chủ web của bạn cũng như để chạy máy chủ. You may also want to setup a domain name for your proxy for easy remembrance, or you can always use the IP address to access it. Bạn cũng có thể muốn thiết lập một tên miền cho máy chủ của bạn dễ dàng cho Remembrance, hoặc bạn có thể luôn luôn sử dụng các địa chỉ IP để truy cập vào nó. If you're using home based PC as proxy server, remember that IP address may not be static, so you can use dynamic DNS service to set up a domain name which will point to your correct dynamic IP address when changed, with service such DynDNS and No-IP. Nếu bạn đang sử dụng nhà dựa trên máy tính như máy chủ proxy, hãy nhớ rằng địa chỉ IP có thể không được tĩnh, do đó, bạn có thể sử dụng dịch vụ DNS động để thiết lập một tên miền đó của bạn sẽ trỏ đến đúng địa chỉ IP động khi thay đổi, chẳng hạn với dịch vụ DynDNS và No-IP. [...] [...]

  5. Install, Setup and Configure CGI and Perl in Windows XP » My Digital Life Cài đặt, thiết lập và cấu hình CGI và Perl trong Windows XP »My Digital Life
    January 2nd, 2006 02:18 2 tháng một, 2006 02:18
    1 1

    [...] Obvioulsy, a web server needs to be running on the Windows machine. [...] Obvioulsy, một máy chủ trang web cần phải được chạy trên máy Windows. Refer to this post for instructions on how to install Apache2 in Windows. Tham khảo các bài đăng này để xem hướng dẫn về việc làm thế nào để cài đặt Apache2 trong Windows. [...] [...]

Leave a Reply Để lại một trả lời

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> Bạn có thể sử dụng các thẻ:<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime = ""> <em> <i> <q cite=""> <strike> <strong>

Subscribe to comments feature has been disabled. Đăng ký nhận xét tính năng đã bị vô hiệu hoá. To receive notification of latest comments posted, subscribe to Để nhận được thông báo về ý kiến mới nhất được đăng, đăng ký với My Digital Life Comments RSS feed Cuộc sống kỹ thuật số Bình luận của tôi nguồn cấp dữ liệu RSS or hoặc register to receive đăng ký để nhận được new comments in daily email digest. Các ý kiến mới trong thư điện tử tiêu hàng ngày.
Custom Search

New Articles Bài viết mới

Incoming Search Terms for the Article Tìm kiếm các điều khoản cho các Điều

can i delete my facebook profile? tôi có thể xóa hồ sơ của tôi facebook? - -- apache2 php5 windows apache2 php5 cửa sổ - -- apache2 php windows apache2 php cửa sổ - -- php5 windows xp php5 cửa sổ xp - -- documentroot windows documentroot cửa sổ - -- php5.1 install for window php5.1 cài đặt cho cửa sổ - -- apache2 php5 windows install apache2 php5 cửa sổ cài đặt - -- how to install apache on windows xp for php5 làm thế nào để cài đặt apache trên Windows XP cho php5 - -- apache with php apache với php - -- apache2+php5+windows apache2 + php5: + cửa sổ - -- download apache server for xp 2006 apache tải xuống máy phục vụ cho xp 2006 - -- apache server xp apache máy xp - -- download php windows xp php tải về Windows XP - -- installing apache server on windows xp apache cài đặt trên máy chủ Windows XP - -- apache php windows apache php cửa sổ - -- windows vista apachephp5 Windows Vista apachephp5 - -- apache server for xp apache máy phục vụ cho xp - -- how do i unzip a file in vista làm thế nào để tôi unzip một tập tin trong vista - -- apache 2.2 php5 windows 2,2 apache php5 cửa sổ - -- how to install php5 on windows xp làm thế nào để cài đặt Windows XP trên php5 - -- documentroot in windows xp documentroot trong Windows XP - -- proxy en windows xp apache proxy trong cửa sổ xp apache - -- apache2 y php5 windows apache2 y php5 cửa sổ - -- apache2 и php win apache2 и php thắng - -- DocumentRoot Line 228 Change to c:/htdocs DocumentRoot Dòng 228 Thay đổi để c: / htdocs - -- apache proxy server for winxp free download apache máy chủ proxy cho WinXP tải về miễn phí - -- apache2 php5 install windows apache2 php5 cài đặt cửa sổ - -- php windows xp php cửa sổ xp - -- DocumentRoot windows DocumentRoot cửa sổ - -- apache root dir on windows apache gốc dir trên cửa sổ - -- dyndns apache windows dyndns apache cửa sổ - -- php apache2 windows php apache2 cửa sổ - -- apache2 and php5 setup windows apache2 và php5 thiết lập cửa sổ - -- apache windows root directory apache cửa sổ thư mục gốc - -- how to set apache2 with php5 windows làm thế nào để cài đặt apache2 với cửa sổ php5 - -- php5 windows apache2 php5 cửa sổ apache2 - -- install apache server on xp cài đặt trên máy chủ apache xp - -- how to install proxy v2.2 in windows 2003 server làm thế nào để cài đặt máy chủ trong cửa sổ v2.2 vụ 2003 - -- php5 winxp php5 WinXP - -- transformer 2 movie download on my computer 2 biến phim tải về máy tính của tôi - -- apache2 and php5 windows apache2 và php5 cửa sổ - -- apache2+php+windows apache2 php + + cửa sổ - -- apache server with php5 apache php5 với máy chủ - -- change root directory apache2 windows thay đổi thư mục gốc apache2 cửa sổ - -- configure apache2 and php in windows 7 và cấu hình apache2 php trong cửa sổ 7 - -- remove windows genuine loại bỏ cửa sổ chính hãng - -- windows documentroot cửa sổ documentroot - -- install apache server windows xp apache cài đặt máy chủ Windows XP - -- how can i install apache server on xp làm thế nào tôi có thể cài đặt trên máy chủ apache xp - -- apache 2 php 5 windows apache 2 php 5 cửa sổ - --