Changes

Jump to navigation Jump to search

Installing phpBB V3

7,227 bytes added, 11:15, 14 June 2008
New page: <span id="top"></span> <div style="padding:0;margin:0; border-bottom:3px inset #000000"> {| | MPG UniCenter || Installing phpBB V2 ...
<span id="top"></span>
<div style="padding:0;margin:0; border-bottom:3px inset #000000">
{|
| [[Image:uc_small_logo.gif | MPG UniCenter]] ||
[[Installing phpBB V2 | Installing phpBB V2]] |
[[Installing phpBB V3 | Installing phpBB V3]]
|}
</div>
{| cellpadding="4"
|
__TOC__
||
'''How to install phpBB V3 on Uniform Server 3.5-Apollo.'''
|}
Uniform Server is ideal for testing and evaluating programs like phpBB (version 3.0.1). I tend to keep a clean version of Uniform Server ready to do quick test, add the software to be tested. After testing just archive the lot using 7Z.

If you do not intend to go live with phpBB, use defaults during set-up and you will have a working bulletin board in a very short time, it is so quick to install. Once installed you can break it as many times as you like, that is the beauty of this type of set-up. It gives you the chance to resolve any issues before going live.

When going live use real passwords and make sure you implement any security where noted.

== Pre-Installation ==
Download files and and copy to their correct location I have shown the complete steps below:

{|cellpadding="4" cellspacing="4" width="80%"
|-
|valign="top" style="background:#f3f3f3"|
{|cellpadding="2" style="background:#f3f3f3"
|-
|valign="top"|&nbsp;1&nbsp;||To begin, I have assumed you have downloaded Uniform Server 3.5-Apollo from [http://sourceforge.net/project/showfiles.php?group_id=53691&package_id=48193 SourceForge.net] and unzipped it to your computer. If you intend going live check out this page first [[Home Web Server: Security |security check list]].

'''''Note'':''' You will need the database user name ('''root''') and '''password''' that you set for MySQL. In this tutorial I use the Uniform default password ('''root''') .
|-
|valign="top"|&nbsp;2||'''A)''' Next you need to download phpBB 3.0.1 (or newer version) from [http://www.phpbb.com phpBB.com] Save it to a convenient folder for example '''c:\phpbb_temp'''
|-
|valign="top"|&nbsp;3||'''B)''' Extract the file you downloaded (phpBB-3.0.1.zip) to the current folder ('''right click''' on the file to be extracted and select '''Extract All'''... click '''Next''' and '''Next''' again).

This creates a new folder named: '''phpBB-3.0.1''' that contains a folder named '''phpBB3''' containing all the required files.
|-
|valign="top"|&nbsp;4||'''C)''' Copy the folder '''phpBB3''' (and all its content) to the root folder '''www'''.
|}
|
[[Image:Uc_phpbb_v3_install_1.gif]]
|}

'''''[[#top | Top]]'''''
== Installation - Create phpBB Database ==
Creating the phpBB database is straight forward tables are automatically inserted during installation
{|cellpadding="4" cellspacing="4"
|-
|valign="top" style="background:#f3f3f3"|
{|cellpadding="2" style="background:#f3f3f3"
|-
|valign="top"|&nbsp;1&nbsp;||Start Uniform Server (Double click on '''Server_Start.bat''').
|-
|valign="top"|&nbsp;2||From apanel click on the '''phpMyAdmin''' link. (left menu) Note you can always return to apanel by typing <nowiki>http://localhost/apanel/</nowiki> into your browser address bar.
|-
|valign="top"|&nbsp;3||'''A''') We want to create a new database. Name it '''phpbb''' (or something easy to remember)
|-
|valign="top"|&nbsp;4||'''B)''' Click on Create to create the database
|}
|
[[Image:Uc_phpbb_install_2.gif]]
|}

'''''[[#top | Top]]'''''
== Installation ==
For whatever reason the designers have decided to split installation across several pages however it still remains extremely easy to install. Follow these steps to install and have a play with phpBB V3:

{|cellpadding="4" cellspacing="4" width="80%"
|-
|valign="top" style="background:#f3f3f3"|
{|cellpadding="2" style="background:#f3f3f3"
|-
|valign="top"|&nbsp;1&nbsp;||To start Installation type the following into your browser: '''<nowiki>http://localhost/phpBB3/install/</nowiki>'''
|-
|valign="top"|&nbsp;2||Install page displays '''Click Install Tab''', '''Click Proceed to next step'''
|-
|valign="top"|&nbsp;3||Requirements: A list is displayed (Unifrom Server meets these) scroll to bottom of page and click '''Start install'''
|-
|valign="top"|&nbsp;4||Database settings:
*Database type: '''MySQL with MySQLi Extension'''
*Database server hostname or DSN: '''localhost'''
*Database server port: ('''''leave blank''''')
*Database name: '''phpbb'''
*Database username: '''root''' ''-- {use root in most cases this will not change}''
*Database password: '''root''' ''--{if you intend to go live make sure you change this see'' '''[[Home Web Server: Security | Security]]'''''}''
*Prefix for tables in database: '''phpbb_''' ''--{no real reason to change this}''
*Click '''Proceed to next step'''
|-
|valign="top"|&nbsp;5||Database connection tested, Successful connection, '''click Proceed to next step'''
|-
|valign="top"|&nbsp;6||Administration:
*Default board language: '''British English'''
*Administrator username: '''ric''' ''--{whatever you want to use}''
*Administrator password: '''unicenter123''' ''--{whatever you want to use}''
*Confirm administrator password: '''unicenter123'''
*Contact e-mail address: '''xxx@yyy.com''' ''--{use your real e-mail address}''
*Confirm contact e-mail: '''xxx@yyy.com'''
*Click '''Proceed to next step'''
|-
|valign="top"|&nbsp;7||Administration test, test passed, click '''Proceed to next step'''
|-
|valign="top"|&nbsp;8||Configration file written, click '''Proceed to next step'''
|-
|valign="top"|&nbsp;9||Advanced settings: Use the default settings,"these settings can be altered from the Administration Control Panel later", nothing to do click '''Proceed to next step'''
|-
|valign="top"|&nbsp;10||Create database tables: "The database tables used by phpBB 3.0 have been created and populated with some initial data. Proceed to the next screen to finish installing phpBB." , click '''Proceed to next step'''
|-
|valign="top"|&nbsp;11||Final stage: Congratulations! "You have now successfully installed phpBB 3.0.1. From here, you have two options as to what to do with your newly installed phpBB3:"

Please now delete, move or rename the install directory before you use your board. If this directory is still present, only the Administration Control Panel (ACP) will be accessible.

'''Click Login'''

'''''Note 1'':''' Delete or rename this folder: '''<nowiki>*\Uniform Server\udrive\www\phpBB3\install</nowiki>'''

'''''Note 2'':''' To access your BB type the following into your browser: '''<nowiki>http://localhost/phpBB3/</nowiki>'''
|}
|
|}

'''''[[#top | Top]]'''''

== Problems encountered ==
None.

If the mail function fails, this can be resolved in one of two ways check out this section [[PHP mail function | PHP mail function]].

== General ==
Again it's taken longer to write this page than actually perform the installation and testing. Although not exhaustive, I tested with different drive letters, ran from a memory stick this took above five minutes to copy across (Total 61.2 MB phpBB3 9.21 MB). Looks fine to me but remember its always the components you do not test or assume, that flaw you in the end.

'''''[[#top | Top]]'''''
----

{|
| [[Image:uc_small_logo.gif]] || [[User:Ric|Ric]]
|}

[[Category: UniCenter]]
[[Category: New Users]]
[[Category: PHP]]
[[Category: Installation]]

Navigation menu