facebook / facebook/hhvm

php_sapi_name return srv in fastcgi mode

Open
#6,026 3 comments 0 reactions 0 assignees View on GitHub
php5 incompatibility probably easy
Dominant language
C++
Stars
18.7k
Forks
3.1k
Avg merge
1h 47m
Merged PRs (30d)
2

Description

When running HHVM in FastCGI mode, the php_sapi_name is returning the value srv while it should return cgi-fcgi or fpm-fcgi. This is causing an issue with Magento and Turpentine not setting the header content type correctly.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.