I've read of people here who have installed Flarum on Cloudways. I also read a poorly written and outdated article on how to do it hosted on Cloudways itself. I haven't had any luck installing Flarum no matter what method I have tried though.
I first tried installing it locally using XAMPP and struck out about 6 or 7 times (fixing an error using Google Fu only to discover another error behind it) before ultimately giving up. I was fine with that, since the only reason I was doing so locally was to act as a workaround for testing on a shared host that didn't supply SSH access. Pockethold was a bust, so I decided to use YouTube tutorials to go local and then migrate to hosting afterwards.
When that failed, I wondered why I was trying so many temporary installs and workarounds when my ultimate goal was to install Flarum on Cloudways anyway. So after wasting the better part of 4 days, I decided today I was going to get it setup on Cloudways. I started that process 10 hours ago, and I'm starting to believe that Flarum just isn't meant to be installed for me.
The most frustrating part is that I think there's a chance that it might have worked, but I guess the first time I tried the server was set to PHP 7.0. I learned that I needed to use PHP 7.1, so I attempted to use information from the forum here to clear cache, delete files, and attempt installation through SSH using "php flarum install" when the Browser option failed. Even when removing everything, new attempts to install brought about the old error "[InvalidArgumentException] Project directory ./ is not empty"
I fought with that for awhile, before I decided to just build a new server on Cloudways, be sure to set it to PHP 7.1 and start over again. I was a bit shocked and dismayed to find that after starting with a brand new server, I still received the "Project directory ./ is not empty" error.
Is there anyone out there who has installed Flarum on Cloudways within the last 6 to 8 weeks that can give a little help? If I can get it to work, I would be glad to do a screen recording and narration tutorial for those to come after. I'll even commit to keeping it updated with each new iteration of Flarum.