pinodex / openshift-cartridge-nginx-php7

DISCONTINUED (see https://blog.openshift.com/migrate-to-v3-v2-eol/). OpenShift Cartridge for Nginx and PHP 7.
Other
55 stars 32 forks source link

$OPENSHIFT_MYSQL_DB_HOST and $OPENSHIFT_MYSQL_DB_PORT are empty, and it doesn't recognize the host which phpmyadmin uses #14

Open brunoczim opened 7 years ago

pinodex commented 7 years ago

Hi. Sorry for the late reply. Have you installed the MySQL cartridge? It's the one that provides those environment variables.

brunoczim commented 7 years ago

Yes, I have.

pinodex commented 7 years ago

How are you reading those environment variables? I was able to do that with getenv function.