我在我的 debian 拉伸(stretch)系统上安装了 php7.3,它正在工作。在我尝试安装 php7.3-gd 后,我的 php 不再工作。当我运行 php 时,我得到 /usr/bin/php file not found
.当我尝试重新安装 php 时出现此错误
以下包具有未满足的依赖项:
php7.3 : Depends: libapache2-mod-php7.3 but it is not going to be installed or
php7.3-fpm but it is not going to be installed or
php7.3-cgi but it is not going to be installed
php7.3-cli : Depends: php7.3-opcache but it is not going to be installed
Depends: libc6 (>= 2.29) but 2.24-11+deb9u4 is to be installed
php7.3-curl : Depends: libcurl4 (>= 7.44.0) but it is not installable
E: Unable to correct problems, you have held broken packages
最佳答案
试试这个命令:
apt-get install --fix-missing
关于php - 分手后在debian 9上安装php,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55911848/