Creating Portable WordPress with Sqlite Database

[1] Download WordPress

https://wordpress.org/latest.zip

extract to your target path

e.g. c:\laragon\www\wp\

[2] Create sqlite database

create a file e.g. wpdb.sqlite and put it into the folder wp-content

[3] Edit the WordPress config file

(wp-config.php)

<?php
define('DB_DIR', __DIR__);
define('DB_FILE', 'wordpress.db');

Then, append remaining codes from wp-config-sample.php .

[4] Install

Run your web server and navigate to WordPress installation page.

Reference:

https://github.com/mfyz/wp-sqlite-installer/tree/master