我无法让“apt-get install php5-suhosin”工作

use*_*879 2 php package-management apt software-installation

我正在运行 ubuntu 13.04。我无法让我的 php 网站工作,因为我无法安装 php5-suhosin。

每次我尝试过时,它都这么说apt-get install php5-suhosin

包 php5-suhosin 不可用,但被另一个包引用。
这可能意味着软件包丢失、已过时或
只能从其他来源获得

我已经做了apt-get update and apt-get upgrade

我似乎也无法通过编译安装它。请帮忙!谢谢!

^^过时^^ 下面是新问题!

Reading package lists... Done
Building dependency tree 
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
php5-suhosin : Depends: phpapi-20090626
E: Unable to correct problems, you have held broken packages.
Run Code Online (Sandbox Code Playgroud)

oer*_*dnj 9

用于 PHP 5.4+ 的 Suhosin 从未被上游开发人员及时完成 Debian/Ubuntu 版本,因此 php5-suhosin 包已从 Debian(和 Ubuntu)中删除。

只需删除剩菜并忘记php5-suhosin。

您不需要 php5-suhosin 在 php 中运行网站。

编辑:suhosin.org 在几年不活动后发布了一个支持 PHP5.4+ 的新版本。如果你真的认为没有它你就活不下去,你可以从源代码自己编译 suhosin 扩展。

  • 那你问错了问题。如果您的问题确实是关于无法运行的 PHP,您应该关闭它作为回答(因为老实说这回答了您的问题)并发布一个新问题,其中包含有关您的 PHP 设置(安装的软件包等)的更多详细信息。 (7认同)