XF 1.4 Installation on Openshift

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 ?
 

Attachments

  • Screen Shot 2014-11-03 at 3.57.46 PM.webp
    Screen Shot 2014-11-03 at 3.57.46 PM.webp
    21 KB · Views: 14
  • Screen Shot 2014-11-03 at 3.58.00 PM.webp
    Screen Shot 2014-11-03 at 3.58.00 PM.webp
    16.2 KB · Views: 12
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.
 
Top Bottom