Giter Club home page Giter Club logo

openshift-php-fpm's Introduction

OpenShift PHP Cartridge

The php cartridge provides PHP on OpenShift.

Template Repository Layout

php/                   Externally exposed PHP code goes here
libs/                  Additional libraries
misc/                  For PHP code that should not be accessible by end users
deplist.txt            List of pears to install
.openshift/            Location for OpenShift specific files
  action_hooks/        See the Action Hooks documentation [1]
  markers/             See the Markers section [2]

[1] Action Hooks documentation [2] Markers

OpenShift will look for the php and libs directories when serving your application. index.php will handle requests to the root URL of your application. You can create new directories as needed.

Note: Every time you push, everything in your remote repo dir is recreated. Please store long term items (like an sqlite database) in the OpenShift data directory, which will persist between pushes of your repo. The OpenShift data directory is accessible relative to the remote repo directory (../data) or via an environment variable OPENSHIFT_DATA_DIR.

Environment Variables

For more information about environment variables, consult the OpenShift Application Author Guide.

deplist.txt

A list of pears to install, line by line on the server. This will happen when the user git pushes.

Markers

Adding marker files to .openshift/markers will have the following effects:

force_clean_build     Will remove all previous perl deps and start installing
                      required deps from scratch

hot_deploy            Will prevent the apache process from being restarted during
                      build/deployment

disable_auto_scaling  Will prevent scalable applications from scaling up 
                      or down according to application load.

openshift-php-fpm's People

Contributors

smerrill avatar maxamillion avatar danmcp avatar mrunalp avatar ironcladlou avatar jwhonce avatar kraman avatar pmorie avatar vojtechvitek avatar calfonso avatar smarterclayton avatar banzaiman avatar tdawson avatar brenton avatar detiber avatar rmillner avatar

Watchers

JT5D avatar James Cloos avatar  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.