Installing phpBB3 Tutorial

Posted: June 13, 2010 in Technical
Tags: ,

In this tutorial I’m going to show you how to install phpBB3 for a local test environment. You can then use this install to experiment with configuring and running a forum.

For this tutorial you will need to have XAMPP running and also have created a MySql database. If you haven’t already read my previous tutorials you should check out the XAMPP installation and the MySql database set up tutorials.

First thing you’ll need to do, if you haven’t already, is download the latest version of phpBB3 from the phpbb.com website. A direct link to the download section is here.

Once you have extracted the zip file you will need to copy it in to the htdocs folder in XAMPP  (should be C > xampp > htdocs). If you want you can rename the folder from phpbb to whatever you like, for this tutorial I renamed it “forum”, how original!!

For this tutorial I put the folder in my WordPress tutorial folder (i.e. C > xampp > htdocs > tutorial), I have done this to keep it neat.

STEP 1

Using your favorite web browser type in http:\\localhost\tutorial\forum (change tutorial and/or forum to whatever the folder(s) is called) and hit enter, you should see the screen below:

Click the button labeled “install”

STEP 2

The next screen lets you know what information you require, see screen below:

Click “Proceed to next step”

STEP 3

The next screen checks to see if everything is in place for the install, see screen below:

Click “Start install”

STEP 4

Enter the database information in the screen. I’m using the same database I used for the WordPress tutorial, see below: You can either do the same or create a new database for this install.

If you have followed my tutorial on how to set up a MySql database the database name & user name will be the same. Click “Proceed to next step”

STEP 5

Hopefully you will see the screen below:

Click “Proceed to next step”

STEP 6

Enter the information for the main Administrator account, you can choose your own information here. Just make sure you keep a note of the username and password.

Click “Proceed to next step”

STEP 7

If everything is correct you will see this screen:

Click “Proceed to next step”

STEP 8

Another confirmation scree, see below:

Click “Proceed to next step”

STEP 9

The next screen lets you set up information for e-mail and server URL, because this is a local test environment install you can just leave it all as it is, see below:

Click “Proceed to next step”

STEP 10

Another confirmation screen, see below:

Click “Proceed to next step”

STEP 11

Now we encounter a problem!!, see screen below:

This seems to be a common problem during phpBB3 installs but fortunately there is an easy way to sort it out. For now just close your internet browser.

STEP 12

Open the folder and locate the file called “common.php”. For me it was in C > xampp  > htdocs > tutorial > forum, see image below:

Right-click on the file and open with Notepad

STEP 13

When you open the file in Notepad you should see something like this:

STEP 14

We need to insert this piece of code into the file

// Set time zone
date_default_timezone_set(‘UTC’);

See image below:

Copy the code into the file exactly as shown above save it and close it

STEP 15

Back in the folder we now need to either delete, move or rename the “install” folder, I always choose to rename it just in case I need it again, see image below:

Go ahead and rename it (or delete or move it, your choice!!)

STEP 16

Using your favorite web browser again type in http:\\localhost\tutorial\forum (change tutorial and/or forum to whatever the folder(s) is called) and hit enter, you should see the screen below:

That’s it! phpBB3 is installed and you are presented with the main forum page. You can now log in as the Administrator and start to experiment, add boards and sub-boards, create posts, etc. etc. I hope this helps you get started.

Look out for upcoming tutorials on how to install Mediawiki and more.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s