Ad

How Do I Fix These Warnings From Sqlite In My In Php Application?

- 1 answer

PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20160303/pdo_sqlite.so' - /usr/lib/php/20160303/pdo_sqlite.so: cannot open shared object file: No such file or directory in Unknown on line 0

PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20160303/sqlite3.so' - /usr/lib/php/20160303/sqlite3.so: cannot open shared object file: No such file or directory in Unknown on line 0

PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20160303/zip.so' - /usr/lib/php/20160303/zip.so: cannot open shared object file: No such file or directory in Unknown on line 0

Ad

Answer

I was able to solve the problems with one of the answers of the suggested post suggestions, simply the warnings disappeared after I installed the libraries that were missing, thanks!

then the solution is:

sudo apt-get install php7.1-sqlite3
sudo apt-get install php7.1-zip
Ad
source: stackoverflow.com
Ad