• Categories
    Category
  • Categories
    Category
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial Comments FAQ Related Articles

How to install phpBB on Ubuntu 16.04

2114

To install phpBB on Ubuntu 16.04

phpBB is an open source bulletin board forum software that provides a virtual space for discussion among the members of your website. It has a huge variety of features like flat topic structure, sub-forums, forum-specific styles, user groups, group-based permissions, database query and template caching, support for PHP 7, multiple database engines and much more. This tutorial covers the installation procedure of phpBB on Ubuntu 16.04.

Pre-Requirements
LAMP (Apache, MariaDB, PHP 7)
MariaDB (Create database and user. Provide privileges to that user)
PHP modules (apt-get install php7.0-mysql php7.0-curl php7.0-json php7.0-cgi php7.0 libapache2-mod-php7.0 php7.0-mcrypt php7.0-xmlrpc php7.0-gd)

Installation procedure

To proceed with the installation procedure, download the package of phpBB by executing the wget command followed by the download link.

root@linuxhelpubnt:~ # wget https://www.phpbb.com/files/release/phpBB-3.2.1.zip
--2017-11-09 11:48:25--  https://www.phpbb.com/files/release/phpBB-3.2.1.zip
Resolving www.phpbb.com (www.phpbb.com)... 140.211.15.244
Connecting to www.phpbb.com (www.phpbb.com)|140.211.15.244|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 7767156 (7.4M) [application/zip]
Saving to: ‘ phpBB-3.2.1.zip’ 

phpBB-3.2.1.zip     100%[===================> ]   7.41M   113KB/s    in 34s     

2017-11-09 11:49:07 (221 KB/s) - ‘ phpBB-3.2.1.zip’  saved [7767156/7767156]


Extract the downloaded package by running the unzip command.

root@linuxhelpubnt:~ # unzip phpBB-3.2.1.zip &ndash d /var/www/html
Archive:  phpBB-3.2.1.zip
   creating: phpBB3/
   creating: phpBB3/language/
   creating: phpBB3/language/en/
  inflating: phpBB3/language/en/viewforum.php  
  inflating: phpBB3/language/en/memberlist.php  
  inflating: phpBB3/language/en/install.php  
  inflating: phpBB3/language/en/posting.php  
  inflating: phpBB3/language/en/captcha_recaptcha.php  
  inflating: phpBB3/language/en/viewtopic.php  
.
.
inflating: /var/www/html/phpBB3/images/upload_icons/zip.gif  
  inflating: /var/www/html/phpBB3/images/upload_icons/mid.gif  
  inflating: /var/www/html/phpBB3/images/index.htm  
  inflating: /var/www/html/phpBB3/images/spacer.gif  

Change the ownership and permission of file in HTML location by running the wget command.

root@linuxhelpubnt:~# chown www-data:www-data -R /var/www/html/
root@linuxhelpubnt:~# chmod 775 -R /var/www/html/

Enable the module rewrite by executing the following command.

root@linuxhelpubnt:~# a2enmod rewrite 

Create the virtual host by creating new phpbb.conf file and enter the following content in the file. Save and exit the file.

root@linuxhelpubnt:~# nano /etc/apache2/sites-available/phpbb.conf

< VirtualHost *:80> 
ServerAdmin admin@phpbb.com
DocumentRoot /var/www/html/phpBB3/
ServerName phpbb.com
ServerAlias www.phpbb.com
< Directory /var/www/html/phpBB3/> 
Options FollowSymLinks
AllowOverride All
Order allow,deny
allow from all
< /Directory> 
ErrorLog /var/log/apache2/phpbb.com-error_log
CustomLog /var/log/apache2/phpbb.com-access_log common
< /VirtualHost> 

Provide entry in hosts file. Save and exit the file.

root@linuxhelpubnt:~# nano /etc/hosts
< machine ip >    domain_name

Enable the newly created phpbb.conf file.

root@linuxhelpubnt:~# a2ensite phpbb.conf 
Enabling site phpbb.
To activate the new configuration, you need to run:
   service apache2 reload

Restart the Apache service.

root@linuxhelpubnt:~# systemctl  restart  apache2.service

Switch over to the browser and enter the URL as http://phpbb.com/install. The installation process of phpBB appears on the screen. Click Install option to start the installation process.
installation procedure

Enter the admin details and click Submit option.
admin details

Enter the required database details and click Submit option.
database details

Enter the server configuration details and click Submit option.
server configuration

Enter the E-mail configuration details and click Submit option.
email configuration

Finally enter the site details and click Submit option.
site detials

The installation is in progress and may take up some time.
installing process

The installation is now complete and now click the Take me to the ACP option to navigate to administrator panel.
installation complete

The admin page of phpBB is shown as below.
admin page
This concludes the installation procedure of phpBB on Ubuntu 16.04.

Tags:
liam
Author: 

Comments ( 0 )

No comments available

Add a comment

Frequently asked questions ( 5 )

Q

I just cannot get gallery avatars to appear.what can I do ?

A

phpBB categorises gallery avatars and it does this by reading through folders contained in the location you specified as being the gallery path. For example, if you set the gallery path to im

Q

what are the system requirements ?

A

phpBB has a few requirements which must be met before you are able to install and use it. A webserver or web hosting account running on any major Operating System with support for PHP • A SQ

Q

I keep getting Mail sending errors when I (or my users) post/send PM's/etc.how to solve this issue ?

A

This error will occur if phpBB cannot send mail. phpBB can send email two ways; using the PHP mail() function or directly via SMTP. Some hosting providers limit the mail() function to prevent

