|
Many database driven websites are hosted using LAMP: Linux, Apache, MySQL and PHP. They are an excellent combination and indeed we use the combination ourselves. However, having reviewed the various options in Debian and compared them with proprietory competition, we came to the conclusion that PostgreSQL is an ideal, industrial strength database on which to build not just websites but also internal applications (intranets). These notes are based on our experience of installing and configuring Apache/PHP/PostgreSQL. For further information on the three packages see: Installing the packagesIt is assumed you have a working server, if not see File Server.
ConfigurationTo configure access to PostgreSQL, edit /etc/postgresql/pg_hba.conf:
Reading /usr/share/doc/phppgadmin/README.Debian is recommended Recommended Books:
In addition to the inbuilt psql client interface on the server, we recommend you install pgadmin3 and/or pgaccess on workstations which provide a GUI interface from remote machines.
Clive Menzies - July 2005 |
|
|
|
|