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_
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.
Same issue on php7. Just did a apt-get dist-upgrade
and now the warning is gone and curl works properly. Hope it helps!
If anyone is facing the same Problem with php 7.0.
I removed the old "curl" with sudo apt-get remove "curl"
and installed the Version for php 7.0 with sudo apt-get install php7.0-curl
.
The Message is now gone and everything is working fine.