openshift php environment variables

if you are using php on your red hat openshift paas you should find that the following environment variables are available

OPENSHIFT_PHP_LOG_DIR
OPENSHIFT_TMP_DIR
OPENSHIFT_HOMEDIR
OPENSHIFT_REPO_DIR
OPENSHIFT_GEAR_NAME
OPENSHIFT_INTERNAL_PORT 8080
OPENSHIFT_CLOUD_DOMAIN
OPENSHIFT_INTERNAL_IP
OPENSHIFT_APP_DNS
OPENSHIFT_GEAR_DN
OPENSHIFT_CARTRIDGE_SDK_BASH /usr/lib/openshift/cartridge_sdk/bash/sdk
OPENSHIFT_PHP_PORT 8080
OPENSHIFT_APP_NAME
OPENSHIFT_DATA_DIR
OPENSHIFT_GEAR_UUID
OPENSHIFT_BROKER_HOST openshift.redhat.com
OPENSHIFT_APP_UUID
OPENSHIFT_CARTRIDGE_SDK_RUBY .../cartridge_sdk/ruby/sdk.rb
OPENSHIFT_PHP_IP
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s