How to fix : Unable to load dynamic library [PHP]

How to fix : Unable to load dynamic library [PHP]

Example : lost library “curl, pdo_sqlite, sqlite, sqlite3”
————————————————–
sornram9254@blackbuntu~/Desktop# ls /etc/php5/cli/conf.d
curl.ini gd.ini mcrypt.ini mysqli.ini mysql.ini pdo.ini pdo_mysql.ini pdo_sqlite.ini sqlite3.ini sqlite.ini
sornram9254@blackbuntu~/Desktop# ls /usr/lib/php5/20090626/
gd.so mcrypt.so mysqli.so mysql.so pdo_mysql.so pdo.so

————————————————–
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626/curl.so'
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626/pdo_sqlite.so'
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626/sqlite.so'
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626/sqlite3.so'

————————————————–
goto site , download and install lib
https://launchpad.net/~ubuntu-security/+archive/ppa/+build/3203514
————————————————–
install with software center or
commandline :
sornram9254@blackbuntu~/Desktop# wget http://example.com/
sornram9254@blackbuntu~/Desktop# dpkg -i file.deb

php5-curl_5.3.3-1ubuntu9.10_amd64.deb
(https://launchpad.net/~ubuntu-security/+archive/ppa/+build/3203514/+files/php5-curl_5.3.3-1ubuntu9.10_amd64.deb)

php5-sqlite_5.3.3-1ubuntu9.10_amd64.deb
(https://launchpad.net/~ubuntu-security/+archive/ppa/+build/3203514/+files/php5-sqlite_5.3.3-1ubuntu9.10_amd64.deb)
————————————————–

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.