openshift-cartridge-nginx-php7
openshift-cartridge-nginx-php7 copied to clipboard
$OPENSHIFT_MYSQL_DB_HOST and $OPENSHIFT_MYSQL_DB_PORT are empty, and it doesn't recognize the host which phpmyadmin uses
Hi. Sorry for the late reply. Have you installed the MySQL cartridge? It's the one that provides those environment variables.
Yes, I have.
How are you reading those environment variables? I was able to do that with getenv
function.