我试图在Ubuntu18.04上安装Moodle,并将其连接到MSSQL服务器。
但是,当我试图安装php7.0-curl扩展时,为了使moodle能够工作,MSSQL工具和其他库正在被删除,因为它们支持libcurl3,尽管最新的php7.0-curl只依赖于libcurl4。
因此,当我试图安装libcurl4时,它会删除软件包、MSSQL工具和其他工具。
sudo ACCEPT_EULA=Y apt-get -y install msodbcsql mssql-tools
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libpython-stdlib python python-minimal python2.7 python2.7-minimal
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
libcurl3 msodbcsql17
The following packages will be REMOVED:
libcurl4 libcurl4-openssl-dev php7.0-curl
The following NEW packages will be installed:
libcurl3 msodbcsql msodbcsql17 mssql-tools有什么方法可以安装旧的php7.0-curl扩展,这样我就可以让MSSQL和Moodle都高兴了吗?
非常感谢你抽出时间。
发布于 2018-05-13 11:17:00
您需要为php7.0安装扩展“公共”和“curl”的早期版本
wget http://security.ubuntu.com/ubuntu/pool/main/p/php7.0/php7.0-common_7.0.28-0ubuntu0.16.04.1_amd64.deb
wget http://security.ubuntu.com/ubuntu/pool/main/p/php7.0/php7.0-curl_7.0.28-0ubuntu0.16.04.1_amd64.deb
sudo dpkg -i php7.0-common_7.0.28-0ubuntu0.16.04.1_amd64.deb
sudo dpkg -i php7.0-curl_7.0.28-0ubuntu0.16.04.1_amd64.debhttps://askubuntu.com/questions/1035646
复制相似问题