0

を使用してインストールしようとすると、以下のエラーが発生します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.

fastcgiこれを使用する方法はありHHVMますか?

4

2 に答える 2

2

hhvm-fastcgi3.0.0 リリースの時点で、パッケージはなくなりました。代わりに、hhvmFastCGI のみがサポートされます。お使いのディストリビューションにそのパッケージをインストールする方法については、こちらの手順を参照してください。

正常にインストールされると、HHVMを使用するphp-fpmように Web サーバー (Nginx または Apache) を構成するいくつかのコマンドに関する短い説明が表示されます。php-fpmhhvm

(すでに最新バージョンを実行しているため) 宣伝文句を入手できない場合は、ここで確認できます。

于 2014-04-14T10:40:42.223 に答える
1

公式ドキュメントに従って、HHVM をインストールします。これには、HHVM を FastCGI で起動する機能も含まれています。

前提条件

$ sudo apt-get update
$ sudo apt-get install -y unzip vim git-core curl wget build-essential python-software-properties

HHVM のインストール

$ wget -O - http://dl.hhvm.com/conf/hhvm.gpg.key | sudo apt-key add -
$ echo deb http://dl.hhvm.com/ubuntu precise main | sudo tee /etc/apt/sources.list.d/hhvm.list
$ sudo apt-get update
$ sudo apt-get install -y hhvm

HHVM をインストールする前に、これを行うこともできます。

sudo add-apt-repository -y ppa:mapnik/boost

追加:

このページには、HHVM がプリインストールされている vagrant ボックスに関するコメントがあります。

興味のある方:HHVM-Vagrant

于 2014-04-14T07:20:39.070 に答える