How do I setup Flarum from a fresh install

I’ve tried this guide here: With this, I only ever get an error 500 though.

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.


You may want to try a more up to data tutorial for setting up an LAMP Stack. I’d recommend looking at the following. The first details how to setup a LAMP Stack while the second details how to work with VirtualHost blocks.

How To Install Linux, Apache, MySQL, PHP (LAMP) stack on Ubuntu 16.04

How To Set Up Apache Virtual Hosts on Ubuntu 16.04

If you’re open to using NGINX, I can help you there. I use and keep up with NGINX far more than I do Apache because I find it far easier to work with and far less cluttered.

Of course, if you want something super-simple to work with – something far easier than both NGINX or Apache, I’d recommend giving Caddy a go.

You can build your own version on the website, download it, upload it to your server, provide a much smaller configuration set and then run it.