Operating System & Version
CentOS v7.9.2009 STANDARD kvm
cPanel & WHM Version
cPanel Version 108.0.11

jimlongo

Well-Known Member
Mar 20, 2008
289
24
68
when I ask /usr/local/cpanel/3rdparty/bin/sqlite3 --version
I get 3.38.5 2022-05-06 15:25:27 serial

when I use a db I have sqlite3 /usr/local/cpanel/whostmgr/docroot/cgi/xyz/Model/Db/database.sqlite
and ask .version
I get SQLite 3.7.17 2013-05-20 00:56:22 serial`

how can I set 3.38.5 as the version to use?
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
15,307
2,440
363
cPanel Access Level
Root Administrator
Hey there! The version in /usr/local/cpanel/ is only used for internal cPanel tools, and not for any external sqlite3 databases.

If you upgrade to AlmaLinux 8 you'll get version 3.26, and that is likely the best option if you need a newer version, as I don't have a way to upgrade past the version that the operating system provides without causing compatibility issues:

Code:
# sqlite3 --version
3.26.0 2018-12-01 12:34:55