php - 分手后在debian 9上安装php

标签 php ubuntu debian installation

我在我的 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/

相关文章:

php - PHP将整数转换为32位(4字节)十六进制以进行套接字编程

php - 无法在 IE7 中下载文件,但在 Firefox、Chrome 等中没有任何问题。?

php - sql函数不会通过php执行

ubuntu - 如何在 ubuntu 18.04 中启动 Netbeans 8.2

ruby-on-rails - Ubuntu 10.04 中的 "update-rc.d:/etc/init.d/unicorn_app: file does not exist"

gcc - 无法在 Debian Squeeze 客户机上安装 VMWare Tools

javascript - 防止通过 jquery ajax 调用在浏览器中显示参数。

ruby - OpenSSL 添加 CA 进行证书验证

json - Perl JSON 验证函数

mysql - Django迁移错误:'name'字段没有默认值