Skip to content

Latest commit

 

History

History
19 lines (15 loc) · 1.14 KB

README.md

File metadata and controls

19 lines (15 loc) · 1.14 KB

httpd + php 5.6 on OpenShift

This is a simple build script for setting up httpd server and php 5.6 (with yaf and phalcon php framework extensions and mongo php driver as modules) on Red Hat's OpenShift platform.

Installation

  1. Let's pick up a name for our new app; myapp!
  2. Create a new application: rhc app create myapp diy.
  3. Go to the app's directory: cd myapp.
  4. Get a build script from this repo: git pull -s recursive -X theirs https://github.com/mrinx/openshift-httpd-php.git.
  5. Push your app to the clouds: git push.
  6. Tadaa! Wait, we're not done yet, take a coffee, watch your favorite TV show for a bit, and check the building process in an hour or so.
  7. Yop, something got broken, let's start the build process again: rhc app deploy master.
  8. Tadaa! Wait again, get a coffee, watch some TV show; if the process doesn't finish successfully, repeat the previous step.
  9. Tadaa! Tadaa! Check your application in the web browser, information about your php configuration and set up should appear.

I got inspired by similar project by boekkooi.