Changed way how Openshift environments are set. See https://www.openshift.com/blogs/taking-advantage-of-environment-variables-in-openshift-php-apps