1. 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

Discussion in 'Installation, Upgrade, and Import Support' started by konstantyn_pr, Nov 3, 2014.

  1. konstantyn_pr

    konstantyn_pr New Member

    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 ?
     

    Attached Files:

  2. Mike

    Mike XenForo Developer Staff Member

    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.
     
  3. konstantyn_pr

    konstantyn_pr New Member

    All right, thx, ill take config.php.default as an example
     

Share This Page