Build Web Interface to Database – LAMP Linux Apache MySQL PHP

Build Web Interface to Database – LAMP Linux Apache MySQL PHP

In this howto, we program a simple database application. It reads data
from a database, then prints it on a web page.

Techniques teached here are used for building guestbooks, web shops,
web forums and group calendars.

You only need to have Linux installed (Red Hat Linux 9 or Fedora Core 1, 2, 3, 4 or 5
preferred).
During the tutorial, we install Apache web server,
MySQL
database and PHP scripting. Finally, we write a
simple php database application.

(c) Tero
Karvinen

Also available in Hindi (pdf).

Apache Web Server

To install servers, you first have to become root. Using su
-
(with the dash) makes all commands work without typing paths.

su -

Install the actual web server program

yum install httpd

If you don’t have yum yet, read yum
tutorial
and install it.



Tested with Red Hat 9 Shrike, Fedora Core 2, Fedora Core 3 (with and without SELinux).

Copyright 2003-09-25, 2003-10-02, 2003-11-12 (Minor consistency
edits, links), 2003-11-22 (minor copyedit), 2004-05-17 (updated links) 2005-02-11 (tested on Fedora Core 3, SELinux) Tero Karvinen. All rights reserved.

Posted in Old Site | Tagged , , , , , , , | 1 Comment

One Response to Build Web Interface to Database – LAMP Linux Apache MySQL PHP

  1. Pingback: LAMP ja nimipohjainen virtuaalipalvelin | terwayne

Leave a Reply

Your email address will not be published. Required fields are marked *

*

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

  • Picks

  • Boxing Clock for AndroidOcton8 Diving T-ShirtsShaking Tower Panda Android GameLearn Chinese with Android
  • Student projects