title: Using PHP 5.6 in OpenShift
body: <p>I'm new to Git and OpenShift and I find it very difficult to use PHP 5.6 in OpenShift.</p>
  
  <p>first, I was trying to setup my application with built-in php 5.4 of openshift, but I noticed I need version 5.6 or higher for it.</p>
  
  <p>So.. I didnt some searching and found this: <a href="https://github.com/boekkooi/openshift-diy-nginx-php" rel="nofollow">https://github.com/boekkooi/openshift-diy-nginx-php</a></p>
  
  <p>To get PHP 5.6 working at OpenShift, you have to do the following:</p>
  
  <pre><code>Create a new Openshift "Do-It-Yourself" application
  Clone this repository
  Add a new remote "openshift" (You can find the URL to your git repository on the Openshift application page)
  Run git push --force "openshift" master:master
  SSH into your gear
  Wait for build to finish (This may take at least an hour)
  Open http://appname-namespace.rhcloud.com/ to verify
  </code></pre>
  
  <p>But since I'm a total newb, I don't really get what I need to do.</p>
  
  <ul>
  <li><p>"Add a new remote "openshift" (You can find the URL to your git repository on the Openshift application page)"
  What does that mean? how do I do that?</p></li>
  <li><p>Run git push --force "openshift" master:master</p></li>
  </ul>
  
  <p>Running it returned: <code>fatal: Not a git repository (or any parent up to mount point /var/lib/openshift)
  Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).</code> (Run via SSH)</p>
  
  <p>Hope someone can help me with this. thanks!</p>