Skip to content
Advertisement

PHP Startup: Unable to load dynamic library `curl.so` Ubuntu

PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib/php/20131226/curl.so’ – /usr/lib/php/20131226/curl.so: undefined symbol: zend_unset_property in Unknown on line 0

I am using Ubuntu 14.04 LTS and PHP v5.6

There are other versions in same machine php5 and php7 but php5.6 has been enabled. I tried to install cURL by

JavaScript

Now I am getting

Unable to load dynamic library curl.so

After running php -i | grep ini I get the following

JavaScript

And this is the actual warning

PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib/php/20131226/curl.so’ – /usr/lib/php/20131226/curl.so: undefined symbol: zend_unset_property in Unknown on line 0

Also checked that cURL isn’t working. Any kind of help is highly appreciated.

Advertisement

Answer

Update php5.6(-common) to a newer version. This can be done using apt-get update && apt-get upgrade. You have just updated php5.6-curl to the latest version but it depends on a newer php5.6.

User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement