{"action":"closed","issue":{"url":"https://api.github.com/repos/facebook/hhvm/issues/5604","repository_url":"https://api.github.com/repos/facebook/hhvm","labels_url":"https://api.github.com/repos/facebook/hhvm/issues/5604/labels{/name}","comments_url":"https://api.github.com/repos/facebook/hhvm/issues/5604/comments","events_url":"https://api.github.com/repos/facebook/hhvm/issues/5604/events","html_url":"https://github.com/facebook/hhvm/issues/5604","id":93603349,"number":5604,"title":"The $_Server variable not working.","user":{"login":"JSummerhill","id":7462357,"avatar_url":"https://avatars.githubusercontent.com/u/7462357?v=3","gravatar_id":"","url":"https://api.github.com/users/JSummerhill","html_url":"https://github.com/JSummerhill","followers_url":"https://api.github.com/users/JSummerhill/followers","following_url":"https://api.github.com/users/JSummerhill/following{/other_user}","gists_url":"https://api.github.com/users/JSummerhill/gists{/gist_id}","starred_url":"https://api.github.com/users/JSummerhill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JSummerhill/subscriptions","organizations_url":"https://api.github.com/users/JSummerhill/orgs","repos_url":"https://api.github.com/users/JSummerhill/repos","events_url":"https://api.github.com/users/JSummerhill/events{/privacy}","received_events_url":"https://api.github.com/users/JSummerhill/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/facebook/hhvm/labels/fastcgi","name":"fastcgi","color":"ddabee"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2015-07-07T18:57:12Z","updated_at":"2016-09-30T19:39:27Z","closed_at":"2016-09-30T19:39:27Z","body":"Hello,\r\n\r\nSo when I called the php/hack environment variable \" $_SERVER['DOCUMENT_ROOT'].' \" plus my hack file, hhvm says it cannot find my file.  So then I did a var_dump($_SERVER['DOCUMENT_ROOT']) and I got the return: string(0) \"\".  So after doing a tcpdump to check the connect between fastcgi and my nginx server, I could see that it was correctly passing \"/var/www/html/\".  So I am getting this is an hhvm issue.  I have no idea why $_SERVER['DOCUMENT_ROOT'] is returning string(0) \"\".  This is very weird."}}
{"actor":{"display_login":"Orvid"}}