通过fastcgi进入Nginx的HHVM不支持fastcgi_param是否正确?如果是这样,如何解决?
喜欢:
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;
}