Académique Documents
Professionnel Documents
Culture Documents
27/01/2012
27/01/2012
ANSI-C Compiler:
GNU C compiler is available with Linux; if not GCC ensure compiler is ANSI compliant.
27/01/2012
Navigate to the resulting apache folder and read the README & README.configure files.
27/01/2012
Configuring Apache
6
27/01/2012
Build various parts which form the Apache package make Install the package under the configured installation path PREFIX make install
27/01/2012
Starting Apache
8
Apache is configured by inserting directives in the plain text configuration file Navigate to the conf folder of your installation and view the httpd.conf
Modify default port to values above 1023
Changes to httpd.conf file are recognised when are Apache is started or restarted
27/01/2012
Starting Apache
9
Locate the bin directory and fire up apache with the following; ./apachectl start
27/01/2012
Coursework support
10
27/01/2012
Coursework support
11
The database is ccm2092, and the table is beer with four columns; NAME, COUNTRY, RATING & PRICE Show databases; Use ccm2092 Show tables; Select * from beer;
27/01/2012
Coursework support
12
Scripting and databases allow us to create database-enabled websites and programs for displaying dynamic content PHP: Hypertext Preprocessor server-side language (run on server and not on user s web browser) Writing PHP: simple to learn. (Your task)
Text editor required: save file with .php extension
27/01/2012
When presented with a new window Choose File then Connect (Note do not use quick connect) You will be presented with a new window
Username:
Portnumber: 22
http://www.apache.org/