概要 †
HHVMをパッケージから導入します。
Debianのリポジトリにはないので、HHVM公式サイトの手順に従います。
手順 †
- インストール
1
2
3
4
5
6
|
| wget -O - http://dl.hhvm.com/conf/hhvm.gpg.key | apt-key add -
echo deb http://dl.hhvm.com/debian wheezy main | tee /etc/apt/sources.list.d/hhvm.list
apt-get update
apt-get install hhvm
update-rc.d -f hhvm defaults
|
- Nginxの設定例
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
| -
!
| location ~ /pma/.*\.php
{
include fastcgi_params;
fastcgi_pass 127.0.0.1:9000;
fastcgi_keep_conn on;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
access_log /opt/nginx/log/pma/access.log main;
error_log /opt/nginx/log/pma/error.log warn;
}
location /pam
{
alias /opt/www/hoge/pma/;
expires max;
log_not_found off;
access_log off;
}
|
検証時の環境 †