[OpenSIPS-Users] OpenSIPS-CP + SQLite. Possible?
alex at opensips.org
Tue Jul 21 10:44:45 CEST 2015
Actually it should be very possible. OpenSIPS-CP uses Pear MDB2 database
So all you need to do is installing Pear MDB2 SQLite driver.
(https://pear.php.net/package/MDB2_Driver_sqlite) and adjust the
(config/db.inc.php) accordingly ($config->db_driver = "sqllite";)
The guys from Pear say that MDB2 currently supported database backends are:
fbsql -> FrontBase
ibase -> InterBase / Firebird (requires PHP 5)
mssql -> Microsoft SQL Server (NOT for Sybase. Compile PHP --with-mssql)
mysql -> MySQL
mysqli -> MySQL (supports new authentication protocol) (requires PHP 5)
oci8 -> Oracle 7/8/9/10
pgsql -> PostgreSQL
querysim -> QuerySim
sqlite -> SQLite 2
I haven't tested this but if you do it just let us know how it went.
Hope this helps you.
On 20.07.2015 23:10, Rodrigo Pimenta Carvalho wrote:
> Just to confirm:
> Nowadays it is not possible to use OpenSIPS Control Panel and SQLite,
> is it?
> RODRIGO PIMENTA CARVALHO
> Inatel Competence Center
> Ph: +55 35 3471 9200 RAMAL 979 (Brasil)
> Users mailing list
> Users at lists.opensips.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Users