Koozali.org: home of the SME Server
Obsolete Releases => SME 9.x Contribs => Topic started by: calisun on December 29, 2020, 10:32:32 PM
-
I am trying to install an app in the iBay and I got a message that:
SQLite extension: Not Installed
so I did:
yum -y install sqlite-devel
After I reconfigured and restarted the system, I still get the message:
SQLite extension: Not Installed
What did I miss?
-
I think what's missing is not sqlite itself but the php extension for sqlite.
Getting the php extension will depend on the version of php running in the ibay.
In an ibay of mine running php7.3, the 'sqlite3.so' extension came from 'php73-php-pdo'.
sqlite3.so for the SME-native php5.3 looks like it comes from 'php-pdo'.
-
Thank you mmccarn for your reply.
I am using php7.3
Would you be able to explain how you got php extension for sqlite?
-
Assuming you have the Remi-safe repository (https://wiki.contribs.org/Remi-safe) configured and enabled, you would use
yum install php73-php-pdo
-
Looks like I already have it installed
While running above mentioned code, I see:
Package php73-php-pdo-7.3.25-1.el6.remi.x86_64 already installed and latest version
Nothing to do
So since I have already installed sqlite (as described in first post)
and since system tells me that php sqlite extension is installed,
what else could it be since I am still getting message:
SQLite extension: Not Installed
---update------
I thought that default PHP install might be having an effect, so I tried installing extension for default PHP
so I did:
yum install php-pdo
but no luck, I got a message:
Package php-pdo-5.3.3-50.el6_10.x86_64 already installed and latest version
Nothing to do
So hunt continues, any ideas?
-
Another test, to make sure that the issue is not caused by PHP Software collections, I have disabled PHP Software collections for that iBay.
The installer confirmed that the default PHP is active and does not complain about old version, but it still complains:
PHP Version: 5.3.3
SQLite extension: Not Installed
-
Probably needs loading via the php config.
You'll need a custom template.
-
What is the app that you are trying to install?
On my system, phpinfo() reports that sqlite 3.7.17 is enabled on an uncustomized ibay running php73, based on the default content of /etc/opt/remi/php73/php.d/30-pdo_sqlite.ini.
; Enable pdo_sqlite extension module
extension=pdo_sqlite
-
:thumbsup:
Must be installed with the plugin then.