Recent Changes - Search:

Web Design

This website demonstrates using wikis as teaching and learning tool.

The course instructor is happy to share the teaching materials here with those who find it readable.

Tutorial - Installing a Web Server

Overview - You will install an Apache Web server (and powered with MySQL, PHP and Perl) in your computer. You then do some practices to play with.


Activity 1: Install XAMPP as a Web server in your PC

(Q1): After your installation, where does the XAMPP files be installed in your PC?
(Q2): List the version numbers of the following software components: Apache, MySQL, and PHP?

Activity 2: Start, stop, test the XAMPP server

(Q3): Where is the document root of your Web server?
  • The Web server can be accessible by other people in the network. They need to know your IP address in order to access it. You can use ipconfig command (open a command prompt and type 'ipconfig') to find the IP address of your machine. After that, you can test it by inputting http://<your_ip_address> in your browser.
(Q4): What is the IP address of your computer?

Activity 3: Put a simple Web site written only in HTML and CSS.

  • All the web files are stored under the folder htdocs. We call it the document root of the Web server.
  • Get two HTML+CSS templates from the following websites.
  • For each template, use a new folder to store it. Put the folder into the Web server's document root.
  • Use your browser to access the sample website in your Web server.
(Q5): Send the URLs of your two sample websites?

Activity 4: Install a dynamic website powered by PHP and MySQL

(Q6): Send the URL of your shoutbox application. Steven will test it via this URL.

Alternative to XAMPP

  • WampServer - PHP Apache MySQL avec WampServer 2 : installation PHP MySQL Apache
  • EasyPHP - Install a local WAMP server : PHP 5 VC9, Apache 2 VC9, MySQL 5, PhpMyAdmin, Xdebug and Modules on Windows XP/Vista/Seven


Edit - History - Print - Recent Changes - Search
Page last modified on November 29, 2011, at 02:13 PM