Let say you want to deploy phpBB on Clever-Cloud. This example is based on phpBB 3.3.11.
First, for now, as far as I know phpBB can’t be deployed immutable way, so you’ll need the equivalent of a server deployment, witch mean : file-storage + data-base + php-runtime.
Tools : you’ll just need a text editor and a sftp client.
Let’s go !
Download the last release of phpBB, unzip the archive into a directory named phpBB3.
Login into your Clever-Cloud console, create an new application, select create
-> an application
-> create brand new app
, select PHP
, select FTP
, choose your scaling
, name your application and select the data center, select a data-base
add-on
(Postgres), choose the size of you data-base, name your data-base, finaly validate. Know you have your run environment.
Now you can connect to you FTP server with your FTP client, you can find the connection details into de FS Bucket parameters.
You’ll upload the pre-unziped phpBB
directory.
Now configure your runtime, open the information section, choose what you need and save, do the same in the scalability section, for the domain name section you can add your domain if you have one and configured it following the documentation, the enviroment variable is the interesting part.
In the environment variable the minimum to add is CC_WEBROOT="/phpBB3"
, the other option you can tune are listed here : https://developers.clever-cloud.com/doc/reference/reference-environment-variables/#php
After configuring all the environment variable you want, you’re know ready you click the start or re-build and configure your phpBB board.
Leave a Reply