There are a few things that you will need to have set up in order to run Flarum:
A web server: Apache (with mod_rewrite), Nginx, or Lighttpd
PHP 5.6 up to 7.1 (not 7.2) with the following extensions: mbstring, pdo_mysql, openssl, json, gd, dom, fileinfo
MySQL 5.5+
SSH (command-line) access
Alternatively, you can use a third party Flarum service such as Free Flarum (not affiliated with flarum.org).
@sarneeh look here http://flarum.org/docs/installation/ I recommend checking the documentation before installation. Not only with flarum ?