Q

I am finding phpBB too difficult to install. Will you do it for me?

A

Simple answer, no we will not. We are not being difficult when we say this we are actually trying to help you. phpBB has a reputation for being easy to install, that reputation is we believe well deserved. It is a simple process of unarchiving a single file, uploading the resulting directory/files to their intended location and entering some data in a web based form.

Q

Is there any way you could leave Download FAQ entries outside of language/en/help_faq.php?

A

It will be good for localized Download MOD version to include one more file which should contains Download FAQ entries.

Related Tutorials in How to install phpBB on Ubuntu 16.04

Related Tutorials in How to install phpBB on Ubuntu 16.04

How to install Meld tool in Ubuntu
How to install Meld tool in Ubuntu
Feb 25, 2017
How to install Dconf-Editor on Ubuntu 18.04
How to install Dconf-Editor on Ubuntu 18.04
Jul 14, 2018
How to install and update OpenSSL on Ubuntu 16.04
How to install and update OpenSSL on Ubuntu 16.04
Mar 9, 2017
How to install GLib 2.0 on Ubuntu 17.04
How to install GLib 2.0 on Ubuntu 17.04
May 22, 2017
How to Install Android Emulator on Ubuntu 20.4.1
How to Install Android Emulator on Ubuntu 20.4.1
Jul 13, 2021
How To Install AnyDesk on Ubuntu 16.04
How To Install AnyDesk on Ubuntu 16.04
Apr 4, 2018
How to install Genymotion 2.12.1 on Ubuntu 18.04
How to install Genymotion 2.12.1 on Ubuntu 18.04
Jul 9, 2018
How to install Timeshift 18.4 on Ubuntu 18.04
How to install Timeshift 18.4 on Ubuntu 18.04
Jul 6, 2018

Related Forums in How to install phpBB on Ubuntu 16.04

Related Forums in How to install phpBB on Ubuntu 16.04

Ubuntu
matthew class=
Failed to enable unit: Refusing to operate on linked unit file sshd.service
Apr 15, 2019
Ubuntu
mason class=
Passwd: You may not view or modify password information for root On Ubuntu 19.04
May 27, 2019
Ubuntu
isaac class=
/etc/apt/sources.list Permission denied
May 18, 2017
Ubuntu
yousuf class=
lsb_release command not working : Debian
Jan 18, 2018
ifconfig command
jackbrookes class=
what is the location of the ifconfig program on your machine?
Jan 4, 2018
Ubuntu
mason class=
"E: Package 'php-mcrypt' has no installation candidate" error on Ubuntu 20.4.1
Mar 15, 2021
NFS
luke class=
clnt_create: RPC: Program not registered
Apr 25, 2017
Apache
isaac class=
How to disable apache welcome page on Ubuntu
Dec 15, 2018

Related News in How to install phpBB on Ubuntu 16.04

Related News in How to install phpBB on Ubuntu 16.04

How To Install Mixxx on Ubuntu 16.04
How To Install Mixxx on Ubuntu 16.04
Oct 11, 2017
Ubuntu 17.04 released with greater expectations
Ubuntu 17.04 released with greater expectations
Apr 15, 2017
Ubuntu Core now available on i.MX6 based TS-4900 thanks to Technologic Systems Inc.
Ubuntu Core now available on i.MX6 based TS-4900 thanks to Technologic Systems Inc.
Mar 1, 2017
Ubuntu 17.10 Artful Aardvark Beta 1 is now here. Download Now
Ubuntu 17.10 Artful Aardvark Beta 1 is now here. Download Now
Sep 2, 2017
Ubuntu Unity is no more: One Linux dream has been axed
Ubuntu Unity is no more: One Linux dream has been axed
Apr 7, 2017
What’s next for Ubuntu Linux Desktop?
What’s next for Ubuntu Linux Desktop?
Apr 11, 2017
Say Hi to Ubuntu's new mascot
Say Hi to Ubuntu's new mascot
Mar 22, 2019
KDE Connect App was removed from Google Play Store and brought back in 24 hours
KDE Connect App was removed from Google Play Store and brought back in 24 hours
Mar 22, 2019
Back To Top!
Rank
User
Points

Top Contributers

userNamenaveelansari
135850

Top Contributers

userNameayanbhatti
92510

Top Contributers

userNamehamzaahmed
32150

Top Contributers

1
userNamelinuxhelp
31040

Top Contributers

userNamemuhammadali
24500
Can you help Owen ?
How to add SSH key to my Gitlab account

I need to add the SSH key in my gitlab account. How to do so ????

Networking
  • Routing
  • trunk
  • Netmask
  • Packet Capture
  • domain
  • HTTP Proxy
Server Setup
  • NFS
  • KVM
  • Memory
  • Sendmail
  • WebDAV
  • LXC
Shell Commands
  • Cloud commander
  • Command line archive tools
  • last command
  • Shell
  • terminal
  • Throttle
Desktop Application
  • Linux app
  • Pithos
  • Retrospect
  • Scribe
  • TortoiseHg
  • 4Images
Monitoring Tool
  • Monit
  • Apache Server Monitoring
  • EtherApe 
  • Arpwatch Tool
  • Auditd
  • Barman
Web Application
  • Nutch
  • Amazon VPC
  • FarmWarDeployer
  • Rukovoditel
  • Mirror site
  • Chef
Contact Us | Terms of Use| Privacy Policy| Disclaimer
© 2025 LinuxHelp.com All rights reserved. Linux™ is the registered trademark of Linus Torvalds. This site is not affiliated with linus torvalds in any way.