• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.4 Installation on Openshift

#1
Hi guys. I'm trying to install xenforo on Openshift.
I have php 5.4 and mysql 5.5 gears.
the connect url for mysql looks like:
mysql://$OPENSHIFT_MYSQL_DB_HOST:$OPENSHIFT_MYSQL_DB_PORT/

where $OPENSHIFT_MYSQL_DB_HOST and $OPENSHIFT_MYSQL_DB_PORT are some openshift's environmental variables. Looks like xenforo is not able to resolve them.
What can i do in this case ?
 

Attachments

Mike

XenForo developer
Staff member
#2
You would need to provide actual values there, rather than variables. These will be written to library/config.php. Alternatively, a config.php is PHP code, you can set the values as needed in PHP there; you can manually create the file based off of library/config.php.default.