gpt4 book ai didi

php - HHVM 与 FastCGI 安装错误

转载 作者:太空宇宙 更新时间:2023-11-04 09:00:08 24 4
gpt4 key购买 nike

当我尝试使用 apt-get install -y --force-yes hhvm-fastcgi 安装时出现以下错误:

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:
hhvm-fastcgi : Depends: hhvm (>= 2.3.0)
E: Unable to correct problems, you have held broken packages.

我也做了 apt-get install hhvm 但我得到:

Reading package lists... Done
Building dependency tree
Reading state information... Done
hhvm is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 10 not upgraded.

有没有办法让这个 fastcgiHHVM 一起工作?

最佳答案

从 3.0.0 版本开始,不再有 hhvm-fastcgi 包。相反,hhvm 只支持 FastCGI。您可以找到有关如何为您的发行版安装该软件包的说明 here .

一旦成功安装,它会提供一些命令的简短介绍,然后将配置您的 Web 服务器(Nginx 或 Apache)以使用 HHVM,或者您可以遵循几乎任何 php- fpm 安装说明,只需将 php-fpm 替换为 hhvm

如果您没有得到宣传(因为您已经运行了最新版本),您可以看到它 here .

关于php - HHVM 与 FastCGI 安装错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23054117/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com