# if the directory exists and WordPress doesn't appear to be installed AND the permissions of it are root:root, let's chown it (likely a Docker-created directory)
echo>&2 "WARNING: unable to establish a database connection to '$WORDPRESS_DB_HOST'"
echo>&2 ' continuing anyways (which might have unexpected results)'
echo>&2
fi
fi
# now that we're definitely done writing configuration, let's clear out the relevant envrionment variables (so that stray "phpinfo()" calls don't leak secrets from our code)