Skip to content

Instantly share code, notes, and snippets.

@Maks3w
Created January 26, 2014 21:46
Show Gist options
  • Save Maks3w/8639870 to your computer and use it in GitHub Desktop.
Save Maks3w/8639870 to your computer and use it in GitHub Desktop.
Name: php-5.4
Cartridge-Short-Name: PHP
Display-Name: PHP 5.4.5
Description: "PHP is a general-purpose server-side scripting language originally designed for Web development to produce dynamic Web pages. The mod_php Apache module is used to execute PHP applications. Popular development frameworks include: CakePHP, Symfony, and Code Igniter. Popular applications include: Drupal, Wordpress, and Mediawiki."
Version: 5.4.5
Source-Url: https://github.com/nhymxu/openshift-origin-cartridge-php-5.4/archive/master.zip
License: "The PHP License, version 3.0"
License-Url: http://www.php.net/license/3_0.txt
Vendor: php.net
Cartridge-Vendor: getup
Categories:
- cartridge
- web_framework
Website: http://www.php.net
Help-Topics:
"Developer Center": https://openshift.redhat.com/community/developers
Cart-Data:
- Key: OPENSHIFT_LOG_DIR
Type: environment
Description: "Directory to store application log files."
- Key: OPENSHIFT_TMP_DIR
Type: environment
Description: "Directory to store application temporary files."
- Key: OPENSHIFT_REPO_DIR
Type: environment
Description: "Application root directory where application files reside. This directory is reset everytime you do a git-push"
- Key: OPENSHIFT_INTERNAL_PORT
Type: environment
Description: "Internal port to which the web-framework binds to."
- Key: OPENSHIFT_INTERNAL_IP
Type: environment
Description: "Internal IP to which the web-framework binds to."
- Key: OPENSHIFT_RUN_DIR
Type: environment
Description: "Directory to store PID files and other runtime state."
- Key: OPENSHIFT_APP_DNS
Type: environment
Description: "Fully qualified domain name for the application."
- Key: OPENSHIFT_APP_NAME
Type: environment
Description: "Application name"
- Key: OPENSHIFT_DATA_DIR
Type: environment
Description: "Directory to store application data files. Preserved across git-pushes. Not shared across gears."
- Key: OPENSHIFT_APP_UUID
Type: environment
Description: "Unique ID which identified the application. Does not change between gears."
- Key: OPENSHIFT_GEAR_UUID
Type: environment
Description: "Unique ID which identified the gear. This value changes between gears."
Suggests:
Provides:
- "php"
- "php(version) = 5.4.5"
Requires:
Conflicts:
Native-Requires:
- "php >= 5.4"
- "php < 5.5.0"
- "php-pdo"
- "php-gd"
- "php-xml"
- "php-mysql"
- "php-pgsql"
- "php-pear"
Architecture: noarch
Reservations:
- MEM >= 100MB
Start-Order: php
Publishes:
get-doc-root:
Type: "FILESYSTEM:doc-root"
get-php-ini:
Type: "FILESYSTEM:php-ini"
publish-http-url:
Type: "NET_TCP:httpd-proxy-info"
publish-gear-endpoint:
Type: "NET_TCP:gear-endpoint-info"
Subscribes:
set-db-connection-info:
Type: "NET_TCP:db:connection-info"
Required: false
set-nosql-db-connection-info:
Type: "NET_TCP:nosqldb:connection-info"
Required: false
set-mysql-connection-info:
Type: "NET_TCP:db:mysql"
Required : false
set-postgres-connection-info:
Type: "NET_TCP:db:postgres"
Required : false
set-doc-url:
Type: "STRING:urlpath"
Required : false
Scaling:
Min: 1
Max: -1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment