2

I ran :

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

Put:

extension=php_curl.so

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/php_curl.so' - /usr/lib/php5/20090626+lfs/php_curl.so:     
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.

Running:

locate php_curl.so

Returns nothing.

1 Answer 1

1

I removed:

extension=php_curl.so

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .