Creating Portable WordPress with Sqlite Database
Mohamad's interest is in Programming (Mobile, Web, Database and Machine Learning). He is studying at the Center For Artificial Intelligence Technology (CAIT), Universiti Kebangsaan Malaysia (UKM).
[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: