Description of problem: The OPENSHIFT_MYSQL* var are not available in PHP applications, because the passenv is not being updated when the mysql cartridge is added to the gear. This would most probably happen for other Apache based cartridges. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. rhc app create php01 php-5.3 2. rhc add-cartridge mysql --app php01 3. rhc ssh --app php01 4. cat php/configuration/etc/conf.d/passenv.conf | grep MYSQL Actual results: There are no OPENSHIFT_MYSQL_* vars. Expected results: OPENSHIFT_MYSQL_* variables should be available for the PHP applications. Additional info:
You need to restart the application between step #2 and #3.