Nat TaylorBlog, Product Management & Tinkering

WordPress Dev with wp-sqlite-db

Published on . Updated 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

  1. Get the latest WordPress
  2. Drop in db.php
  3. Move wp-config-sample.php to wp-config.php
  4. Run php -S

That’s it!

*PHP8 throws type checking errors, so I resorted to PHP 7.4

Popular Posts

Post Navigation

«
»