Skip to content
This repository has been archived by the owner on Nov 30, 2017. It is now read-only.

Commit

Permalink
Update packages for cartridge version 1.6.0
Browse files Browse the repository at this point in the history
 - PHP 7.0.8
 - Composer 1.1.3
 - Nginx 1.11.2
  • Loading branch information
pinodex committed Jul 14, 2016
1 parent 3811e72 commit ccf1937
Show file tree
Hide file tree
Showing 53 changed files with 96 additions and 6 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# OpenShift Nginx PHP 7 Cartridge
Nginx 1.9 with PHP 7.0 on OpenShift.

* Nginx: 1.11.1
* PHP: 7.0.7
* Composer: 1.1.2
* Nginx: 1.11.2
* PHP: 7.0.8
* Composer: 1.1.3

## Installation

Expand Down
2 changes: 1 addition & 1 deletion etc/cartridge_version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.5.0
1.6.0
4 changes: 2 additions & 2 deletions metadata/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ Description: "PHP 7 on OpenShift"
License: "The PHP License, version 3.0"
License-Url: http://www.php.net/license/3_0.txt
Vendor: PHP Group
Cartridge-Version: 1.5.0
Cartridge-Version: 1.6.0
Cartridge-Vendor: pinodex
Version: '7'
Versions: ['1.11.1', '7.0.7', '1.1.2']
Versions: ['1.11.2', '7.0.8', '1.1.3']
Categories:
- service
- php
Expand Down
Binary file modified usr/bin/composer
Binary file not shown.
Binary file modified usr/bin/php
Binary file not shown.
90 changes: 90 additions & 0 deletions usr/bin/php-config
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
#! /bin/sh

SED="/bin/sed"
prefix="/usr"
datarootdir="/usr/share"
exec_prefix="/usr"
version="7.0.8"
vernum="70008"
include_dir="/usr/include/php"
includes="-I$include_dir -I$include_dir/main -I$include_dir/TSRM -I$include_dir/Zend -I$include_dir/ext -I$include_dir/ext/date/lib"
ldflags=""
libs="-lcrypt -lcrypt -ledit -lncurses -lstdc++ -lz -lrt -lm -ldl -lnsl -lxml2 -lz -lm -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lssl -lcrypto -lcrypt -lcrypt "
extension_dir='/usr/lib64/php/modules'
man_dir=`eval echo /usr/share/man`
program_prefix=""
program_suffix=""
exe_extension=""
php_cli_binary=NONE
php_cgi_binary=NONE
configure_options=" '--build=x86_64-redhat-linux-gnu' '--host=x86_64-redhat-linux-gnu' '--target=x86_64-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--cache-file=../config.cache' '--with-libdir=lib64' '--with-config-file-path=/etc' '--with-config-file-scan-dir=/etc/php.d' '--disable-debug' '--with-pic' '--disable-rpath' '--without-pear' '--with-exec-dir=/usr/bin' '--with-freetype-dir=/usr' '--with-png-dir=/usr' '--with-xpm-dir=/usr' '--enable-gd-native-ttf' '--with-t1lib=/usr' '--without-gdbm' '--with-jpeg-dir=/usr' '--with-openssl' '--with-pcre-regex' '--with-zlib' '--with-layout=GNU' '--with-kerberos' '--with-libxml-dir=/usr' '--with-system-tzdata' '--with-mhash' '--enable-dtrace' '--enable-force-cgi-redirect' '--disable-phpdbg' '--libdir=/usr/lib64/php' '--enable-pcntl' '--enable-fastcgi' '--without-readline' '--with-libedit' '--with-imap=shared' '--with-imap-ssl' '--enable-mbstring=shared' '--enable-mbregex' '--with-gd=shared' '--with-gmp=shared' '--enable-calendar=shared' '--enable-bcmath=shared' '--with-bz2=shared' '--enable-ctype=shared' '--enable-dba=shared' '--with-db4=/usr' '--enable-exif=shared' '--enable-ftp=shared' '--with-gettext=shared' '--with-iconv=shared' '--enable-sockets=shared' '--enable-tokenizer=shared' '--with-xmlrpc=shared' '--with-ldap=shared' '--with-ldap-sasl' '--enable-mysqlnd=shared' '--with-mysqli=shared,mysqlnd' '--with-mysql-sock=/var/lib/mysql/mysql.sock' '--with-interbase=shared,/usr/lib64/firebird' '--with-pdo-firebird=shared,/usr/lib64/firebird' '--enable-dom=shared' '--with-pgsql=shared' '--enable-simplexml=shared' '--enable-xml=shared' '--enable-wddx=shared' '--with-snmp=shared,/usr' '--enable-soap=shared' '--with-xsl=shared,/usr' '--enable-xmlreader=shared' '--enable-xmlwriter=shared' '--with-curl=shared,/usr' '--enable-pdo=shared' '--with-pdo-odbc=shared,unixODBC,/usr' '--with-pdo-mysql=shared,mysqlnd' '--with-pdo-pgsql=shared,/usr' '--with-pdo-sqlite=shared,/usr' '--with-pdo-dblib=shared,/usr' '--with-sqlite3=shared,/usr' '--enable-json=shared' '--enable-zip=shared' '--with-pspell=shared' '--enable-phar=shared' '--with-mcrypt=shared,/usr' '--with-tidy=shared,/usr' '--enable-sysvmsg=shared' '--enable-sysvshm=shared' '--enable-sysvsem=shared' '--enable-shmop=shared' '--enable-posix=shared' '--with-unixODBC=shared,/usr' '--enable-fileinfo=shared' '--enable-intl=shared' '--with-icu-dir=/usr' '--with-enchant=shared,/usr' '--with-recode=shared,/usr' '--enable-opcache' 'build_alias=x86_64-redhat-linux-gnu' 'host_alias=x86_64-redhat-linux-gnu' 'target_alias=x86_64-redhat-linux-gnu'"
php_sapis=" cli cgi"

