Git Product home page Git Product logo

openshift-php5.5-cgi-apache's Introduction

PHP5.5 + Apache

This modified DIY cartridge provides newer PHP and freer Apache configuration, which can be found in conf/httpd.conf folder.

Quick Start

Easiest Way

  1. Open https://openshift.redhat.com/app/console/application_type/cart!diy-0.1
  2. Fill Source Code text field: https://github.com/laobubu/openshift-php5.5-cgi-apache.git
  3. Click Create Application and wait
  4. After creating the app, visit your app (e.g. https://foo-bar.rhcloud.com/ )
  5. Click the last link.
  6. Wait for ~1 hour and then PHP will be ready.
  7. Git clone your OpenShift App and modify.

Cool Way

  1. Push the content of this repo to your OpenShift. (Read Tips if you are using Windows)
  2. Access your app's URL like https://foo-bar.rhcloud.com
  3. Click the Link.
  4. Wait (Yes! It's slow!!!) , or do anything you want.

Old School

  1. Push the content of this repo to your OpenShift. (Read Tips if you are using Windows)
  2. Access SSH and Run chmod +x ${OPENSHIFT_REPO_DIR}/misc/make.sh && nohup ${OPENSHIFT_REPO_DIR}/misc/make.sh > /tmp/makephp&
  3. Give your family/friend a ring or watch a movie.
  4. Do what you want.

Tips

  • You can also choose other version of PHP by editing misc/make.sh before making.
  • Once you modified conf/httpd.conf, you must reload your app, or run ${OPENSHIFT_REPO_DIR}/.openshift/action_hooks/reload, to make it works.
  • If you are using Windows, the permission information might be lost. To avoid the problem, you can try this in Git Bash:
git clone https://github.com/laobubu/openshift-php5.5-cgi-apache.git --depth 1
cd openshift-php5.5-cgi-apache
git remote set-url origin ssh://[email protected]/xxxxxxx #replace this
git push origin -f
#since then, the repo is yours and do whatever you want.

openshift-php5.5-cgi-apache's People

Contributors

laobubu avatar

Watchers

James Cloos avatar Tyrant-Gao avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.