thesogafoi
5 months ago
120
13
Laravel

i have problem with pdo_sqlite

Posted 5 months ago by thesogafoi

Hey guys i am using ubuntu 18.01.1 LTS and i use linuxbrew for install valet on my pc , i use sqlite in my laravel but i get php warning and it doesnot work i install sqlite with brew and apt-get for ubuntu but still fail Here's my warning

PHP Warning:  PHP Startup: Unable to load dynamic library 'pdo_sqlite.so' (tried: /usr/lib/php/20180731/pdo_sqlite.so (/usr/lib/php/20180731/pdo_sqlite.so: undefined symbol: sqlite3_column_table_name), /usr/lib/php/20180731/pdo_sqlite.so.so (/usr/lib/php/20180731/pdo_sqlite.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
PHP Warning:  Module 'sqlite3' already loaded in Unknown on line 0

i install php-sqlite and i get SQLite 3.x driver for PDO Wez Furlong in my phpinfo but still not work can u help me ?

Please sign in or create an account to participate in this conversation.