Flarum is incompatible with 000webhost.
However, I found a workaround, to get flarum installed on your 000webhost app, easier than the flarum official installation.
- Download this file.
- Upload it to your website.
- Create a new database.
- Go to yourwebsite.000webhostapp.com/install.php
- Fill in the form with the required information.
- Success! You have successfully installer Flarum forum beta 7.
NOTE: This is the easiest forum install you will ever find!
Your website should have no files in it or the installation file should be in an empty directory
Here is a sample of a 000webhost installation