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
Desktop: Fedora 31 x86_64 + rpmfusion + remi-test + remi-dev
Laptop:  Fedora 30 x86_64 + rpmfusion + remi (SCL only)
Hosting Server: CentOS 6.10 x86_64 with EPEL, remi, remi-php72 and remi-php72-test

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

Desktop: Fedora 31 x86_64 + rpmfusion + remi-test + remi-dev
Laptop:  Fedora 30 x86_64 + rpmfusion + remi (SCL only)
Hosting Server: CentOS 6.10 x86_64 with EPEL, remi, remi-php72 and remi-php72-test