lundi 6 juillet 2015

Update PDO Driver for SQLite for php

I have a server with this configuration:

centos 6.4

PHP 5.4

SQLite Library 3.6.20 (this is from phpinfo())

I desperately need to upgrade the sqlite library. I need to access from php a sqlite library. It seems that that database was created with sqlite 3.7. When I try to open it from php, I get this error "file is encrypted or is not a database". Updating that driver will solve the problem

Php was installed with the command yum --enablerepo=remi install php-fpm

I have found some answers like yum install php5-sqlite, it seems that this is an old command. Usually I find some outdated answers. I would need something to work with php 5.4. Installing with pecl did not work either.

Please help

Aucun commentaire:

Enregistrer un commentaire