I'm certain this has been asked before. I've searched, found threads, still pulling my hair out. This installation has been a disaster.
I have a dedicated Linux box (CentOS 7). I am running WHM/Cpanel. I have multiple websites, but I'll only be using Flarum on "Website 1".
Every. Single. Installation. Guide. says to install Composer as ROOT. This would make sense, because if I installed it as user, I wouldn't have permission to install it globally, right?
So then, of course, I am forced to install Flarum as root. I figured I'll just disable the plugins to prevent security hacks:
**composer create-project flarum/flarum --stability=beta**
**Installing flarum/flarum (v0.1.0-beta.8.1)
[ErrorException]
mkdir(): File exists**
Guys and gals, what the hell am I doing wrong? 16 years of programming and network admin and I can't even figure this install out.