In this article, I will test Flarum, a simple forum software, on the Cloudways Platform. However, before going over the installation process, I will introduce Flarum, briefly mention several important features, and most importantly show you how to install Flarum.
What is Flarum?
Flarum is an open source forum software that is pretty fast and very simple to install and use. Some important features of Flarum are:
- Elegant UI
- Floating Composer
- Swipe Gestures & Smooth Animations
- Fast & Lightweight
Flarum is currently in development stage and features change quickly (and dramatically) with every release. If you wish to try out the software, do check out the latest stable version.
I will now go through the process of installing and testing Flarum on the Cloudways Platform. There is an off chance that the software might not work well with PHP 7.x. Thus, it is better to use PHP 5.6 for testing Flarum.
How to Install Flarum on Cloud Servers
You will need a valid account on Cloudways for hosting PHP website. If you do not have one yet, Sign Up for an account.
Once you are logged into your Cloudways account, launch a new server with a PHP Stack application. The following GIF illustrates the process and should be used as a guide to the process.
Once the server and the application are up, click on the Applications from the menu and select your newly created application on the next page.
Next, from the left sidebar menu, select Application Settings.
For SSH Credentials, goto Servers in the menu and select your server. The SSH credentials could be found in the Master Credentials section. Once you have the credentials, use puTTY to SSH to the server.
In puTTY, type the following command to access the application’s public_html folder.
cd applications/<app folder name>/public_html
The Application folder name is mentioned at the Application Settings page. Use the following command to remove all the files from this folder.
rm -rf *
Next, run the following command to install Flarum.
composer create-project flarum/flarum flarum –stability=beta
Once the download finishes, the next step is the installation.
To start the installation process, go to the Application Settings page. On this page, change the webroot to ‘flarum’.
Click the Launch app button (located at the top of the screen).
You will see the following page:
Enter the database credentials that are available on the Application Access Detail page.
Click the Install Flarum button to launch the process. The process usually takes a few minutes. Once it finishes, you will see this screen:
If you see the above screen, the installation process was a success. If you need further help with the process or would like to contribute to the discussion, leave a comment below.
Ahmed was a PHP community expert at Cloudways - A Managed PHP Hosting Cloud Platform. He is a software engineer with extensive knowledge in PHP and SEO. He loves watching Game of Thrones is his free time. Follow Ahmed on Twitter to stay updated with his works. You can email him at email@example.com
Create PHP websites without the worry of server management.
Deploy your PHP app on optimized PHP hosting servers.