5
HHVM通過fastcgi插入Nginx不支持fastcgi_param是否正確?如果是這樣,這怎麼解決?Handeling fastcgi_param在Nginx中使用HHVM fastcgi
像:
location ~ .php$ { ## Execute PHP scripts
if (!-e $request_filename) { rewrite//index.php last; }
expires off;
fastcgi_pass 127.0.0.1:9999; <- my hhvm is set to port 9999 io 9000
fastcgi_param PHP_VALUE "error_log=/var/report/PHP.error.log";
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param MAGE_RUN_CODE admin;
fastcgi_param MAGE_RUN_TYPE store;
include fastcgi_params;
}
無法將它們自己傳遞到PHP中。我要檢查HHVM設置而不是Nginx conf。 – fideloper
這是什麼運氣?看起來像它的可能,https://github.com/facebook/hhvm/issues/1650,但我想我做錯了 –
嗨@DylanMadisetti我無法檢查它,也許答案也在這裏:https ://github.com/danslo/hhvm/ –