[Fix] PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib/php5/20090626/sqlite.so’
Please keep in mind that this post was written more than 2 years ago and might be outdated.
PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib/php5/20090626/sqlite.so’
To fix this annoying warning in CLI console every time I ran php script I had to remove unused sqlite.ini file from /etc/php5/conf.d/
use this to remove this file
sudo rm /etc/php5/conf.d/sqlite.ini
full error message
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