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

前端 未结 3 1560
广开言路
广开言路 2021-01-01 18:01

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_

相关标签:
3条回答
  • 2021-01-01 18:23

    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.

    0 讨论(0)
  • 2021-01-01 18:31

    Same issue on php7. Just did a apt-get dist-upgrade and now the warning is gone and curl works properly. Hope it helps!

    0 讨论(0)
  • 2021-01-01 18:37

    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.

    0 讨论(0)
提交回复
热议问题