GithubHelp home page GithubHelp logo

miguelramosfdz / openshift-nginx-php-fpm Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pinodex/openshift-nginx-php-fpm

0.0 1.0 0.0 1.1 MB

Openshift cartridge with Nginx and PHP-FPM

License: Other

openshift-nginx-php-fpm's Introduction

OpenShift Nginx PHP-FPM Cartridge

Nginx updated to 1.6.0 with PHP 5.3/5.4/5.5.

Forked from getupcloud/openshift-nginx-php-fpm.

Example Usage

Command line

Install the OpenShift RHC Client Tools first if you haven't installed it yet.

$ rhc app create myapplicationname https://reflector-getupcloud.getup.io/github/pinodex/openshift-nginx-php-fpm
$ cd myapplicationname
$ echo '<?php phpinfo(); ?>' > www/info.php
$ git add .
$ git commit -m 'Testing'
$ git push

Using OpenShift Console

Use this for your cartridge definition URL https://reflector-getupcloud.getup.io/github/pinodex/openshift-nginx-php-fpm

PHP Version

PHP 5.4 will be installed if the "v" parameter is not specified. To install other PHP version, just pass the version to the "v" parameter.

$ rhc app create myapplicationname https://reflector-getupcloud.getup.io/github/pinodex/openshift-nginx-php-fpm?v=5.3

User-defined configuration

Place your nginx .conf files inside config/nginx.d/. It will be include()ed from "http" scope. Place your php-fpm .conf files inside config/php-fpm.d/. It will be include()ed from main php-fpm.conf file.

openshift-nginx-php-fpm's People

Contributors

caruccio avatar spinolacastro avatar

Watchers

 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.