As per the question: "Under What Conditions May PHP Server Variables Be Disabled".
Basically on Shared Hosting I am using I can choose to run my website in 'Apache' or 'CGI' mode. When running in 'CGI' mode the PHP Server Variable 'https' is not available, it simply does not exist where in 'Apache' mode it does.
Would this be a result of Safe Mode? Or something similar? Or would this have to be explicitly disabled in the config of PHP?
That's about it, I have had a lot of trouble trying to find an answer for this.
I am not asking for how they may have their hosting setup, I am asking WHY would certain PHP Variables be disabled, or in this case specifically the HTTPS variable, and would it be as a result of Manual interaction, PHP config, or part of some other 'system' i.e. PHP Safe Mode. Is the HTTPS variable a security risk?
Refer to the PHP documentation (which you should have read, searched through, or Googled) - specifically this page, which says:
(Emphasis added.)
Working As Designed.