Skip to main content

PHPBB ON CENTOS 6.9



First install LAMP setup on our centos 6 server.(Note: phpBB requires MySQL version 3.23 or higher and you must be running PHP 4.3.3 or higher.)
Now install the following packages
#yum -y install php php-curl php-json php-gd php-mysql php-zlib php-ftp php-xml ImageMagick
Open php.ini page and append the following
#vi  /etc/php.ini
extension=imagick.so

#mysql -u root -p
mysql> create database phpbbdb;
Query OK, 1 row affected (0.00 sec)
mysql> grant all on phpbbdb.* to phpbbuser@localhost identified by 'redhat';
Query OK, 0 rows affected, 1 warning (0.00 sec)
mysql> flush privileges;
Query OK, 0 rows affected (0.00 sec)
mysql> exit
Bye

Download phpbb3.1.10 on /tmp
# wget https://www.phpbb.com/files/release/phpBB-3.1.10.zip
Extract it to /var/www/html directory
#unzip phpBB-3.1.10.zip -d /var/www/html/
Set ownership of /var/www/html to apache
#chown -R apache:apache /var/www/html
Restart httpd and mysql services
#service mysqld restart
#service httpd restart
Now from browser access your ip. http://your_public_ip










Now delete the installation file
# rm -rf /var/www/html/install
Again login through our ip