The SQLite3 Class is not available in Local WP websites.
Compiling and installing it is very complicated and totally unnecessary. The steps on this tutorial can’t even be strictly followed in the specific case of SQLite3, because it’s not available as a PECL extension anymore, it’s now bundled to most recent PHP versions. You are intentionally disabling a native feature of PHP. What’s the benefits of doing so?