User login

PHP warning Unable to load dynamic library sqlite.so

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

The content of this field is kept private and will not be shown publicly.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.
  • You can use Markdown syntax to format and style the text. Also see Markdown Extra for tables, footnotes, and more.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img> <blockquote> <small> <h2> <h3> <h4> <h5> <h6> <sub> <sup> <p> <br> <strike> <table> <tr> <td> <thead> <th> <tbody> <tt> <output>
  • Lines and paragraphs break automatically.

More information about formatting options

By submitting this form, you accept the Mollom privacy policy.