首页 > 解决方案 > buster、apache、php5.6 和 php curl 的问题

问题描述

我想要这个配置:php5.6 / apache2 / debian buster / php5-curl

我可以使用 jessie 存储库和 apache 安装 php5.6。当我想安装 php5-curl 时,apt 想删除 apache 和 libapachemod-php5。命令 :

# apt-get install php5-curl
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  apache2-utils libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap libbrotli1 libjansson4 liblua5.2-0 ssl-cert
Use 'apt autoremove' to remove them.
The following additional packages will be installed:
  libcurl3
The following packages will be REMOVED:
  apache2 apache2-bin libapache2-mod-php5 libcurl4
The following NEW packages will be installed:
  libcurl3 php5-curl
0 upgraded, 2 newly installed, 4 to remove and 4 not upgraded.
Need to get 0 B/290 kB of archives.
After this operation, 15.5 MB disk space will be freed.
Do you want to continue

你有想法吗 ?无法在 debian buster 上安装 php5.6 和 php5-curl 吗?我安装了 libcurl4,但 php5 不行。

非常感谢你

标签: phpapachecurldebian-buster

解决方案


推荐阅读