WordPress Dev with wp-sqlite-db
Published on .
Recently I wanted to do a little WordPress development, but also avoid running MySQL Server and Apache Server. I thought of using a VM, but discovered the VirtualBox isn’t supported on M1 Macs. Turns out, all you need is PHP (<8.0*) and SQLite, thanks to https://github.com/aaemnnosttv/wp-sqlite-db
- Get the latest WordPress
- Drop in db.php
- Move wp-config-sample.php to wp-config.php
- Run
php -S
That’s it!
*PHP8 throws type checking errors, so I resorted to PHP 7.4