Install phpBB 2 in Windows XP running on Apache 2, PHP 5 and MySQL 4

Introduction to phpBB

phpBB is a high powered, fully scalable, and highly customizable Open Source bulletin board package. phpBB has a user-friendly interface, simple and straightforward administration panel, and helpful FAQ. To run phpBB, powerful PHP server language needs to be enabled on web server and installed any one of the following database: MySQL, MS-SQL, PostgreSQL or Access/ODBC database servers.

For more information on how to setup Apache 2 web server, PHP 5 and MySQL 4 ready for use of phpBB, read these articles.

Setup MySQL Database and User

  1. Access the MySQL console by calling mysql -u root -p at command prompt.Note: If password for MySQL user ‘root’ has not been set, just leave blank when prompted for the password and hit Enter.
  2. Create database ‘phpBB2′ or any name you like (database for phpBB, which will hold all tables) by calling CREATE DATABASE phpBB2; at MySQL console.
  3. Create secured account with user ‘phpBB2user’ (Choose your own user name) and password ‘dbpassword’ by following commands:

    mysql> GRANT SELECT, INSERT, UPDATE, DELETE, INDEX, ALTER, CREATE, DROP ON phpBB2.* TO ‘phpBB2user’@'localhost’ IDENTIFIED BY ‘dbpassword’;

    Note: Choose your own password instead of’dbpassword’.
    Note: DROP is only required for database restores, and ALTER is only required for certain modules and future upgrades.
    Note: Secured account means only accessible from ‘localhost’, access permitted only to database ‘phpBB2′, only needed privileges granted.

    mysql> FLUSH PRIVILEGES;

  4. Quit the MySQL console by:

    mysql> quit;

Download phpBB 2

Download the phpBB Full Package in zip format from phpBB download site. The file should ended with .zip extension.

Install phpBB

  1. Extract the phpBB zip file.
  2. Create a directory (i.e. forum, forums or phpbb) for phpBB forum at your DocumentRoot (normally C:\Program Files\Apache Group\Apache2\htdocs if Apache installed by default), unless the phpBB is intended at DocumentRoot itself, which is not recommended.
  3. Copy the extracted phpBB files nto the new forum directory.
  4. Run Internet Explorer and access http://your_domain_name/forum/index.php (if you create directory with other name, change accordingly) and the phpBB2 installation page should be shown. If you unable to access the the website when specify “your_domain_name”, substitute it with either “localhost” or the server’s IP address for the “your_domain_name”.
  5. At the “Welcome to phpBB 2 Installation” web page, enter the following settings:

    Basic Configuration:
    Default board language: English
    Database Type: MySQL 4.x
    Choose your installation method: Install

    Database Configuration:
    Database Server Hostname / DSN: localhost
    Your Database Name: database (Your database name)
    Database Username: user (Your MySQL user name)
    Database Password: password (Password for MySQL user)
    Prefix for tables in database: phpbb_

    Admin Configuration:
    Admin Email Address: email@yourdomain.com
    Domain Name: IPAddress (or a valid DNS name visible to the forum’s target audience).
    Server Port: 80
    Script path: /forum/
    Administrator Username: Admin (this will be your user name to the forum)
    Administrator Password: AdminPW (this will be your password to the forum)
    Administrator Password [ Confirm ]: AdminPW

  6. Click the “Start Install” button(once only)
  7. At this point you should see a screen with the following text:

    Your admin username has been created. At this point your basic installation is complete. You will now be taken to a screen which will allow you to administer your new installation. Please be sure to check the General Configuration details and make any required changes. Thank you for choosing phpBB 2.

  8. Before selecting “Finish Installation”, the following directories must be deleted:

    C:\www\phpBB2\install
    C:\www\phpBB2\contrib
    [optional] C:\www\phpBB2\docs

  9. If phpBB setup cannot write the configuration file on the server, it will prompts you to save the file. Select “Just send the file to me and I’ll FTP it manually” and click “Download config”. When offered the opportunity to save install.php elect to save the file to your forum folder (you will get a “replace Yes/No” style message).
  10. Delete the contrib and install folders in your forum folder, either by FTP clients or Windows Explorer if it’s local machine.

