Page 1 of 1

Installation and configuration of phpBB3

Posted: Sat Oct 25, 2008 12:00 am
by cah
Precondition: PHP 5 has been installed before the following steps.

Unzip the downloaded phpBB3 tar.gz file and move the directory under the new bbs web site's docroot.

Code: Select all

unzip phpBB-3.0.2.zip
mv phpBB3 <DOCROOT>
Change permissions on some files:

Code: Select all

chmod 666 config.php
chmod 777 store cache files images/avatars/upload/
From MySQL browser:

Create a new database in MySQL

NOTICE: the database name can NOT have "-" in it. (I learned it from a painful experience)

From MySQL administrator:

Create a new user for this new database
Assign all privileges to this new user for the new database

Create a web instance

This can be achieved by adding a new virtual host in httpd.conf under Apache web server as an example.

Create a domain name

If you own DNS name servers, create a new domain for it and reload the config.

Install the BBS from the web site


http://<new domain>/install

Click on "INSTALL" tab and follow the instructions on the web pages.

Enter the database information and the installation should go smoothly.
If encountering problems, double check database name, username and password.

Remove /install directory under the web's docroot.

Change back the permissions of config.php

Code: Select all

chmod 644 config.php
You should be able to log in as the new admin.