Topic: Sqlite3 for PHP 7.4

I must be missing something but I cannot find a way to get SQLite3 for PHP 7.4. It is not compiled in and I cannot find an extension for it.

There must be a simple explanation and/or I must be dumb-headed smile

Re: Sqlite3 for PHP 7.4

Both sqlite3 and pdo_sqlite extensions are there.

As explained by the wizard, if you need foo extension, install php-foo, so

# yum install php-sqlite3 php-pdo_sqlite

...

$ php -m | grep sqlite
pdo_sqlite
sqlite3
Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: Sqlite3 for PHP 7.4

Thanks, that worked. I could not find any information about the location of the SQLite3 package and tested just about every option with yum. Because I am not using PDO on this server I did not test that one. I could not find any information about SQLite for PHP 7.4 with yum, either, even with a broad search like

yum search php | grep -i "sqlite"

That one only listed the 5.x extensions. That is why I kept scratching my head. Yes, it must be somewhere in the PHP 7.4 documentation but I could not find it. The only thing I found was "The bundled libsqlite has been removed." plus some building instructions.

Anyhow, many thanks again.

Re: Sqlite3 for PHP 7.4

"yum search"  is broken, perhaps dnf will fix this in a future version...
https://bugzilla.redhat.com/show_bug.cgi?id=1768871

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi