Downgrading PHP Errors

#1
I'm trying to downgrade php though the OpenLightSpeed Admin panel and keep striking errors such as the below:


checking for sqlite3 > 3.7.4... no
configure: error: Package requirements (sqlite3 > 3.7.4) were not met:

No package 'sqlite3' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables SQLITE_CFLAGS
and SQLITE_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
**ERROR** Could not configure PHP build
This is about the 3rd package where have had to manually find and install, I'm new to LightSpeed but I'm sure I'm not supposed to be doing these manual installs of dependancies?

Any ideas how to downgrade? I am using Elementor in my site and it does not work with PHP 8.1 apparently.
 
Top