Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

I ran :

sudo apt-get install curl libcurl3 libcurl3-dev php5-curl


in both /etc/php5/cli/php.ini and /etc/php5/apache2/php.ini

But running php from the command line gives me the following error:

PHP Warning:  PHP Startup: Unable to load dynamic library 
'/usr/lib/php5/20090626+lfs/' - /usr/lib/php5/20090626+lfs/     
cannot open shared object file: No such file or directory in Unknown on line 0

Running the install commands again tells me that everything is already the newest version.



Returns nothing.

share|improve this question

1 Answer 1

I removed:

from both php.ini files and I no longer get the error.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.