自从我将 Debian 服务器从 Jessie 升级到 Buster 后,ocsinventory 似乎不再工作,Apache 发送了类似这样的错误日志
PHP Fatal error: Call to undefined function curl_init() in /usr/share/ocsinventory-reports
我认为我已经安装了这个库
dpkg -l|grep -i curl
ii curl 7.64.0-4+deb10u1 amd64 command line tool for transferring data with URL syntax
ii libcurl3-gnutls:amd64 7.64.0-4+deb10u1 amd64 easy-to-use client-side URL transfer library (GnuTLS flavour)
ii libcurl4:amd64 7.64.0-4+deb10u1 amd64 easy-to-use client-side URL transfer library (OpenSSL flavour)
rc php5-curl 5.6.40+dfsg-0+deb8u12 amd64 CURL module for php5
rc php7.0-curl 7.0.33-0+deb9u9 amd64 CURL module for PHP
ii php7.3-curl 7.3.19-1~deb10u1 amd64 CURL module for PHP
ii python-pycurl 7.43.0.2-0.1 amd64 Python bindings to libcurl
ii python3-pycurl 7.43.0.2-0.1 amd64 Python bindings to libcurl (Python 3)
我已经删除了 curl 重新启动机器和 Apache
有谁能帮助我吗?
谢谢