TL;DR: If you find yourself setting up a new environment and you run into problems running WordPress, MariaDB, and PHP there are a few things to remember. Here’s what and here’s how to fix it.
I’m working on a longer post about how I set up my latest development environment but, in the mean time, hit a wall when working with the following requirements:
We recommend servers running version 7.4 or greater of PHP and MySQL version 5.7 OR MariaDB version 10.2 or greater.
- Requirements, emphasis mine
Note that I use Homebrew to manage all of my packages and use Laravel Valet, WordPress, MariaDB, and PHP along with wp-cli. I’ll more on this in an upcoming post.
I’ve been talking with a few people on Twitter about it and it turned into a fun discussion.
Anyway, if you’ve followed any of this – or even if not and you’re experiencing this – then here’s a resolution for you.