# Set php_cli_binary and php_cgi_binary if available
for sapi in $php_sapis; do
case $sapi in
cli)
php_cli_binary="/usr/bin/${program_prefix}php${program_suffix}${exe_extension}"
;;
cgi)
php_cgi_binary="/usr/bin/${program_prefix}php-cgi${program_suffix}${exe_extension}"
;;
esac
done

# Determine which (if any) php binary is available
if test "$php_cli_binary" != "NONE"; then
php_binary="$php_cli_binary"
else
php_binary="$php_cgi_binary"
fi

# Remove quotes
configure_options=`echo $configure_options | $SED -e "s#'##g"`

case "$1" in
--prefix)
echo $prefix;;
--includes)
echo $includes;;
--ldflags)
echo $ldflags;;
--libs)
echo $libs;;
--extension-dir)
echo $extension_dir;;
--include-dir)
echo $include_dir;;
--php-binary)
echo $php_binary;;
--php-sapis)
echo $php_sapis;;
--configure-options)
echo $configure_options;;
--man-dir)
echo $man_dir;;
--version)
echo $version;;
--vernum)
echo $vernum;;
*)
cat << EOF
Usage: $0 [OPTION]
Options:
--prefix [$prefix]
--includes [$includes]
--ldflags [$ldflags]
--libs [$libs]
--extension-dir [$extension_dir]
--include-dir [$include_dir]
--man-dir [$man_dir]
--php-binary [$php_binary]
--php-sapis [$php_sapis]
--configure-options [$configure_options]
--version [$version]
--vernum [$vernum]
EOF
exit 1;;
esac

exit 0
Binary file modified usr/lib64/libfreebl3.so
Binary file not shown.
Binary file modified usr/lib64/libxml2.so.2
Binary file not shown.
Binary file modified usr/lib64/php/modules/apcu.so
Binary file not shown.
Binary file modified usr/lib64/php/modules/bcmath.so
Binary file not shown.
Binary file modified usr/lib64/php/modules/bz2.so
Binary file not shown.
Binary file modified usr/lib64/php/modules/calendar.so
Binary file not shown.
Binary file modified usr/lib64/php/modules/ctype.so
Binary file not shown.
Binary file modified usr/lib64/php/modules/curl.so
Binary file not shown.
Binary file modified usr/lib64/php/modules/dom.so
Binary file not shown.
Binary file modified usr/lib64/php/modules/exif.so
Binary file not shown.
Binary file modified usr/lib64/php/modules/fileinfo.so
Binary file not shown.
Binary file modified usr/lib64/php/modules/ftp.so
Binary file not shown.
Binary file modified usr/lib64/php/modules/gd.so
Binary file not shown.
Binary file modified usr/lib64/php/modules/gettext.so
Binary file not shown.
Binary file modified usr/lib64/php/modules/gmp.so
Binary file not shown.
Binary file modified usr/lib64/php/modules/iconv.so
Binary file not shown.
Binary file modified usr/lib64/php/modules/imap.so
Binary file not shown.
Binary file modified usr/lib64/php/modules/intl.so
Binary file not shown.
Binary file modified usr/lib64/php/modules/json.so
Binary file not shown.
Binary file modified usr/lib64/php/modules/mbstring.so
Binary file not shown.
Binary file modified usr/lib64/php/modules/mcrypt.so
Binary file not shown.
Binary file modified usr/lib64/php/modules/mysqli.so
Binary file not shown.
Binary file modified usr/lib64/php/modules/pdo.so
Binary file not shown.
Binary file modified usr/lib64/php/modules/pdo_mysql.so
Binary file not shown.
Binary file modified usr/lib64/php/modules/pdo_pgsql.so
Binary file not shown.
Binary file modified usr/lib64/php/modules/pdo_sqlite.so
Binary file not shown.
Binary file modified usr/lib64/php/modules/pgsql.so
Binary file not shown.
Binary file modified usr/lib64/php/modules/phar.so
Binary file not shown.
Binary file modified usr/lib64/php/modules/posix.so
Binary file not shown.
Binary file modified usr/lib64/php/modules/shmop.so
Binary file not shown.
Binary file modified usr/lib64/php/modules/simplexml.so
Binary file not shown.
Binary file modified usr/lib64/php/modules/soap.so
Binary file not shown.
Binary file modified usr/lib64/php/modules/sockets.so
Binary file not shown.
Binary file modified usr/lib64/php/modules/sqlite3.so
Binary file not shown.
Binary file modified usr/lib64/php/modules/sysvmsg.so
Binary file not shown.
Binary file modified usr/lib64/php/modules/sysvsem.so
Binary file not shown.
Binary file modified usr/lib64/php/modules/sysvshm.so
Binary file not shown.
Binary file modified usr/lib64/php/modules/tidy.so
Binary file not shown.
Binary file modified usr/lib64/php/modules/tokenizer.so
Binary file not shown.
Binary file modified usr/lib64/php/modules/wddx.so
Binary file not shown.
Binary file modified usr/lib64/php/modules/xml.so
Binary file not shown.
Binary file modified usr/lib64/php/modules/xmlreader.so
Binary file not shown.
Binary file modified usr/lib64/php/modules/xmlwriter.so
Binary file not shown.
Binary file modified usr/lib64/php/modules/xsl.so
Binary file not shown.
Binary file modified usr/lib64/php/modules/zip.so
Binary file not shown.
Binary file modified usr/sbin/nginx
Binary file not shown.
Binary file modified usr/sbin/php-fpm
Binary file not shown.

0 comments on commit ccf1937

Please sign in to comment.