Home ›
PHP warning Unable to load dynamic library sqlite.soPHP warning Unable to load dynamic library sqlite.so
Submitted by Benjamin Melançon on November 21, 2011 - 9:37am
Getting this every time i run Drush or anything else PHP on the command line:
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626/sqlite.so' - /usr/lib/php5/20090626/sqlite.so: cannot open shared object file: No such file or directory in Unknown on line 0
Fix:
sudo rm /etc/php5/conf.d/sqlite.ini
Courtesy https://bugs.launchpad.net/ubuntu/+source/php5/+bug/875262/comments/9
Searched words:
command-line PHP error
Comments
Thanks
Thanks, that worked for me. If you're afraid (like me) to break stuff when deleting files, renaming it works too:
sudo mv /etc/php5/conf.d/sqlite.ini /etc/php5/conf.d/sqlite.ini.deleted
awesooome man, I was using
awesooome man, I was using netbeans for symfony 2 framework and it was appeared a message PHP ...bla bla sqlite bla bla.
No apear anymore. SALUDAATE
Post new comment