{"action":"created","issue":{"url":"https://api.github.com/repos/wpengine/hgv/issues/182","labels_url":"https://api.github.com/repos/wpengine/hgv/issues/182/labels{/name}","comments_url":"https://api.github.com/repos/wpengine/hgv/issues/182/comments","events_url":"https://api.github.com/repos/wpengine/hgv/issues/182/events","html_url":"https://github.com/wpengine/hgv/issues/182","id":90497428,"number":182,"title":"Alternative to php/hhvm being separate sub-domains","user":{"login":"jb510","id":801241,"avatar_url":"https://avatars.githubusercontent.com/u/801241?v=3","gravatar_id":"","url":"https://api.github.com/users/jb510","html_url":"https://github.com/jb510","followers_url":"https://api.github.com/users/jb510/followers","following_url":"https://api.github.com/users/jb510/following{/other_user}","gists_url":"https://api.github.com/users/jb510/gists{/gist_id}","starred_url":"https://api.github.com/users/jb510/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jb510/subscriptions","organizations_url":"https://api.github.com/users/jb510/orgs","repos_url":"https://api.github.com/users/jb510/repos","events_url":"https://api.github.com/users/jb510/events{/privacy}","received_events_url":"https://api.github.com/users/jb510/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/wpengine/hgv/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-23T21:39:39Z","updated_at":"2015-06-24T18:21:45Z","closed_at":null,"body":"Just curious if controlling php vs hhvm by other means that would allow them to use the same URL was ever considered?\r\n\r\nSomething like toggling xdebug/profile on/off?\r\n\r\nI'm ignorant of the inner workings so I don't know if this makes any sense at all, but generally I wish I could use: lcl.domain.com and have it running on hhvm by default, than if/when I wanted to I could toggle it with something like lcl.domain.com/?engine=php and it'd start running on php.\r\n\r\nMaybe not as \"in your face\" as sub-domain names, but most of the time I don't need php/hhvm at the same time.\r\n\r\nor if the .com in there throws you (I think I'm the only person on the planet that does it lcl.domain.com) then domain.dev/?engine=php and domain.dev/?engine=hhvm to toggle.\r\n"},"comment":{"url":"https://api.github.com/repos/wpengine/hgv/issues/comments/114970020","html_url":"https://github.com/wpengine/hgv/issues/182#issuecomment-114970020","issue_url":"https://api.github.com/repos/wpengine/hgv/issues/182","id":114970020,"user":{"login":"jb510","id":801241,"avatar_url":"https://avatars.githubusercontent.com/u/801241?v=3","gravatar_id":"","url":"https://api.github.com/users/jb510","html_url":"https://github.com/jb510","followers_url":"https://api.github.com/users/jb510/followers","following_url":"https://api.github.com/users/jb510/following{/other_user}","gists_url":"https://api.github.com/users/jb510/gists{/gist_id}","starred_url":"https://api.github.com/users/jb510/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jb510/subscriptions","organizations_url":"https://api.github.com/users/jb510/orgs","repos_url":"https://api.github.com/users/jb510/repos","events_url":"https://api.github.com/users/jb510/events{/privacy}","received_events_url":"https://api.github.com/users/jb510/received_events","type":"User","site_admin":false},"created_at":"2015-06-24T18:21:45Z","updated_at":"2015-06-24T18:21:45Z","body":"Thanks for the detailed explanation Mark. I never doubted it well well reasoned and that all makes a lot of sense.\r\n\r\nAs for my workflow it was really about being more similar to my existing workflow.  The point about needing to fall back to php for debugging when hhvm fails is a great one though I hadn't sufficiently considered.  I think I'll just start setting lcl.domain.com to run hhvm, then leave php.domain.com as a fallback.  (FWIW, my restience to that was that lcl.domain.com for me always meant VVV, but I'm over that).  I might also finally give up on my preference for lcl. instead of .dev (which is because domain auto-complete works beautifully that way)\r\n\r\nThanks again for the detailed explanation!\r\n"}}