Testing and Accessing phpBB Forum

Access your forum at http://your_domain_name/forum, replace your_domain_name with your own domain (i.e. localhost or dynamic dns name) and forum with the folder name you put phpBB in.

Note: If it’s not possible to access via your_domain_name from your own machine, replace it with localhost or 127.0.0.1.

Share and contribute or get technical support and help at My Digital Life Forums.



15 Responses to “Install phpBB 2 in Windows XP running on Apache 2, PHP 5 and MySQL 4”

  1. William
    August 3rd, 2006 04:02
    1

    I have Apache 2, php 5 and mysql 5. I have set them all up correctly but when I try and install phpbb2, (after clicking submit) I get the message “The PHP configuration on your server doesn’t support the database type that you chose”. Any ideas anybody why this happens?

  2. Administrator
    August 3rd, 2006 07:51
    2

    William, have you enable the mysql support in php.ini?

  3. Bruce
    August 8th, 2006 22:22
    3

    I’m testing a Tomcat/PHP5/MySQL5 integration.

    Without updating the default php.ini file, I get the error mentioned by William. After updating the ini file to include the mysql extension, my server crashes when trying to open the PHPBB site.

    Ideas?

    java.io.IOException:

  4. Victor Sinha
    January 2nd, 2007 08:18
    4

    Thanks for this tutorial. I am a newbie in this field and I just want to make something of a PHP board. I learnt the basics from you. i will soon come back to learn more. Thanks.

  5. Apache and phpBB
    February 1st, 2007 05:17
    5

    I would recommend SMF over phpBB, as the later has had some serious security issues, which might or might not persist under phpBB v3.

    phpBB does have a much bigger community, and you will be able to get help, if you need it. Its also a bit easier to setup.

    If you want to just try out phpBB under Windows, without the setup, you can get a WAMP Server distribution that has it pre-configured…
    http://www.devside.net/

  6. FunnsFurmentsod
    July 14th, 2007 02:19
    6

    Hi all!

    G’night

  7. Stephen J
    December 17th, 2007 19:04
    7

    Hi, i setup and installed phpBB with ease, even without this tutorial, but the problem i face is whenever i click on the “login to adminastration panel” it prompts me to download the “login.php” file, how do i stop this so i can setup and install mods etc.

  8. aletly
    March 4th, 2008 14:35
    8

    Yo!
    Finally I found your site, I am so happy!
    Bye

  9. werutza
    September 29th, 2008 23:55
    9

    Hi!

    I would like make better my SQL knowledge.
    I red that many SQL books and still feel, that I am not an expert
    in SQL. What can you recommend?

    Thanks,
    Werutz

  10. werutzb
    September 30th, 2008 00:23
    10

    Hi!

    I want to improve my SQL capabilities.
    I red so many SQL books and still feel, that I am not a whise man
    in SQL. What can you recommend?

    Thanks,
    Werutz

  11. mrtruckster
    November 3rd, 2008 00:35
    11

    Hello this is Mike from houston, you got a nice forum here with some good topics and I hope you can help me with some tehnical problems 
    I recently downloaded couple files from limewire and now my computer is acting really messed up, It takes long time to start and after turning on
    I get many notifications from my firewall that something is trying to connect to the internet, Im worried if they may be trojans or viruses and
    that someone is trying to steal my passwords. 

    Please help me, Im kind of low on budget and wouldnt like to take the computer to an expert and pay a lot of cash for it, all the ideas are welcome
    and I will definetly try them! Hope to hear from you soon! 

  12. mrtruckster
    November 3rd, 2008 01:04
    12

    Hi forum users and readers I hope you can solve a stupid problem with my computer  
    When I start my webbrowser, Im using internet explorer its some weird search engine. It used to be google and everytime I change
    it back to google its okay. Until I start me pc again, then the wrong search engine is back. How can I get rid off this? Its getting annoying
    and there hase to be a way right? 

    Well thats it, stupid problem and I hope that it has a nice easy solution that you can come up with, Im getting all your replays to my email
    so I´ll keep an eye on the topic, take care. 

  13. mrtruckster
    November 4th, 2008 11:52
    13

    Hey guys, Im new here so Im gonna get straight to the point and hope to get some good replys 
    When I start my webbrowser, Im using internet explorer its some weird search engine. It used to be google and everytime I change
    it back to google its okay. Until I start me pc again, then the wrong search engine is back. How can I get rid off this? Its getting annoying
    and there hase to be a way right? 

    Please help me, Im kind of low on budget and wouldnt like to take the computer to an expert and pay a lot of cash for it, all the ideas are welcome
    and I will definetly try them! Hope to hear from you soon! 

  14. mrtruckster
    November 4th, 2008 20:41
    14

    Hello this is Mike from houston, you got a nice forum here with some good topics and I hope you can help me with some tehnical problems 
    When I start my webbrowser, Im using internet explorer its some weird search engine. It used to be google and everytime I change
    it back to google its okay. Until I start me pc again, then the wrong search engine is back. How can I get rid off this? Its getting annoying
    and there hase to be a way right? 

    Please help me, Im kind of low on budget and wouldnt like to take the computer to an expert and pay a lot of cash for it, all the ideas are welcome
    and I will definetly try them! Hope to hear from you soon! 

  15. mrtruckster
    November 4th, 2008 21:46
    15

    Hey guys, Im new here so Im gonna get straight to the point and hope to get some good replys 
    I recently downloaded couple files from limewire and now my computer is acting really messed up, It takes long time to start and after turning on
    I get many notifications from my firewall that something is trying to connect to the internet, Im worried if they may be trojans or viruses and
    that someone is trying to steal my passwords. 

    Please help me, Im kind of low on budget and wouldnt like to take the computer to an expert and pay a lot of cash for it, all the ideas are welcome
    and I will definetly try them! Hope to hear from you soon! 

