Installing phpBB

Download

phpbb-down: Downloading phpBB

Download phpbb 2.0.xx.zip full package from www.phpbb.com and unpack into a folder in your download directory. Copy its contents to C:\Apache2\htdocs.

Preparing web directory

phpbb-cpsrc: Copying phpBB soource to webroot

Delete all files in C:\Apache2\htdocs, taking care not to delete any needed folder.

Copy all files in the unpacked phpBB archive to that folder.



Preparing yourself

phpbb-readme: phpBB howto

Yous should read the phpBB howto files, install.html and readme.html.



Create database

Follow Creating MySQL Database and create an empty database called phpbb (or a name of your choice). Then follow Creating MySQL Users, create a user called phpbbuser (or a name of your choice) and give it access rights to phpbb.

Or you can try the command-line method described, as follows.

phpbb-down: MySQL command line log-in

Log in as root:

cd \
cd mysql\bin

mysql -u root -p
Enter password: ********

mysql>

phpbb-mysql-createdb: Creating phpBB database

Create a database called phpbb

mysql> create database phpbb;

phpbb-mysql-createuser: Creating phpBB user with permissions

Creating user and permissions

The following command will create a user called phpbbuser with a password of phpbbuser with seven permissions (access rights):

mysql> grant insert, update, select, delete, create, drop, index on phpbb.* to phpbbuser@localhost identified by 'phpbbuser';

phpbb-mysql-confm: Checking phpBB database

Let us confirm what we had done.

mysql> show tables from phpbb;

phpbb-mysql-exit: Exiting MySQL server

Let us get out of there.

mysql> exit;

If you want to test user log-in, cd to c:\mysql\bin and issue the command:

mysql -u phpbbuser -p;

You will be asked to key in your password.


phpbb-mysql-createdb: Creating phpBB database

More confirmation? Launch MySQL Administrator, click User Administration and then phpbbuser.


Web installation

phpbb-inst: phpBB web installation

Launch your browser and point it to http://localhost or http://myhost.mydomain.tld if you have a domain. You will see the phpBB installer.


phpbb-inst-setup: Installation settings

Follow the instruction closely and answer all questions honestly. You might need the following data (Warning: Do not use on production server):

Database Type: 4.0
Database Hostname: localhost
Database Name: phpbb
Database Username: phpbbuser
Database Password: phpbbuser
Prefix: Do nothing
Admin Email: your valid email
Domain name: http://myhost.mydomain.tld. If you do not have a domain, use http://localhost.
Server Port: 80
Script Path: / (do not change)
Admin Username: your name
Admin Password: your password

Go through the settings and then click Start Install



phpbb-inst-done: Installation is complete

Installation is done. Click Finish Installation.



Post installation

phpbb-post-inst: Post-installation

You will be told to remove two folders. Do as you are told or else you will not be allowed to log in to your site.


phpbb-post-inst2: Removing unwanted folders

Look for those folders in C:\Apache2\htdocs and delete them.


Almost there

phpbb-login: Logging in

Return to your browser and click Log in link at the top of the page to log in to phpBB.



There now

phpbb-admin-login: phpBB home page

Here is what you have been waiting for, the home page.

Scroll down and look for the Administration Panel. Log in to phpBB as administrative user and configure your forums. If you are not sure of anything, leave the setting at default. Sooner or later you will learn how to use it.



Hosting downloads on phpBB