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
You are not logged in. Please login or register.
Please STOP WAR NOW! | |
For proper configuration and installation, please use the Configuration Wizard |
Versions: PHP ≤ 8.0 is EOL - PHP 8.1.27 - PHP 8.2.17 - PHP 8.2.18RC1 - PHP 8.3.4 - PHP 8.3.5RC1
More information: #remirepo IRC channel - Twitter: @RemiRepository - Discord server
Remi's RPM repository - Forum → User support → 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
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
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.
"yum search" is broken, perhaps dnf will fix this in a future version...
https://bugzilla.redhat.com/show_bug.cgi?id=1768871
Remi's RPM repository - Forum → User support → Sqlite3 for PHP 7.4
Generated in 0.005 seconds (51% PHP - 49% DB) with 10 queries
Powered by PunBB, supported by Informer Technologies, Inc.
Currently installed 2 official extensions. Copyright © 2003–2009 PunBB.