PhpBB2 is a web forum application which runs on apache, mysql and php. With it, you can host your own forum site.

Follow these instructions to install PhpBB2 on Ubuntu 6.06 (Dapper Drake).

Alternative to manual installation

Some users may prefer to skip manual installation by using the unofficial pre-integrated TurnKey phpBB Appliance based on Ubuntu LTS.

LAMP Installation

Use any method to install the LAMP stack packages:

apache2 php5-mysql libapache2-mod-php5 mysql-server

Set a mysql-root password (not the same as a root password, but a password for mysql)

mysql -u root

mysql> SET PASSWORD FOR 'root'@'localhost' = PASSWORD('yourpassword');

You should now have a functional LAMP stack.

Visit Apache PHP MySQL for more information on LAMP.

Enable the Universe repository

Install Phpbb2

Use any method to install the following package:


The installation of that package will also install the phpbb2 package and perform all the database configuration for you. You will be prompted for the mysql root user password (not the same as the root user, but the mysql's user named root)

  • phpbb1a.jpg


Run this command to make the forum accessible through the web server

sudo ln -s /usr/share/phpbb2/site /var/www/phpbb 

On newer versions of ubuntu/phpbb, it may be:

sudo ln -s /usr/share/phpbb3/www /var/www/phpbb 

Please read /usr/share/doc/phpbb2/README.Debian for more details.

You may need to reload apache's configuration if you have not done so since installing LAMP. Do this if you get a message about the PHP environment not having support for a database.

sudo /etc/init.d/apache2 restart


Everything should now be installed and ready to go.

  • Launch your web browser and type in:


The PHPBB2 webpage should display that the forum is disabled.

  • Click Log in.


  • Use the default username and password:

username = admin
password = admin
  • Click on the small link at the bottom of the page - GotoAdministrationPanel phpbb4.jpg

  • Select the configuration link which is located under the sub heading General Admin on the lefthand side of the page.

  • Set the option Disable Forum to No and click Submit at the bottom of the page.

Note: Also, don't forget to change the admin password as well.


There are 53 additional languages available for your forum. The english language pack is already included in the phpbb2 package itself.

To install all the other languages, use any method to install the following package:


The following are unverified suggestions made by users.

Turnkey Linux

An Ubuntu-based phpBB appliance is one of the easiest ways to get up and running with phpBB on Ubuntu. It's part of a family of pre-integrated TurnKey Linux Software Appliances based on Ubuntu 8.04.2 (Hardy LTS).

PhpBB2 (last edited 2010-03-11 14:32:37 by hackeron)