Leave a Reply

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Subscribe to comments feature has been disabled. To receive notification of latest comments posted, subscribe to My Digital Life Comments RSS feed or register to receive new comments in daily email digest.
Custom Search

New Articles

Incoming Search Terms for the Article

phpbb windows - phpbb2 download - phpbb on windows - The PHP configuration on your server doesn't support the database type that you chose - phpbb apache - phpbb wamp - wamp phpbb - DownLoad PHPBB2 - installing phpbb on windows - phpbb2 tutorial windows - xampp phpbb - install phpbb - phpbb setup - how to install phpbb on windows - apache phpbb - how to install phpbb on apache - php5 create dir - preconfigured server with phpbb - phpBB 2 install - how to install phpbb with xampp - set up phpbb with apache and windows - full phpbb download - add phpbb to apache server - phpbb windows xp - download phpbb 2 - apache web server with PHP5 + Windows XP + setup Download - phpbb3 windows xp - phpbb2 localhost installer - running a php webserver on windows xp - phpbb winxp - does phpbb work on tomcat - phpbb mysql windows - phpbb in apache - phpbb on apache - windows phpbb - php mysql server setting localhost video display note - Apache PHPBB2 mysql upgrade error - bbphp Xampp windows xp - install phpbb on windows - apache 5 php2 mysql 5 - Apache with phpBB - create phpbb2 forum+mysql 5 - download PHP 5 Apache MSSQL on Windows - phpbb and apache - phpbb and xamp - try to run php file but explorer prompts for download instead - wamp phpbbs - data base settings to install php bb - download wamp with mysql4+php5 - how to block port 80 on windows xp tutorial pdf downloads -