PSARC 2015/255 Update PHP to version 5.6.8 s11-update
authorMichael Nestler <Michael.Nestler@Oracle.COM>
Fri, 05 Jun 2015 09:47:02 -0700
branchs11-update
changeset 4418 7ae5fd823a4b
parent 4415 a4e14565d114
child 4419 ed3ddea626e3
PSARC 2015/255 Update PHP to version 5.6.8 20161915 add PHP 5.6
components/php-common/php.1.sunman
components/php/php-metadata.mk
components/php/php.mk
components/php/php56/Makefile
components/php/php56/enable-extensions.mk
components/php/php56/files/extensions.ini
components/php/php56/files/php5.6.conf
components/php/php56/intl/Makefile
components/php/php56/patches/CVE-2015-4021.patch
components/php/php56/patches/CVE-2015-4022.patch
components/php/php56/patches/CVE-2015-4024.patch
components/php/php56/patches/CVE-2015-4025_CVE-2015-4026.patch
components/php/php56/patches/configure.in.patch
components/php/php56/patches/ext-gmp-config.m4.patch
components/php/php56/patches/ext-intl-config.m4.patch
components/php/php56/patches/ext-socket-config.m4.patch
components/php/php56/php-56.p5m
components/php/php56/php-568-licenses.txt
components/php/php56/php56-metadata.mk
components/php/phpize.mk
components/php/suhosin-extension/Makefile
components/php/suhosin-extension/depend.mk
components/php/suhosin-extension/suhosin-extension-php56.p5m
components/php/suhosin-extension/suhosin-extension.license
components/php/xdebug/Makefile
components/php/xdebug/depend.mk
components/php/xdebug/xdebug-php56.p5m
components/php/xdebug/xdebug.license
--- a/components/php-common/php.1.sunman	Thu Jun 04 23:43:06 2015 -0700
+++ b/components/php-common/php.1.sunman	Fri Jun 05 09:47:02 2015 -0700
@@ -1,65 +1,34 @@
 '\" te
 .\" Copyright (c) 2008, 2015, Oracle and/or its affiliates. All rights reserved.
-.TH php 1 "29 Jan 2015" "SunOS 5.11" "User Commands"
-
+.TH php 1 "4 Apr 2015" "SunOS 5.11" "User Commands"
 .SH "NAME"
-php \- PHP Command Line Interface
-
-.SH "SYNOPSIS"
+php \- PHP: Hypertext Preprocessor
+.SH "DESCRIPTION"
+PHP is a programming language frequently used for web applications.
 .PP
-.nf
-php [options] [ -f ] file [[--] args...]
-php [options] -r code [[--] args...]
-php [options] [-B code] -R code [-E code] [[--] args...]
-php [options] [-B code] -F file [-E code] [[--] args...]
-php [options] -- [ args...]
-php [options] -a
-.fi
-.PP
-.nf
-php-config [options] --prefix
-php-config [options] --includes
-php-config [options] --ldflags
-php-config [options] --libs
-php-config [options] --extension-dir
-php-config [options] --include-dir
-php-config [options] --php-binary
-php-config [options] --version
-php-config [options] --vernum
-.fi
+If you are new to PHP, you should start with the PHP manual located on the PHP
+website at http://php.net/manual/ .
+.SH "PLATFORM-SPECIFIC"
+The manual pages provided by the PHP distribution are installed in the directory
+along with the PHP installation, which is dependent on the version of PHP
+installed, for example, /usr/php/5.6/share/man .  You can view them with
+man(1) by including this directory in the MANPATH environment variable.
 .PP
-.nf
-phpize [options] --clean
-phpize [options] --help
-phpize [options] --version
-phpize -v
-.fi
-.SH "DESCRIPTION"
-.PP
-For ease of access, the PHP manual  has  been  split  up into its 
-three main components.
-.SH "OVERVIEW"
+The PHP packages included in Solaris contain many PHP extensions. In order to
+use these extensions, you must enable them in a PHP configuration file. Starting
+with PHP 5.6, Solaris provides a file "conf.d/extensions.ini" under the
+appropriate /etc/php subdirectory. You may uncomment lines in this file to
+enable the desired extensions.
 .PP
-.nf
-php
-php-config
-phpize
-.fi
-.SH "PLATFORM-SPECIFIC"
-.PP
-If you are new to PHP, you should start with the PHP documentation,
-which is located in /usr/php/doc.
+To use PHP as an Apache web server module, you must configure Apache
+appropriately. Starting with PHP 5.6, Solaris provides a sample supplemental
+configuration file at /etc/apache2/2.4/samples-conf.d/php5.6.conf . To use it
+without modification, copy it into /etc/apache2/2.4/conf.d/ .
 .PP
-The man pages listed above are installed in the /usr/php/man
-directory.
-.PP
-Extensive additional documentation for PHP Extensions is available.
-This additional documentation is  in  the  /usr/php/doc directory.
-.PP
-You can view PHP's documentation with man(1)  by including
-/usr/php/man  in the MANPATH environment variable. Please note that
-running catman(1M) on the PHP manual pages is not supported.  For
-other Solaris-specific details, see the NOTES section below.
+The web/server/apache-22/module/apache-php53 package provides PHP 5.3 as a
+server module for Apache 2.2. For PHP 5.6, an additional package is not
+required; an Apache 2.4 server module is included in the web/php-56 package.
+Apache 2.2 support is not provided with PHP 5.6 in Solaris.
 .SH ATTRIBUTES
 See attributes(5) for descriptions of the  following  attributes:
 .sp
@@ -70,27 +39,28 @@
 ATTRIBUTE TYPE	            ATTRIBUTE VALUE            
 =
 Availability	T{
-web/php-52, web/server/apache-22/module/apache-php52
-T}
-=
-	T{
 web/php-53, web/server/apache-22/module/apache-php53
 T}
 =
 Stability	Uncommitted
 .TE
 .sp
-.SH "SEE ALSO"
-.nf
-http://www.php.net/         PHP Home Page
-http://www.php.net/docs.php PHP Documentation Page
-http://pear.php.net/        PEAR Repository
-http://pecl.php.net/        PECL Repository
-.fi
+.TS
+box;
+cdp-1 | cdp-1
+l | l .
+ATTRIBUTE TYPE	            ATTRIBUTE VALUE            
+=
+Availability	T{
+web/php-56
+T}
+=
+Stability	Uncommitted Pass-through
+.TE
+.sp
 .SH NOTES
 .LP
 PHP 5.2 may be removed in a future update.
-Newer versions of PHP will appear in a future Solaris.
 .LP
 Please migrate to a newer version.
 Migration documentation is available on the PHP website:
@@ -111,33 +81,6 @@
 Please note that the freezing of packages may yield
 an unsupportable system so use with caution.
 .LP
-PHP has been built to be largefile-aware and to use
-64-bit integers, although the interpreter and the library
-themselves are 32-bit applications (LP32).
-.LP
-If you wish to build and install PHP add-on modules from PECL,
-you can do so using the phpize script  -  see phpize(1) for
-details.
-.LP
-Solaris ships with PHP 5.2 and 5.3.
-To install PHP 5.2 use the pkg(1) command:
-.LP
-.nf
-pkg install web/php-52 web/server/apache-22/module/apache-php52
-.fi
-.LP
-To install PHP 5.3:
-.LP
-.nf
-pkg install web/php-53 web/server/apache-22/module/apache-php53
-.fi
-.LP
-Documentation is separate:
-.LP
-.nf
-pkg install web/php-53/documentation
-.fi
-.LP
 Before and after installing check or set the value of PHP's pkg
 mediator to the default version desired:
 .LP
@@ -150,20 +93,4 @@
 .nf
 pkg set-mediator -V 5.3 php
 .fi
-.LP
-where php mediator values are 5.2 or 5.3.
-.LP
-The configuration of php is controlled by editing the php
-configuration file for that specific version:
-.LP
-.nf
-/etc/apache2/2.2/conf.d/php/php5.2.conf
-.br
-or
-.br
-/etc/apache2/2.2/conf.d/php/php5.3.conf
-.fi
-.LP
-The pkg mediator will select the proper file to use.
-.LP
-PHP is a recursive acronym which stands for PHP Hypertext Pages.
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/php/php-metadata.mk	Fri Jun 05 09:47:02 2015 -0700
@@ -0,0 +1,41 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+
+#
+# Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
+#
+
+# PHP_TOP_DIR is for everything PHP-related (PHP, third party extensions, and
+# one-off build dependencies like uw-imap)
+PHP_TOP_DIR = $(WS_COMPONENTS)/php
+
+# Get version numbers. Change this include (and/or implement support for
+# multiple versions) when adding a new minor/major version of PHP.
+include $(PHP_TOP_DIR)/php56/php56-metadata.mk
+
+# PHP_BUNDLE_DIR is for everything we build from the PHP tarball (bundle).
+PHP_BUNDLE_DIR = $(PHP_TOP_DIR)/php$(UL_PHP_SHORT_VERSION)
+PHP_COMPONENT_SRC = php-$(UL_PHP_VERSION)
+PHP_SOURCE_DIR = $(PHP_BUNDLE_DIR)/$(PHP_COMPONENT_SRC)
+PHP_BUILD_DIR = $(PHP_BUNDLE_DIR)/build
+PHP_BUILD_DIR_64 = $(PHP_BUILD_DIR)/$(MACH64)
+PHP_PROTO_DIR = $(PHP_BUILD_DIR)/prototype/$(MACH)
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/php/php.mk	Fri Jun 05 09:47:02 2015 -0700
@@ -0,0 +1,55 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+
+#
+# Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
+#
+
+# Various macros/variables that are useful for building both PHP itself and
+# PHP extensions using the PHP build system, in the Userland framework.
+
+# PHP build system needs this to build 64-bit (and probably other things)
+CONFIGURE_ENV += CFLAGS="$(CFLAGS)"
+
+# make install requires this instead of DESTDIR
+COMPONENT_INSTALL_ENV += INSTALL_ROOT=$(PROTO_DIR)
+
+COMPONENT_TEST_TARGETS = test
+# Do not prompt to send test results upstream
+COMPONENT_TEST_ENV += TEST_PHP_ARGS="-q"
+
+# Put everything under /usr/php/{version} (like 5.2-5.3 did)
+CONFIGURE_PREFIX =      /usr/php/$(UL_PHP_MINOR_VERSION)
+# Don't put $(MACH64) in paths
+CONFIGURE_LIBDIR.64 =   $(CONFIGURE_PREFIX)/lib
+CONFIGURE_BINDIR.64 =   $(CONFIGURE_PREFIX)/bin
+CONFIGURE_SBINDIR.64 =  $(CONFIGURE_PREFIX)/sbin
+CONFIGURE_INCLUDEDIR =  $(CONFIGURE_PREFIX)/include
+CONFIGURE_MANDIR =	$(CONFIGURE_PREFIX)/share/man
+
+COMPONENT_TEST_TRANSFORMS += \
+	'-e "/^TIME START/d"' \
+	'-e "/^TIME END/d"' \
+	'-e "/^Time taken/d"' \
+	'-e "/^PHP         :/d"' \
+	'-e "/^PHP_OS      :/d"' \
+	'-e "/^PHP_VERSION :/d"' \
+	'-e "/^ZEND_VERSION:/d"'
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/php/php56/Makefile	Fri Jun 05 09:47:02 2015 -0700
@@ -0,0 +1,122 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+
+#
+# Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
+#
+
+include ../../../make-rules/shared-macros.mk
+
+include $(WS_COMPONENTS)/php/php-metadata.mk
+
+COMPONENT_NAME=		php
+COMPONENT_VERSION=	$(UL_PHP_VERSION)
+COMPONENT_PROJECT_URL=	http://php.net/
+COMPONENT_SRC=		$(PHP_COMPONENT_SRC)
+COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.bz2
+COMPONENT_ARCHIVE_HASH=\
+    sha256:0af0045745d61eeb74a3ea744529a2481b27cb689da720e6c0250675043724e4
+COMPONENT_ARCHIVE_URL=	http://php.net/get/$(COMPONENT_ARCHIVE)/from/this/mirror
+COMPONENT_BUGDB=	utility/php
+TPNO=			22435
+
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
+
+include $(PHP_TOP_DIR)/php.mk
+
+# Use GCC on S11 to work around build issues with Studio 12.1
+COMPILER=gcc
+CFLAGS += -std=gnu99
+
+# We patch configure.in to allow building just modules (no SAPI's), e.g. intl.
+# Since we are sharing the source, regenerate configure here.
+COMPONENT_PREP_ACTION += (cd $(SOURCE_DIR) ; autoconf) ;
+
+ASLR_MODE = $(ASLR_ENABLE)
+
+include enable-extensions.mk
+
+CONFIGURE_OPTIONS += --enable-dtrace
+REQUIRED_PACKAGES += system/dtrace
+COMPONENT_BUILD_ENV += PATH="$$PATH:/usr/sbin"
+
+# .conf files go under /etc, not /usr
+CONFIGURE_OPTIONS +=	--sysconfdir=/etc/php/$(UL_PHP_MINOR_VERSION)
+# var doesn't go under /usr either!
+CONFIGURE_OPTIONS +=	--localstatedir=/var/php/$(UL_PHP_MINOR_VERSION)
+# Nor does php.ini and its friends.
+CONFIGURE_OPTIONS +=	--with-config-file-path=/etc/php/$(UL_PHP_MINOR_VERSION)
+CONFIGURE_OPTIONS +=	--with-config-file-scan-dir=/etc/php/$(UL_PHP_MINOR_VERSION)/conf.d
+# Nor does PEAR (default: $PREFIX/lib/php)
+CONFIGURE_OPTIONS +=	--with-pear=/var/php/$(UL_PHP_MINOR_VERSION)/pear
+
+PROTOUSRPHPVERDIR = $(PROTO_DIR)/$(CONFIGURE_PREFIX)
+# Adapted from PHP 5.3 Makefile.
+# Creates alternate versions of the scripts needed for building extensions
+# separately, since the generated versions of these scripts hardcode configuring
+# for a PHP that is installed on the system.
+COMPONENT_POST_INSTALL_ACTION += \
+	( set -e; \
+	mkdir -p proto-scripts; \
+	cat $(BUILD_DIR_64)/scripts/phpize | \
+	 sed -e "s,^\#!/bin/sh,\#!$(CONFIG_SHELL)," | \
+	 sed -e "s%^prefix=.*%prefix=$(PROTOUSRPHPVERDIR)%" | \
+	 sed -e "s%^includedir=.*%includedir=$(PROTOUSRPHPVERDIR)/include/php%" | \
+	 sed -e "s%^phpdir=.*%phpdir=$(SOURCE_DIR)%"  | \
+	 sed -e "s%phpdir/phpize.m4%phpdir/scripts/phpize.m4%" | \
+	 sed -e "s%$PHP_AUTOCONF   || exit 1%$PHP_AUTOCONF -f   || exit 1%" | \
+	 sed -e "s%$PHP_AUTOHEADER || exit 1%$PHP_AUTOHEADER -f || exit 1%" | \
+	 sed -e 's%(cd "$$phpdir" && cp $$FILES_BUILD "$$builddir"/build)%(cd "$$phpdir/build" \&\& cp $$FILES_BUILD "$$builddir"/build)%' | \
+	 sed -e "s%^builddir=.*%builddir=$(BUILD_DIR_64)%" \
+	 > proto-scripts/phpize-proto ; \
+	chmod 755 proto-scripts/phpize-proto ) ; \
+	( set -e; \
+	 cat $(BUILD_DIR_64)/scripts/php-config | \
+	 sed -e "s,^\#! /bin/sh,\#!$(CONFIG_SHELL)," | \
+	 sed -e "s%^prefix=.*%prefix=$(PROTOUSRPHPVERDIR)%" | \
+	 sed -e "s%^include_dir=.*%include_dir=$(PROTOUSRPHPVERDIR)/include/php%" \
+	 > proto-scripts/php-config-proto ; \
+	chmod 755 proto-scripts/php-config-proto ) ;
+
+CLEAN_PATHS += intl/build
+CLEAN_PATHS += proto-scripts
+
+# For picking up php.ini-development and -production
+PKG_PROTO_DIRS +=      $(COMPONENT_SRC)
+
+configure:		$(CONFIGURE_64)
+build:			$(BUILD_64)
+install:		$(INSTALL_64)
+	cd intl ; $(GMAKE) install
+	cp intl/build/prototype/$(MACH)/$(CONFIGURE_PREFIX)/lib/extensions/no-debug-zts-20131226/intl.so $(PROTOUSRPHPVERDIR)/lib/extensions/no-debug-zts-20131226/
+# requirement from intl
+REQUIRED_PACKAGES += library/icu
+
+# The test results are unstable between runs
+$(SKIP_TEST_AT_TOP_LEVEL)
+test:			$(TEST_64)
+
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/math
+REQUIRED_PACKAGES += library/security/openssl
+REQUIRED_PACKAGES += library/libxml2
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/php/php56/enable-extensions.mk	Fri Jun 05 09:47:02 2015 -0700
@@ -0,0 +1,189 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+
+#
+# Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
+#
+
+# This file specifies configure-line options to enable as many extensions as
+# possible, and specifies their dependencies and anything else that's required.
+
+# As of PHP 5.6.3:
+# The following "extensions" are always statically compiled into PHP:
+#    Core date ereg pcre Reflection SPL standard
+# The following are statically compiled unless --disable-all is used:
+#    ctype dom fileinfo filter hash iconv json libxml PDO pdo_sqlite Phar posix
+#    session SimpleXML sqlite3 tokenizer xml xmlreader xmlwriter
+# The following is compiled as a shared extension unless --disable-all is used:
+#    opcache
+
+# The PHP build system allows building binaries for CLI, CGI, FPM, and one SAPI,
+# at once.
+# More than one SAPI (e.g. Apache and NSAPI) is not allowed. Since the only
+# SAPI we deliver is Apache, only one build is necessary.
+
+# CLI and CGI are enabled by default.
+
+CONFIGURE_OPTIONS += --enable-fpm
+
+# Apache SAPI.
+CONFIGURE_OPTIONS += --with-apxs2=/usr/apache2/2.4/bin/apxs
+# Prevent gmake install telling apxs to modify httpd.conf, which doesn't exist.
+COMPONENT_PRE_CONFIGURE_ACTION += \
+	$(GSED) -i -e "s/-i -a -n php5/-i -n php5/" $(CONFIGURE_SCRIPT) ;
+REQUIRED_PACKAGES += web/server/apache-24
+
+
+# Sometimes extensions can't find necessary library headers. This is often
+# because Solaris has installed them in /usr/include/foo/bar.h instead of
+# directly at /usr/include/bar.h, in which case you must patch the config.m4.
+
+# Statically compiled (and non-default) extensions, with reasons:
+CONFIGURE_OPTIONS += --with-zlib	# Dependency of mysqlnd, else link error
+REQUIRED_PACKAGES += library/zlib
+
+# Shared extensions (creates runtime-loadable modules, enable them in *.ini):
+
+CONFIGURE_OPTIONS += --with-mysql=shared,mysqlnd
+CONFIGURE_OPTIONS += --with-mysqli=shared,mysqlnd
+CONFIGURE_OPTIONS += --with-pdo-mysql=shared,mysqlnd
+# Note that using the MySQL Native Driver (mysqlnd), there is no dependency on
+# having MySQL installed locally.
+CONFIGURE_OPTIONS += --with-mysql-sock=/tmp/mysql.sock
+
+CONFIGURE_OPTIONS += --enable-bcmath=shared
+
+CONFIGURE_OPTIONS += --with-bz2=shared
+REQUIRED_PACKAGES += compress/bzip2
+
+CONFIGURE_OPTIONS += --enable-calendar=shared
+
+CONFIGURE_OPTIONS += --with-curl=shared
+REQUIRED_PACKAGES += web/curl
+
+CONFIGURE_OPTIONS += --enable-dba=shared
+CONFIGURE_OPTIONS += --with-db4	# Oracle Berkeley DB
+CONFIGURE_OPTIONS += --with-cdb	# another database (internal support)
+REQUIRED_PACKAGES += database/berkeleydb-5
+
+CONFIGURE_OPTIONS += --with-enchant=shared
+REQUIRED_PACKAGES += library/spell-checking/enchant
+
+CONFIGURE_OPTIONS += --enable-exif=shared
+
+CONFIGURE_OPTIONS += --enable-ftp=shared
+
+CONFIGURE_OPTIONS += --with-gettext=shared
+
+CONFIGURE_OPTIONS += --with-gd=shared
+CONFIGURE_OPTIONS += --enable-gd-jis-conv
+CONFIGURE_OPTIONS += --enable-gd-native-ttf
+# libz and libpng are found without help.
+# libxpm, libjpeg, and freetype need help.
+# libvpx and t1lib don't exist on Solaris.
+CONFIGURE_OPTIONS += --with-freetype-dir=/usr
+CONFIGURE_OPTIONS += --with-xpm-dir=/usr
+CONFIGURE_OPTIONS += --with-jpeg-dir=/usr
+REQUIRED_PACKAGES += x11/library/libxpm
+REQUIRED_PACKAGES += system/library/freetype-2
+REQUIRED_PACKAGES += image/library/libjpeg
+REQUIRED_PACKAGES += image/library/libpng
+REQUIRED_PACKAGES += library/zlib
+
+CONFIGURE_OPTIONS += --with-gmp=shared		# patched config.m4
+REQUIRED_PACKAGES += library/gmp
+
+# intl: see php56/intl/Makefile
+
+CONFIGURE_OPTIONS += --with-ldap=shared
+
+CONFIGURE_OPTIONS += --enable-mbstring=shared
+
+CONFIGURE_OPTIONS += --with-openssl=shared
+CONFIGURE_OPTIONS += --with-kerberos		# WARNING! imap reads same flag!
+REQUIRED_PACKAGES += library/security/openssl
+
+CONFIGURE_OPTIONS += --enable-pcntl=shared
+
+CONFIGURE_OPTIONS += --with-readline=shared
+REQUIRED_PACKAGES += library/readline
+REQUIRED_PACKAGES += library/ncurses
+
+CONFIGURE_OPTIONS += --enable-shmop=shared
+
+CONFIGURE_OPTIONS += --with-snmp=shared
+REQUIRED_PACKAGES += system/management/snmp/net-snmp
+
+CONFIGURE_OPTIONS += --enable-soap=shared
+
+CONFIGURE_OPTIONS += --enable-sockets=shared
+
+CONFIGURE_OPTIONS += --enable-sysvsem=shared
+
+CONFIGURE_OPTIONS += --enable-sysvshm=shared
+
+CONFIGURE_OPTIONS += --enable-sysvmsg=shared
+
+CONFIGURE_OPTIONS += --with-tidy=shared
+REQUIRED_PACKAGES += text/tidy
+
+CONFIGURE_OPTIONS += --enable-wddx=shared
+
+CONFIGURE_OPTIONS += --with-xmlrpc=shared
+
+CONFIGURE_OPTIONS += --with-xsl=shared
+REQUIRED_PACKAGES += library/libxslt
+
+CONFIGURE_OPTIONS += --enable-zip=shared
+
+# Special cases
+
+# IMAP: commented out until IMAP library itself is approved
+#CONFIGURE_OPTIONS += --with-imap=shared,$(PHP_TOP_DIR)/uw-imap/build/$(MACH64)
+#CONFIGURE_OPTIONS += --with-imap-ssl=shared,/usr
+#CONFIGURE_OPTIONS += --with-kerberos	# WARNING! openssl reads same flag!
+#COMPONENT_PRE_CONFIGURE_ACTION += (cd $(PHP_TOP_DIR)/uw-imap ; gmake build) ;
+
+# Enables emulation of the obsolete mhash extension by the hash extension.
+CONFIGURE_OPTIONS += --with-mhash
+
+# Use system PRCE library instead of default bundled one, on Solaris principles.
+CONFIGURE_OPTIONS += --with-pcre-dir=/usr
+
+# List of extensions not enabled, with reasons:
+# com_dotnet		Windows-only
+# dbase			removed from the PHP distribution into PECL
+# firebird/interbase	depends on software that is not in Solaris
+# frontbase/fbsql	depends on software that is not in Solaris
+# informix		removed to PECL; depends on sw that is not in Solaris
+# mcrypt		libmcrypt is being EOF'ed in Solaris
+# mssql			depends on software that is not in Solaris (FreeTDS)
+# msql			depends on software that is not in Solaris
+# postgresql/pgsql	depends on software that is not in Solaris
+# pspell		depends on software that is not in Solaris
+# recode		depends on software that is not in Solaris
+# sybase		depends on software that is not in Solaris
+
+# pdo_* except as noted	depend on software that is not in Solaris
+
+# nsapi			being evaluated
+# pdo_oci		being evaluated
+# unixodbc, pdo_odbc	being evaluated
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/php/php56/files/extensions.ini	Fri Jun 05 09:47:02 2015 -0700
@@ -0,0 +1,41 @@
+;
+; Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
+;
+
+; To enable PHP extensions, uncomment the desired line(s) below, or add similar
+; lines to another active PHP configuration (.ini) file.
+
+;extension=bcmath.so
+;extension=bz2.so
+;extension=calendar.so
+;extension=curl.so
+;extension=dba.so
+;extension=enchant.so
+;extension=exif.so
+;extension=ftp.so
+;extension=gd.so
+;extension=gettext.so
+;extension=gmp.so
+;extension=intl.so
+;extension=ldap.so
+;extension=mbstring.so
+;extension=mysql.so
+;extension=mysqli.so
+;extension=opcache.so
+;extension=openssl.so
+;extension=pcntl.so
+;extension=pdo_mysql.so
+;extension=readline.so
+;extension=shmop.so
+;extension=snmp.so
+;extension=soap.so
+;extension=sockets.so
+;extension=sysvmsg.so
+;extension=sysvsem.so
+;extension=sysvshm.so
+;extension=tidy.so
+;extension=wddx.so
+;extension=xmlrpc.so
+;extension=xsl.so
+;extension=zip.so
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/php/php56/files/php5.6.conf	Fri Jun 05 09:47:02 2015 -0700
@@ -0,0 +1,41 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+# Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
+#
+
+# The mod_php supplied is ZTS-enabled (thread-safe), so it works with any
+# Apache MPM.
+LoadModule php5_module libexec/libphp5.so
+
+#
+# Cause the PHP interpreter handle files with a .php extension.
+#
+AddHandler application/x-httpd-php .php5
+AddHandler application/x-httpd-php .php
+AddHandler application/x-httpd-php-source .php5s
+AddHandler application/x-httpd-php-source .phps
+
+#
+# Add index.php to the list of files that will be served as directory
+# indexes.
+#
+DirectoryIndex index.php
+DirectoryIndex index.php5
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/php/php56/intl/Makefile	Fri Jun 05 09:47:02 2015 -0700
@@ -0,0 +1,65 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+
+#
+# Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
+#
+
+# Build intl extension separately to use Studio for proper linkage with ICU
+
+include ../../../../make-rules/shared-macros.mk
+include $(WS_COMPONENTS)/php/php-metadata.mk
+
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+
+# CLEAN_PATHS by default only gets SOURCE_DIR, which we don't want to delete.
+# (removing BUILD_DIR is a separate rule in configure.mk)
+CLEAN_PATHS=
+
+# putting this line here - with no way to compute SOURCE_DIR in prep.mk -
+# means .prep goes in php56/intl.
+SOURCE_DIR = $(PHP_SOURCE_DIR)/ext/intl
+CLEAN_PATHS += .prep
+
+# phpize.mk will cloney SOURCE_DIR into BUILD_DIR_64
+include $(PHP_TOP_DIR)/phpize.mk
+
+CONFIGURE_OPTIONS += --enable-intl=shared
+
+# The build tools (libtool?) insist on passing "-lCrun -lCstd" flags. These are
+# legacy Solaris Studio C++ runtime and standard libraries, which is wrong.
+# The only expedient method I found of removing these flags is to edit the
+# generated Makefile after configure runs.
+COMPONENT_POST_CONFIGURE_ACTION += \
+	$(GSED) -i -e 's/-lCrun//g' -e 's/-lCstd//g' $(BUILD_DIR_64)/Makefile
+
+CONFIGURE_ENV +=	CXXFLAGS="$(CXXFLAGS)"
+
+COMPONENT_TEST_TARGETS = test
+
+configure:		$(CONFIGURE_64)
+build:			$(BUILD_64)
+install:		$(INSTALL_64)
+test:			$(TEST_64)
+
+REQUIRED_PACKAGES += library/icu
+REQUIRED_PACKAGES += system/library/math
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/php/php56/patches/CVE-2015-4021.patch	Fri Jun 05 09:47:02 2015 -0700
@@ -0,0 +1,59 @@
+# Source: upstream
+# http://git.php.net/?p=php-src.git;a=patch;h=2c1e49075ba48d93439a9e79eae43d9f8469b832;hp=739adee1912176aacf351edc5751a02ded6ef1ec
+# Fixed in 5.6.9
+
+From 2c1e49075ba48d93439a9e79eae43d9f8469b832 Mon Sep 17 00:00:00 2001
+From: Stanislav Malyshev <[email protected]>
+Date: Wed, 29 Apr 2015 22:04:20 -0700
+Subject: [PATCH 1/1] Fix bug #69453 - don't try to cut empty string
+
+---
+ ext/phar/tar.c               |  2 +-
+ ext/phar/tests/bug69453.phpt | 21 +++++++++++++++++++++
+ 2 files changed, 22 insertions(+), 1 deletion(-)
+ create mode 100644 ext/phar/tests/bug69453.phpt
+
+diff --git a/ext/phar/tar.c b/ext/phar/tar.c
+index c4a81fb..34ef0ef 100644
+--- a/ext/phar/tar.c
++++ b/ext/phar/tar.c
[email protected]@ -434,7 +434,7 @@ bail:
+ 			entry.filename_len = i;
+ 			entry.filename = pestrndup(hdr->name, i, myphar->is_persistent);
+ 
+-			if (entry.filename[entry.filename_len - 1] == '/') {
++			if (i > 0 && entry.filename[entry.filename_len - 1] == '/') {
+ 				/* some tar programs store directories with trailing slash */
+ 				entry.filename[entry.filename_len - 1] = '\0';
+ 				entry.filename_len--;
+diff --git a/ext/phar/tests/bug69453.phpt b/ext/phar/tests/bug69453.phpt
+new file mode 100644
+index 0000000..4a2a37f
+--- /dev/null
++++ b/ext/phar/tests/bug69453.phpt
[email protected]@ -0,0 +1,21 @@
++--TEST--
++Phar: bug #69453: Memory Corruption in phar_parse_tarfile when entry filename starts with null
++--SKIPIF--
++<?php if (!extension_loaded("phar")) die("skip"); ?>
++--FILE--
++<?php
++$fname = dirname(__FILE__) . '/bug69453.tar.phar';
++try {
++$r = new Phar($fname, 0);
++} catch(UnexpectedValueException $e) {
++	echo $e;
++}
++?>
++
++==DONE==
++--EXPECTF--
++exception 'UnexpectedValueException' with message 'phar error: "%s/bug69453.tar.phar" is a corrupted tar file (checksum mismatch of file "")' in %s:%d
++Stack trace:
++#0 %s/bug69453.php(%d): Phar->__construct('%s', 0)
++#1 {main}
++==DONE==
+\ No newline at end of file
+-- 
+2.1.4
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/php/php56/patches/CVE-2015-4022.patch	Fri Jun 05 09:47:02 2015 -0700
@@ -0,0 +1,331 @@
+# Source: upstream
+# http://git.php.net/?p=php-src.git;a=patch;h=739adee1912176aacf351edc5751a02ded6ef1ec;hp=658b9b0ab26eedb3e13a583d1585f502e7da728f
+# Fixed in 5.6.9
+# This patch also contains unnecessary whitespace changes but is left as is
+
+From 739adee1912176aacf351edc5751a02ded6ef1ec Mon Sep 17 00:00:00 2001
+From: Stanislav Malyshev <[email protected]>
+Date: Wed, 29 Apr 2015 21:57:33 -0700
+Subject: [PATCH 1/1] Fix bug #69545 - avoid overflow when reading list
+
+---
+ ext/ftp/ftp.c | 82 +++++++++++++++++++++++++++++------------------------------
+ 1 file changed, 41 insertions(+), 41 deletions(-)
+
+diff --git a/ext/ftp/ftp.c b/ext/ftp/ftp.c
+index a6e0dfd..4e1b072 100644
+--- a/ext/ftp/ftp.c
++++ b/ext/ftp/ftp.c
[email protected]@ -188,9 +188,9 @@ ftp_close(ftpbuf_t *ftp)
+ 			SSL_shutdown(ftp->ssl_handle);
+ 			SSL_free(ftp->ssl_handle);
+ 		}
+-#endif		
++#endif
+ 		closesocket(ftp->fd);
+-	}	
++	}
+ 	ftp_gc(ftp);
+ 	efree(ftp);
+ 	return NULL;
[email protected]@ -262,7 +262,7 @@ ftp_login(ftpbuf_t *ftp, const char *user, const char *pass TSRMLS_DC)
+ 		if (!ftp_getresp(ftp)) {
+ 			return 0;
+ 		}
+-			
++
+ 		if (ftp->resp != 234) {
+ 			if (!ftp_putcmd(ftp, "AUTH", "SSL")) {
+ 				return 0;
[email protected]@ -270,7 +270,7 @@ ftp_login(ftpbuf_t *ftp, const char *user, const char *pass TSRMLS_DC)
+ 			if (!ftp_getresp(ftp)) {
+ 				return 0;
+ 			}
+-				
++
+ 			if (ftp->resp != 334) {
+ 				return 0;
+ 			} else {
[email protected]@ -278,7 +278,7 @@ ftp_login(ftpbuf_t *ftp, const char *user, const char *pass TSRMLS_DC)
+ 				ftp->use_ssl_for_data = 1;
+ 			}
+ 		}
+-		
++
+ 		ctx = SSL_CTX_new(SSLv23_client_method());
+ 		if (ctx == NULL) {
+ 			php_error_docref(NULL TSRMLS_CC, E_WARNING, "failed to create the SSL context");
[email protected]@ -325,8 +325,8 @@ ftp_login(ftpbuf_t *ftp, const char *user, const char *pass TSRMLS_DC)
+ 			if (!ftp_getresp(ftp)) {
+ 				return 0;
+ 			}
+-			
+-			ftp->use_ssl_for_data = (ftp->resp >= 200 && ftp->resp <=299);		
++
++			ftp->use_ssl_for_data = (ftp->resp >= 200 && ftp->resp <=299);
+ 		}
+ 	}
+ #endif
[email protected]@ -360,7 +360,7 @@ ftp_reinit(ftpbuf_t *ftp)
+ {
+ 	if (ftp == NULL) {
+ 		return 0;
+-	}	
++	}
+ 
+ 	ftp_gc(ftp);
+ 
[email protected]@ -395,7 +395,7 @@ ftp_syst(ftpbuf_t *ftp)
+ 	if (!ftp_putcmd(ftp, "SYST", NULL)) {
+ 		return NULL;
+ 	}
+-	if (!ftp_getresp(ftp) || ftp->resp != 215) { 
++	if (!ftp_getresp(ftp) || ftp->resp != 215) {
+ 		return NULL;
+ 	}
+ 	syst = ftp->inbuf;
[email protected]@ -431,14 +431,14 @@ ftp_pwd(ftpbuf_t *ftp)
+ 	if (!ftp_putcmd(ftp, "PWD", NULL)) {
+ 		return NULL;
+ 	}
+-	if (!ftp_getresp(ftp) || ftp->resp != 257) { 
++	if (!ftp_getresp(ftp) || ftp->resp != 257) {
+ 		return NULL;
+ 	}
+ 	/* copy out the pwd from response */
+-	if ((pwd = strchr(ftp->inbuf, '"')) == NULL) { 
++	if ((pwd = strchr(ftp->inbuf, '"')) == NULL) {
+ 		return NULL;
+ 	}
+-	if ((end = strrchr(++pwd, '"')) == NULL) { 
++	if ((end = strrchr(++pwd, '"')) == NULL) {
+ 		return NULL;
+ 	}
+ 	ftp->pwd = estrndup(pwd, end - pwd);
[email protected]@ -608,7 +608,7 @@ ftp_chmod(ftpbuf_t *ftp, const int mode, const char *filename, const int filenam
+ 	if (!ftp_getresp(ftp) || ftp->resp != 200) {
+ 		return 0;
+ 	}
+-	
++
+ 	return 1;
+ }
+ /* }}} */
[email protected]@ -625,7 +625,7 @@ ftp_alloc(ftpbuf_t *ftp, const long size, char **response)
+ 	}
+ 
+ 	snprintf(buffer, sizeof(buffer) - 1, "%ld", size);
+-    
++
+ 	if (!ftp_putcmd(ftp, "ALLO", buffer)) {
+ 		return 0;
+ 	}
[email protected]@ -642,7 +642,7 @@ ftp_alloc(ftpbuf_t *ftp, const long size, char **response)
+ 		return 0;
+ 	}
+ 
+-	return 1;	
++	return 1;
+ }
+ /* }}} */
+ 
[email protected]@ -674,7 +674,7 @@ ftp_type(ftpbuf_t *ftp, ftptype_t type)
+ 	if (ftp == NULL) {
+ 		return 0;
+ 	}
+-	if (type == ftp->type) { 
++	if (type == ftp->type) {
+ 		return 1;
+ 	}
+ 	if (type == FTPTYPE_ASCII) {
[email protected]@ -765,7 +765,7 @@ ftp_pasv(ftpbuf_t *ftp, int pasv)
+ 	if (!ftp_putcmd(ftp, "PASV", NULL)) {
+ 		return 0;
+ 	}
+-	if (!ftp_getresp(ftp) || ftp->resp != 227) { 
++	if (!ftp_getresp(ftp) || ftp->resp != 227) {
+ 		return 0;
+ 	}
+ 	/* parse out the IP and port */
[email protected]@ -807,7 +807,7 @@ ftp_get(ftpbuf_t *ftp, php_stream *outstream, const char *path, ftptype_t type,
+ 	if ((data = ftp_getdata(ftp TSRMLS_CC)) == NULL) {
+ 		goto bail;
+ 	}
+-	
++
+ 	ftp->data = data;
+ 
+ 	if (resumepos > 0) {
[email protected]@ -900,7 +900,7 @@ ftp_put(ftpbuf_t *ftp, const char *path, php_stream *instream, ftptype_t type, l
+ 	if ((data = ftp_getdata(ftp TSRMLS_CC)) == NULL) {
+ 		goto bail;
+ 	}
+-	ftp->data = data;	
++	ftp->data = data;
+ 
+ 	if (startpos > 0) {
+ 		snprintf(arg, sizeof(arg), "%ld", startpos);
[email protected]@ -1101,7 +1101,7 @@ ftp_putcmd(ftpbuf_t *ftp, const char *cmd, const char *args)
+ 
+ 	if (strpbrk(cmd, "\r\n")) {
+ 		return 0;
+-	} 
++	}
+ 	/* build the output buffer */
+ 	if (args && args[0]) {
+ 		/* "cmd args\r\n\0" */
[email protected]@ -1247,7 +1247,7 @@ my_send(ftpbuf_t *ftp, php_socket_t s, void *buf, size_t len)
+ #if HAVE_OPENSSL_EXT
+ 		if (ftp->use_ssl && ftp->fd == s && ftp->ssl_active) {
+ 			sent = SSL_write(ftp->ssl_handle, buf, size);
+-		} else if (ftp->use_ssl && ftp->fd != s && ftp->use_ssl_for_data && ftp->data->ssl_active) {	
++		} else if (ftp->use_ssl && ftp->fd != s && ftp->use_ssl_for_data && ftp->data->ssl_active) {
+ 			sent = SSL_write(ftp->data->ssl_handle, buf, size);
+ 		} else {
+ #endif
[email protected]@ -1287,14 +1287,14 @@ my_recv(ftpbuf_t *ftp, php_socket_t s, void *buf, size_t len)
+ #if HAVE_OPENSSL_EXT
+ 	if (ftp->use_ssl && ftp->fd == s && ftp->ssl_active) {
+ 		nr_bytes = SSL_read(ftp->ssl_handle, buf, len);
+-	} else if (ftp->use_ssl && ftp->fd != s && ftp->use_ssl_for_data && ftp->data->ssl_active) {	
++	} else if (ftp->use_ssl && ftp->fd != s && ftp->use_ssl_for_data && ftp->data->ssl_active) {
+ 		nr_bytes = SSL_read(ftp->data->ssl_handle, buf, len);
+ 	} else {
+ #endif
+ 		nr_bytes = recv(s, buf, len, 0);
+ #if HAVE_OPENSSL_EXT
+ 	}
+-#endif	
++#endif
+ 	return (nr_bytes);
+ }
+ /* }}} */
[email protected]@ -1511,7 +1511,7 @@ data_accept(databuf_t *data, ftpbuf_t *ftp TSRMLS_DC)
+ 
+ data_accepted:
+ #if HAVE_OPENSSL_EXT
+-	
++
+ 	/* now enable ssl if we need to */
+ 	if (ftp->use_ssl && ftp->use_ssl_for_data) {
+ 		ctx = SSL_CTX_new(SSLv23_client_method());
[email protected]@ -1531,23 +1531,23 @@ data_accepted:
+ 			SSL_CTX_free(ctx);
+ 			return 0;
+ 		}
+-			
+-		
++
++
+ 		SSL_set_fd(data->ssl_handle, data->fd);
+ 
+ 		if (ftp->old_ssl) {
+ 			SSL_copy_session_id(data->ssl_handle, ftp->ssl_handle);
+ 		}
+-			
++
+ 		if (SSL_connect(data->ssl_handle) <= 0) {
+ 			php_error_docref(NULL TSRMLS_CC, E_WARNING, "data_accept: SSL/TLS handshake failed");
+ 			SSL_shutdown(data->ssl_handle);
+ 			SSL_free(data->ssl_handle);
+ 			return 0;
+ 		}
+-			
++
+ 		data->ssl_active = 1;
+-	}	
++	}
+ 
+ #endif
+ 
[email protected]@ -1562,14 +1562,14 @@ data_close(ftpbuf_t *ftp, databuf_t *data)
+ {
+ #if HAVE_OPENSSL_EXT
+ 	SSL_CTX		*ctx;
+-#endif				
++#endif
+ 	if (data == NULL) {
+ 		return NULL;
+ 	}
+ 	if (data->listener != -1) {
+ #if HAVE_OPENSSL_EXT
+ 		if (data->ssl_active) {
+-		
++
+ 			ctx = SSL_get_SSL_CTX(data->ssl_handle);
+ 			SSL_CTX_free(ctx);
+ 
[email protected]@ -1577,9 +1577,9 @@ data_close(ftpbuf_t *ftp, databuf_t *data)
+ 			SSL_free(data->ssl_handle);
+ 			data->ssl_active = 0;
+ 		}
+-#endif				
++#endif
+ 		closesocket(data->listener);
+-	}	
++	}
+ 	if (data->fd != -1) {
+ #if HAVE_OPENSSL_EXT
+ 		if (data->ssl_active) {
[email protected]@ -1590,9 +1590,9 @@ data_close(ftpbuf_t *ftp, databuf_t *data)
+ 			SSL_free(data->ssl_handle);
+ 			data->ssl_active = 0;
+ 		}
+-#endif				
++#endif
+ 		closesocket(data->fd);
+-	}	
++	}
+ 	if (ftp) {
+ 		ftp->data = NULL;
+ 	}
[email protected]@ -1610,8 +1610,8 @@ ftp_genlist(ftpbuf_t *ftp, const char *cmd, const char *path TSRMLS_DC)
+ 	databuf_t	*data = NULL;
+ 	char		*ptr;
+ 	int		ch, lastch;
+-	int		size, rcvd;
+-	int		lines;
++	size_t		size, rcvd;
++	size_t		lines;
+ 	char		**ret = NULL;
+ 	char		**entry;
+ 	char		*text;
[email protected]@ -1629,7 +1629,7 @@ ftp_genlist(ftpbuf_t *ftp, const char *cmd, const char *path TSRMLS_DC)
+ 	if ((data = ftp_getdata(ftp TSRMLS_CC)) == NULL) {
+ 		goto bail;
+ 	}
+-	ftp->data = data;	
++	ftp->data = data;
+ 
+ 	if (!ftp_putcmd(ftp, cmd, path)) {
+ 		goto bail;
[email protected]@ -1653,7 +1653,7 @@ ftp_genlist(ftpbuf_t *ftp, const char *cmd, const char *path TSRMLS_DC)
+ 	lines = 0;
+ 	lastch = 0;
+ 	while ((rcvd = my_recv(ftp, data->fd, data->buf, FTP_BUFSIZE))) {
+-		if (rcvd == -1) {
++		if (rcvd == -1 || rcvd > ((size_t)(-1))-size) {
+ 			goto bail;
+ 		}
+ 
[email protected]@ -1858,7 +1858,7 @@ ftp_nb_put(ftpbuf_t *ftp, const char *path, php_stream *instream, ftptype_t type
+ 	if (!ftp_getresp(ftp) || (ftp->resp != 150 && ftp->resp != 125)) {
+ 		goto bail;
+ 	}
+-	if ((data = data_accept(data, ftp TSRMLS_CC)) == NULL) { 
++	if ((data = data_accept(data, ftp TSRMLS_CC)) == NULL) {
+ 		goto bail;
+ 	}
+ 	ftp->data = data;
[email protected]@ -1914,7 +1914,7 @@ ftp_nb_continue_write(ftpbuf_t *ftp TSRMLS_DC)
+ 		goto bail;
+ 	}
+ 	ftp->data = data_close(ftp, ftp->data);
+- 
++
+ 	if (!ftp_getresp(ftp) || (ftp->resp != 226 && ftp->resp != 250)) {
+ 		goto bail;
+ 	}
+-- 
+2.1.4
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/php/php56/patches/CVE-2015-4024.patch	Fri Jun 05 09:47:02 2015 -0700
@@ -0,0 +1,103 @@
+# Source: upstream
+# https://bugs.php.net/patch-display.php?bug_id=69364&patch=patch-5.4&revision=1431237650
+# Fixed in 5.6.9
+
+diff --git a/main/rfc1867.c b/main/rfc1867.c
+index fab199b..9e2fbd5 100644
+--- a/main/rfc1867.c
++++ b/main/rfc1867.c
[email protected]@ -33,6 +33,7 @@
+ #include "php_variables.h"
+ #include "rfc1867.h"
+ #include "ext/standard/php_string.h"
++#include "ext/standard/php_smart_str.h"
+ 
+ #define DEBUG_FILE_UPLOAD ZEND_DEBUG
+ 
[email protected]@ -398,8 +399,9 @@ static int find_boundary(multipart_buffer *self, char *boundary TSRMLS_DC)
+ static int multipart_buffer_headers(multipart_buffer *self, zend_llist *header TSRMLS_DC)
+ {
+ 	char *line;
+-	mime_header_entry prev_entry = {0}, entry;
+-	int prev_len, cur_len;
++	mime_header_entry entry = {0};
++	smart_str buf_value = {0};
++	char *key = NULL;
+ 
+ 	/* didn't find boundary, abort */
+ 	if (!find_boundary(self, self->boundary TSRMLS_CC)) {
[email protected]@ -411,11 +413,10 @@ static int multipart_buffer_headers(multipart_buffer *self, zend_llist *header T
+ 	while( (line = get_line(self TSRMLS_CC)) && strlen(line) > 0 )
+ 	{
+ 		/* add header to table */
+-		char *key = line;
+ 		char *value = NULL;
+ 
+ 		if (php_rfc1867_encoding_translation(TSRMLS_C)) {
+-			self->input_encoding = zend_multibyte_encoding_detector(line, strlen(line), self->detect_order, self->detect_order_size TSRMLS_CC);
++			self->input_encoding = zend_multibyte_encoding_detector((unsigned char *)line, strlen(line), self->detect_order, self->detect_order_size TSRMLS_CC);
+ 		}
+ 
+ 		/* space in the beginning means same header */
[email protected]@ -424,31 +425,33 @@ static int multipart_buffer_headers(multipart_buffer *self, zend_llist *header T
+ 		}
+ 
+ 		if (value) {
+-			*value = 0;
+-			do { value++; } while(isspace(*value));
+-
+-			entry.value = estrdup(value);
+-			entry.key = estrdup(key);
+-
+-		} else if (zend_llist_count(header)) { /* If no ':' on the line, add to previous line */
+-
+-			prev_len = strlen(prev_entry.value);
+-			cur_len = strlen(line);
+-
+-			entry.value = emalloc(prev_len + cur_len + 1);
+-			memcpy(entry.value, prev_entry.value, prev_len);
+-			memcpy(entry.value + prev_len, line, cur_len);
+-			entry.value[cur_len + prev_len] = '\0';
++			if(buf_value.c && key) {
++				/* new entry, add the old one to the list */
++				smart_str_0(&buf_value);
++				entry.key = key;
++				entry.value = buf_value.c;
++				zend_llist_add_element(header, &entry);
++				buf_value.c = NULL;
++				key = NULL;
++			}
+ 
+-			entry.key = estrdup(prev_entry.key);
++			*value = '\0';
++			do { value++; } while(isspace(*value));
+ 
+-			zend_llist_remove_tail(header);
++			key = estrdup(line);
++			smart_str_appends(&buf_value, value);
++		} else if (buf_value.c) { /* If no ':' on the line, add to previous line */
++			smart_str_appends(&buf_value, line);
+ 		} else {
+ 			continue;
+ 		}
+-
++	}
++	if(buf_value.c && key) {
++		/* add the last one to the list */
++		smart_str_0(&buf_value);
++		entry.key = key;
++		entry.value = buf_value.c;
+ 		zend_llist_add_element(header, &entry);
+-		prev_entry = entry;
+ 	}
+ 
+ 	return 1;
[email protected]@ -884,7 +887,7 @@ SAPI_API SAPI_POST_HANDLER_FUNC(rfc1867_post_handler) /* {{{ */
+ 					if (count == PG(max_input_vars) + 1) {
+ 						php_error_docref(NULL TSRMLS_CC, E_WARNING, "Input variables exceeded %ld. To increase the limit change max_input_vars in php.ini.", PG(max_input_vars));
+ 					}
+-				
++
+ 					if (php_rfc1867_callback != NULL) {
+ 						multipart_event_formdata event_formdata;
+ 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/php/php56/patches/CVE-2015-4025_CVE-2015-4026.patch	Fri Jun 05 09:47:02 2015 -0700
@@ -0,0 +1,659 @@
+# Source: upstream
+# http://git.php.net/?p=php-src.git;a=patch;h=bbe4b87e1d1fa858c208368a28c0fb17c7774fe0;hp=676e0c0f7b294f8948f77a213d22ce9cdd014e4f
+# Fixed in 5.6.9
+# This patch also contains unnecessary whitespace changes but is left as is
+
+From bbe4b87e1d1fa858c208368a28c0fb17c7774fe0 Mon Sep 17 00:00:00 2001
+From: Stanislav Malyshev <[email protected]>
+Date: Sat, 9 May 2015 23:13:06 -0700
+Subject: [PATCH 1/1] Fixed bug #69418 - more s->p fixes for filenames
+
+Conflicts:
+	ext/pcntl/pcntl.c
+	ext/standard/basic_functions.c
+---
+ ext/pcntl/pcntl.c              | 74 +++++++++++++++++++++---------------------
+ ext/standard/basic_functions.c | 29 ++++++++++-------
+ ext/standard/dir.c             | 62 +++++++++++++++++------------------
+ ext/standard/file.c            |  4 +--
+ 4 files changed, 88 insertions(+), 81 deletions(-)
+
+diff --git a/ext/pcntl/pcntl.c b/ext/pcntl/pcntl.c
+index bace3b0..09520a9 100644
+--- a/ext/pcntl/pcntl.c
++++ b/ext/pcntl/pcntl.c
[email protected]@ -198,7 +198,7 @@ ZEND_GET_MODULE(pcntl)
+ 
+ static void pcntl_signal_handler(int);
+ static void pcntl_signal_dispatch();
+-  
++
+ void php_register_signal_constants(INIT_FUNC_ARGS)
+ {
+ 
[email protected]@ -234,7 +234,7 @@ void php_register_signal_constants(INIT_FUNC_ARGS)
+ 	REGISTER_LONG_CONSTANT("SIGTERM",  (long) SIGTERM, CONST_CS | CONST_PERSISTENT);
+ #ifdef SIGSTKFLT
+ 	REGISTER_LONG_CONSTANT("SIGSTKFLT",(long) SIGSTKFLT, CONST_CS | CONST_PERSISTENT);
+-#endif 
++#endif
+ #ifdef SIGCLD
+ 	REGISTER_LONG_CONSTANT("SIGCLD",   (long) SIGCLD, CONST_CS | CONST_PERSISTENT);
+ #endif
[email protected]@ -484,7 +484,7 @@ static void php_pcntl_register_errno_constants(INIT_FUNC_ARGS)
+ }
+ 
+ static PHP_GINIT_FUNCTION(pcntl)
+-{ 
++{
+ 	memset(pcntl_globals, 0, sizeof(*pcntl_globals));
+ }
+ 
[email protected]@ -547,7 +547,7 @@ PHP_FUNCTION(pcntl_fork)
+ 		PCNTL_G(last_error) = errno;
+ 		php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error %d", errno);
+ 	}
+-	
++
+ 	RETURN_LONG((long) id);
+ }
+ /* }}} */
[email protected]@ -560,7 +560,7 @@ PHP_FUNCTION(pcntl_alarm)
+ 
+ 	if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &seconds) == FAILURE)
+ 		return;
+-	
++
+ 	RETURN_LONG ((long) alarm(seconds));
+ }
+ /* }}} */
[email protected]@ -576,7 +576,7 @@ PHP_FUNCTION(pcntl_waitpid)
+ 
+ 	if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lz|l", &pid, &z_status, &options) == FAILURE)
+ 		return;
+-	
++
+ 	convert_to_long_ex(&z_status);
+ 
+ 	status = Z_LVAL_P(z_status);
[email protected]@ -604,7 +604,7 @@ PHP_FUNCTION(pcntl_wait)
+ 
+ 	if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z|l", &z_status, &options) == FAILURE)
+ 		return;
+-	
++
+ 	convert_to_long_ex(&z_status);
+ 
+ 	status = Z_LVAL_P(z_status);
[email protected]@ -628,7 +628,7 @@ PHP_FUNCTION(pcntl_wait)
+ }
+ /* }}} */
+ 
+-/* {{{ proto bool pcntl_wifexited(int status) 
++/* {{{ proto bool pcntl_wifexited(int status)
+    Returns true if the child status code represents a successful exit */
+ PHP_FUNCTION(pcntl_wifexited)
+ {
[email protected]@ -646,7 +646,7 @@ PHP_FUNCTION(pcntl_wifexited)
+ }
+ /* }}} */
+ 
+-/* {{{ proto bool pcntl_wifstopped(int status) 
++/* {{{ proto bool pcntl_wifstopped(int status)
+    Returns true if the child status code represents a stopped process (WUNTRACED must have been used with waitpid) */
+ PHP_FUNCTION(pcntl_wifstopped)
+ {
[email protected]@ -664,7 +664,7 @@ PHP_FUNCTION(pcntl_wifstopped)
+ }
+ /* }}} */
+ 
+-/* {{{ proto bool pcntl_wifsignaled(int status) 
++/* {{{ proto bool pcntl_wifsignaled(int status)
+    Returns true if the child status code represents a process that was terminated due to a signal */
+ PHP_FUNCTION(pcntl_wifsignaled)
+ {
[email protected]@ -682,7 +682,7 @@ PHP_FUNCTION(pcntl_wifsignaled)
+ }
+ /* }}} */
+ 
+-/* {{{ proto int pcntl_wexitstatus(int status) 
++/* {{{ proto int pcntl_wexitstatus(int status)
+    Returns the status code of a child's exit */
+ PHP_FUNCTION(pcntl_wexitstatus)
+ {
[email protected]@ -700,7 +700,7 @@ PHP_FUNCTION(pcntl_wexitstatus)
+ }
+ /* }}} */
+ 
+-/* {{{ proto int pcntl_wtermsig(int status) 
++/* {{{ proto int pcntl_wtermsig(int status)
+    Returns the number of the signal that terminated the process who's status code is passed  */
+ PHP_FUNCTION(pcntl_wtermsig)
+ {
[email protected]@ -718,7 +718,7 @@ PHP_FUNCTION(pcntl_wtermsig)
+ }
+ /* }}} */
+ 
+-/* {{{ proto int pcntl_wstopsig(int status) 
++/* {{{ proto int pcntl_wstopsig(int status)
+    Returns the number of the signal that caused the process to stop who's status code is passed */
+ PHP_FUNCTION(pcntl_wstopsig)
+ {
[email protected]@ -754,19 +754,19 @@ PHP_FUNCTION(pcntl_exec)
+ 	char *path;
+ 	int path_len;
+ 	ulong key_num;
+-		
+-	if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|aa", &path, &path_len, &args, &envs) == FAILURE) {
++
++	if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "p|aa", &path, &path_len, &args, &envs) == FAILURE) {
+ 		return;
+ 	}
+-	
++
+ 	if (ZEND_NUM_ARGS() > 1) {
+ 		/* Build argument list */
+ 		args_hash = HASH_OF(args);
+ 		argc = zend_hash_num_elements(args_hash);
+-		
++
+ 		argv = safe_emalloc((argc + 2), sizeof(char *), 0);
+ 		*argv = path;
+-		for ( zend_hash_internal_pointer_reset(args_hash), current_arg = argv+1; 
++		for ( zend_hash_internal_pointer_reset(args_hash), current_arg = argv+1;
+ 			(argi < argc && (zend_hash_get_current_data(args_hash, (void **) &element) == SUCCESS));
+ 			(argi++, current_arg++, zend_hash_move_forward(args_hash)) ) {
+ 
[email protected]@ -784,9 +784,9 @@ PHP_FUNCTION(pcntl_exec)
+ 		/* Build environment pair list */
+ 		envs_hash = HASH_OF(envs);
+ 		envc = zend_hash_num_elements(envs_hash);
+-		
++
+ 		envp = safe_emalloc((envc + 1), sizeof(char *), 0);
+-		for ( zend_hash_internal_pointer_reset(envs_hash), pair = envp; 
++		for ( zend_hash_internal_pointer_reset(envs_hash), pair = envp;
+ 			(envi < envc && (zend_hash_get_current_data(envs_hash, (void **) &element) == SUCCESS));
+ 			(envi++, pair++, zend_hash_move_forward(envs_hash)) ) {
+ 			switch (return_val = zend_hash_get_current_key_ex(envs_hash, &key, &key_length, &key_num, 0, NULL)) {
[email protected]@ -802,13 +802,13 @@ PHP_FUNCTION(pcntl_exec)
+ 
+ 			convert_to_string_ex(element);
+ 
+-			/* Length of element + equal sign + length of key + null */ 
++			/* Length of element + equal sign + length of key + null */
+ 			pair_length = Z_STRLEN_PP(element) + key_length + 2;
+ 			*pair = emalloc(pair_length);
+-			strlcpy(*pair, key, key_length); 
++			strlcpy(*pair, key, key_length);
+ 			strlcat(*pair, "=", pair_length);
+ 			strlcat(*pair, Z_STRVAL_PP(element), pair_length);
+-			
++
+ 			/* Cleanup */
+ 			if (return_val == HASH_KEY_IS_LONG) efree(key);
+ 		}
[email protected]@ -818,7 +818,7 @@ PHP_FUNCTION(pcntl_exec)
+ 			PCNTL_G(last_error) = errno;
+ 			php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error has occurred: (errno %d) %s", errno, strerror(errno));
+ 		}
+-	
++
+ 		/* Cleanup */
+ 		for (pair = envp; *pair != NULL; pair++) efree(*pair);
+ 		efree(envp);
[email protected]@ -831,7 +831,7 @@ PHP_FUNCTION(pcntl_exec)
+ 	}
+ 
+ 	efree(argv);
+-	
++
+ 	RETURN_FALSE;
+ }
+ /* }}} */
[email protected]@ -881,7 +881,7 @@ PHP_FUNCTION(pcntl_signal)
+ 		zend_hash_index_del(&PCNTL_G(php_signal_table), signo);
+ 		RETURN_TRUE;
+ 	}
+-	
++
+ 	if (!zend_is_callable(handle, 0, &func_name TSRMLS_CC)) {
+ 		PCNTL_G(last_error) = EINVAL;
+ 		php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s is not a callable function name error", func_name);
[email protected]@ -889,11 +889,11 @@ PHP_FUNCTION(pcntl_signal)
+ 		RETURN_FALSE;
+ 	}
+ 	efree(func_name);
+-	
++
+ 	/* Add the function name to our signal table */
+ 	zend_hash_index_update(&PCNTL_G(php_signal_table), signo, (void **) &handle, sizeof(zval *), (void **) &dest_handle);
+ 	if (dest_handle) zval_add_ref(dest_handle);
+-	
++
+ 	if (php_signal4(signo, pcntl_signal_handler, (int) restart_syscalls, 1) == SIG_ERR) {
+ 		PCNTL_G(last_error) = errno;
+ 		php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error assigning signal");
[email protected]@ -1030,7 +1030,7 @@ static void pcntl_sigwaitinfo(INTERNAL_FUNCTION_PARAMETERS, int timedwait) /* {{
+ 	}
+ 
+ 	/*
+-	 * sigtimedwait and sigwaitinfo can return 0 on success on some 
++	 * sigtimedwait and sigwaitinfo can return 0 on success on some
+ 	 * platforms, e.g. NetBSD
+ 	 */
+ 	if (!signo && siginfo.si_signo) {
[email protected]@ -1078,7 +1078,7 @@ static void pcntl_sigwaitinfo(INTERNAL_FUNCTION_PARAMETERS, int timedwait) /* {{
+ 			EMPTY_SWITCH_DEFAULT_CASE();
+ 		}
+ 	}
+-	
++
+ 	RETURN_LONG(signo);
+ }
+ /* }}} */
[email protected]@ -1108,12 +1108,12 @@ PHP_FUNCTION(pcntl_getpriority)
+ 	long who = PRIO_PROCESS;
+ 	long pid = getpid();
+ 	int pri;
+-	
++
+ 	if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|ll", &pid, &who) == FAILURE) {
+ 		RETURN_FALSE;
+ 	}
+ 
+-	/* needs to be cleared, since any returned value is valid */ 
++	/* needs to be cleared, since any returned value is valid */
+ 	errno = 0;
+ 
+ 	pri = getpriority(who, pid);
[email protected]@ -1173,7 +1173,7 @@ PHP_FUNCTION(pcntl_setpriority)
+ 		}
+ 		RETURN_FALSE;
+ 	}
+-	
++
+ 	RETURN_TRUE;
+ }
+ /* }}} */
[email protected]@ -1206,7 +1206,7 @@ static void pcntl_signal_handler(int signo)
+ {
+ 	struct php_pcntl_pending_signal *psig;
+ 	TSRMLS_FETCH();
+-	
++
+ 	psig = PCNTL_G(spares);
+ 	if (!psig) {
+ 		/* oops, too many signals for us to track, so we'll forget about this one */
[email protected]@ -1239,7 +1239,7 @@ void pcntl_signal_dispatch()
+ 	if(!PCNTL_G(pending_signals)) {
+ 		return;
+ 	}
+-		
++	
+ 	/* Mask all signals */
+ 	sigfillset(&mask);
+ 	sigprocmask(SIG_BLOCK, &mask, &old_mask);
[email protected]@ -1255,7 +1255,7 @@ void pcntl_signal_dispatch()
+ 
+ 	queue = PCNTL_G(head);
+ 	PCNTL_G(head) = NULL; /* simple stores are atomic */
+-	
++
+ 	/* Allocate */
+ 
+ 	while (queue) {
[email protected]@ -1282,7 +1282,7 @@ void pcntl_signal_dispatch()
+ 
+ 	/* Re-enable queue */
+ 	PCNTL_G(processing_signal_queue) = 0;
+-	
++
+ 	/* return signal mask to previous state */
+ 	sigprocmask(SIG_SETMASK, &old_mask, NULL);
+ }
+diff --git a/ext/standard/basic_functions.c b/ext/standard/basic_functions.c
+index a3783e0..83d140e 100644
+--- a/ext/standard/basic_functions.c
++++ b/ext/standard/basic_functions.c
[email protected]@ -2127,7 +2127,7 @@ ZEND_BEGIN_ARG_INFO(arginfo_stream_set_write_buffer, 0)
+ 	ZEND_ARG_INFO(0, fp)
+ 	ZEND_ARG_INFO(0, buffer)
+ ZEND_END_ARG_INFO()
+-		
++
+ ZEND_BEGIN_ARG_INFO(arginfo_stream_set_chunk_size, 0)
+ 	ZEND_ARG_INFO(0, fp)
+ 	ZEND_ARG_INFO(0, chunk_size)
[email protected]@ -2322,7 +2322,7 @@ ZEND_END_ARG_INFO()
+ ZEND_BEGIN_ARG_INFO(arginfo_lcfirst, 0)
+ 	ZEND_ARG_INFO(0, str)
+ ZEND_END_ARG_INFO()
+-	
++
+ ZEND_BEGIN_ARG_INFO_EX(arginfo_ucwords, 0, 0, 1)
+ 	ZEND_ARG_INFO(0, str)
+ 	ZEND_ARG_INFO(0, delimiters)
[email protected]@ -3475,7 +3475,7 @@ static void basic_globals_ctor(php_basic_globals *basic_globals_p TSRMLS_DC) /*
+ 	BG(user_tick_functions) = NULL;
+ 	BG(user_filter_map) = NULL;
+ 	BG(serialize_lock) = 0;
+-	
++
+ 	memset(&BG(serialize), 0, sizeof(BG(serialize)));
+ 	memset(&BG(unserialize), 0, sizeof(BG(unserialize)));
+ 
[email protected]@ -4034,8 +4034,8 @@ PHP_FUNCTION(getenv)
+ 		int size;
+ 
+ 		SetLastError(0);
+-		/*If the given bugger is not large enough to hold the data, the return value is 
+-		the buffer size,  in characters, required to hold the string and its terminating 
++		/*If the given bugger is not large enough to hold the data, the return value is
++		the buffer size,  in characters, required to hold the string and its terminating
+ 		null character. We use this return value to alloc the final buffer. */
+ 		size = GetEnvironmentVariableA(str, &dummybuf, 0);
+ 		if (GetLastError() == ERROR_ENVVAR_NOT_FOUND) {
[email protected]@ -4087,7 +4087,7 @@ PHP_FUNCTION(putenv)
+ 	if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &setting, &setting_len) == FAILURE) {
+ 		return;
+ 	}
+-    
++
+     if(setting_len == 0 || setting[0] == '=') {
+     	php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid parameter syntax");
+     	RETURN_FALSE;
[email protected]@ -4151,6 +4151,13 @@ PHP_FUNCTION(putenv)
+ 	&& _putenv(pe.putenv_string) == 0
+ # endif
+ 	) { /* success */
++#  if _MSC_VER < 1500
++	/* Yet another VC6 bug, unset may return env not found */
++	if (error_code != 0 ||
++		(error_code == 0 && GetLastError() == ERROR_ENVVAR_NOT_FOUND)) {
++#  else
++	if (error_code != 0) { /* success */
++#  endif
+ # endif
+ #endif
+ 		zend_hash_add(&BG(putenv_ht), pe.key, pe.key_len + 1, (void **) &pe, sizeof(putenv_entry), NULL);
[email protected]@ -4634,7 +4641,7 @@ PHP_FUNCTION(set_magic_quotes_runtime)
+ 	if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "b", &new_setting) == FAILURE) {
+ 		return;
+ 	}
+-	
++
+ 	if (new_setting) {
+ 		php_error_docref(NULL TSRMLS_CC, E_CORE_ERROR, "magic_quotes_runtime is not supported anymore");
+ 	}
[email protected]@ -4922,7 +4929,7 @@ PHP_FUNCTION(forward_static_call)
+ 		instanceof_function(EG(called_scope), fci_cache.calling_scope TSRMLS_CC)) {
+ 			fci_cache.called_scope = EG(called_scope);
+ 	}
+-	
++
+ 	if (zend_call_function(&fci, &fci_cache TSRMLS_CC) == SUCCESS && fci.retval_ptr_ptr && *fci.retval_ptr_ptr) {
+ 		COPY_PZVAL_TO_ZVAL(*return_value, *fci.retval_ptr_ptr);
+ 	}
[email protected]@ -5495,7 +5502,7 @@ PHP_FUNCTION(set_include_path)
+ 	int new_value_len;
+ 	char *old_value;
+ 
+-	if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &new_value, &new_value_len) == FAILURE) {
++	if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "p", &new_value, &new_value_len) == FAILURE) {
+ 		return;
+ 	}
+ 
[email protected]@ -5623,7 +5630,7 @@ PHP_FUNCTION(getservbyname)
+ 	}
+ 
+ 
+-/* empty string behaves like NULL on windows implementation of 
++/* empty string behaves like NULL on windows implementation of
+    getservbyname. Let be portable instead. */
+ #ifdef PHP_WIN32
+ 	if (proto_len == 0) {
[email protected]@ -6051,7 +6058,7 @@ PHP_FUNCTION(parse_ini_string)
+ /* }}} */
+ 
+ #if ZEND_DEBUG
+-/* This function returns an array of ALL valid ini options with values and 
++/* This function returns an array of ALL valid ini options with values and
+  *  is not the same as ini_get_all() which returns only registered ini options. Only useful for devs to debug php.ini scanner/parser! */
+ PHP_FUNCTION(config_get_hash) /* {{{ */
+ {
+diff --git a/ext/standard/dir.c b/ext/standard/dir.c
+index 2ba4024..ddf884f 100644
+--- a/ext/standard/dir.c
++++ b/ext/standard/dir.c
[email protected]@ -93,8 +93,8 @@ static zend_class_entry *dir_class_entry_ptr;
+ 		dirp = (php_stream *) zend_fetch_resource(&id TSRMLS_CC, -1, "Directory", NULL, 1, php_file_le_stream()); \
+ 		if (!dirp) \
+ 			RETURN_FALSE; \
+-	} 
+-	
++	}
++
+ /* {{{ arginfo */
+ ZEND_BEGIN_ARG_INFO_EX(arginfo_dir, 0, 0, 0)
+ 	ZEND_ARG_INFO(0, dir_handle)
[email protected]@ -118,7 +118,7 @@ static void php_set_default_dir(int id TSRMLS_DC)
+ 	if (id != -1) {
+ 		zend_list_addref(id);
+ 	}
+-	
++
+ 	DIRG(default_dir) = id;
+ }
+ 
[email protected]@ -168,25 +168,25 @@ PHP_MINIT_FUNCTION(dir)
+ 
+ #ifdef GLOB_NOSORT
+ 	REGISTER_LONG_CONSTANT("GLOB_NOSORT", GLOB_NOSORT, CONST_CS | CONST_PERSISTENT);
+-#else 
++#else
+ # define GLOB_NOSORT 0
+ #endif
+ 
+ #ifdef GLOB_NOCHECK
+ 	REGISTER_LONG_CONSTANT("GLOB_NOCHECK", GLOB_NOCHECK, CONST_CS | CONST_PERSISTENT);
+-#else 
++#else
+ # define GLOB_NOCHECK 0
+ #endif
+ 
+ #ifdef GLOB_NOESCAPE
+ 	REGISTER_LONG_CONSTANT("GLOB_NOESCAPE", GLOB_NOESCAPE, CONST_CS | CONST_PERSISTENT);
+-#else 
++#else
+ # define GLOB_NOESCAPE 0
+ #endif
+ 
+ #ifdef GLOB_ERR
+ 	REGISTER_LONG_CONSTANT("GLOB_ERR", GLOB_ERR, CONST_CS | CONST_PERSISTENT);
+-#else 
++#else
+ # define GLOB_ERR 0
+ #endif
+ 
[email protected]@ -219,12 +219,12 @@ static void _php_do_opendir(INTERNAL_FUNCTION_PARAMETERS, int createobject)
+ 	php_stream_context *context = NULL;
+ 	php_stream *dirp;
+ 
+-	if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|r", &dirname, &dir_len, &zcontext) == FAILURE) {
++	if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "p|r", &dirname, &dir_len, &zcontext) == FAILURE) {
+ 		RETURN_NULL();
+ 	}
+ 
+ 	context = php_stream_context_from_zval(zcontext, 0);
+-	
++
+ 	dirp = php_stream_opendir(dirname, REPORT_ERRORS, context);
+ 
+ 	if (dirp == NULL) {
[email protected]@ -232,7 +232,7 @@ static void _php_do_opendir(INTERNAL_FUNCTION_PARAMETERS, int createobject)
+ 	}
+ 
+ 	dirp->flags |= PHP_STREAM_FLAG_NO_FCLOSE;
+-		
++
+ 	php_set_default_dir(dirp->rsrc_id TSRMLS_CC);
+ 
+ 	if (createobject) {
[email protected]@ -293,11 +293,11 @@ PHP_FUNCTION(chroot)
+ {
+ 	char *str;
+ 	int ret, str_len;
+-	
+-	if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &str, &str_len) == FAILURE) {
++
++	if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "p", &str, &str_len) == FAILURE) {
+ 		RETURN_FALSE;
+ 	}
+-	
++
+ 	ret = chroot(str);
+ 	if (ret != 0) {
+ 		php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s (errno %d)", strerror(errno), errno);
[email protected]@ -305,9 +305,9 @@ PHP_FUNCTION(chroot)
+ 	}
+ 
+ 	php_clear_stat_cache(1, NULL, 0 TSRMLS_CC);
+-	
++
+ 	ret = chdir("/");
+-	
++
+ 	if (ret != 0) {
+ 		php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s (errno %d)", strerror(errno), errno);
+ 		RETURN_FALSE;
[email protected]@ -324,7 +324,7 @@ PHP_FUNCTION(chdir)
+ {
+ 	char *str;
+ 	int ret, str_len;
+-	
++
+ 	if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "p", &str, &str_len) == FAILURE) {
+ 		RETURN_FALSE;
+ 	}
[email protected]@ -333,7 +333,7 @@ PHP_FUNCTION(chdir)
+ 		RETURN_FALSE;
+ 	}
+ 	ret = VCWD_CHDIR(str);
+-	
++
+ 	if (ret != 0) {
+ 		php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s (errno %d)", strerror(errno), errno);
+ 		RETURN_FALSE;
[email protected]@ -358,7 +358,7 @@ PHP_FUNCTION(getcwd)
+ {
+ 	char path[MAXPATHLEN];
+ 	char *ret=NULL;
+-	
++
+ 	if (zend_parse_parameters_none() == FAILURE) {
+ 		return;
+ 	}
[email protected]@ -383,7 +383,7 @@ PHP_FUNCTION(rewinddir)
+ {
+ 	zval *id = NULL, **tmp, *myself;
+ 	php_stream *dirp;
+-	
++
+ 	FETCH_DIRP();
+ 
+ 	if (!(dirp->flags & PHP_STREAM_FLAG_IS_DIR)) {
[email protected]@ -450,9 +450,9 @@ PHP_FUNCTION(glob)
+ 		RETURN_FALSE;
+ 	}
+ 
+-#ifdef ZTS 
++#ifdef ZTS
+ 	if (!IS_ABSOLUTE_PATH(pattern, pattern_len)) {
+-		result = VCWD_GETCWD(cwd, MAXPATHLEN);	
++		result = VCWD_GETCWD(cwd, MAXPATHLEN);
+ 		if (!result) {
+ 			cwd[0] = '\0';
+ 		}
[email protected]@ -465,10 +465,10 @@ PHP_FUNCTION(glob)
+ 
+ 		snprintf(work_pattern, MAXPATHLEN, "%s%c%s", cwd, DEFAULT_SLASH, pattern);
+ 		pattern = work_pattern;
+-	} 
++	}
+ #endif
+ 
+-	
++
+ 	memset(&globbuf, 0, sizeof(glob_t));
+ 	globbuf.gl_offs = 0;
+ 	if (0 != (ret = glob(pattern, flags & GLOB_FLAGMASK, NULL, &globbuf))) {
[email protected]@ -477,7 +477,7 @@ PHP_FUNCTION(glob)
+ 			/* Some glob implementation simply return no data if no matches
+ 			   were found, others return the GLOB_NOMATCH error code.
+ 			   We don't want to treat GLOB_NOMATCH as an error condition
+-			   so that PHP glob() behaves the same on both types of 
++			   so that PHP glob() behaves the same on both types of
+ 			   implementations and so that 'foreach (glob() as ...'
+ 			   can be used for simple glob() calls without further error
+ 			   checking.
[email protected]@ -517,11 +517,11 @@ no_results:
+ 		}
+ 		/* we need to do this everytime since GLOB_ONLYDIR does not guarantee that
+ 		 * all directories will be filtered. GNU libc documentation states the
+-		 * following: 
+-		 * If the information about the type of the file is easily available 
+-		 * non-directories will be rejected but no extra work will be done to 
+-		 * determine the information for each file. I.e., the caller must still be 
+-		 * able to filter directories out. 
++		 * following:
++		 * If the information about the type of the file is easily available
++		 * non-directories will be rejected but no extra work will be done to
++		 * determine the information for each file. I.e., the caller must still be
++		 * able to filter directories out.
+ 		 */
+ 		if (flags & GLOB_ONLYDIR) {
+ 			struct stat s;
[email protected]@ -545,7 +545,7 @@ no_results:
+ 	}
+ }
+ /* }}} */
+-#endif 
++#endif
+ 
+ /* {{{ proto array scandir(string dir [, int sorting_order [, resource context]])
+    List files & directories inside the specified path */
[email protected]@ -583,7 +583,7 @@ PHP_FUNCTION(scandir)
+ 		php_error_docref(NULL TSRMLS_CC, E_WARNING, "(errno %d): %s", errno, strerror(errno));
+ 		RETURN_FALSE;
+ 	}
+-	
++
+ 	array_init(return_value);
+ 
+ 	for (i = 0; i < n; i++) {
+diff --git a/ext/standard/file.c b/ext/standard/file.c
+index c2e71d1..0abc022 100644
+--- a/ext/standard/file.c
++++ b/ext/standard/file.c
[email protected]@ -814,7 +814,7 @@ PHP_FUNCTION(tempnam)
+ 	char *p;
+ 	int fd;
+ 
+-	if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ps", &dir, &dir_len, &prefix, &prefix_len) == FAILURE) {
++	if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "pp", &dir, &dir_len, &prefix, &prefix_len) == FAILURE) {
+ 		return;
+ 	}
+ 
[email protected]@ -1343,7 +1343,7 @@ PHP_FUNCTION(rmdir)
+ 	zval *zcontext = NULL;
+ 	php_stream_context *context;
+ 
+-	if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|r", &dir, &dir_len, &zcontext) == FAILURE) {
++	if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "p|r", &dir, &dir_len, &zcontext) == FAILURE) {
+ 		RETURN_FALSE;
+ 	}
+ 
+-- 
+2.1.4
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/php/php56/patches/configure.in.patch	Fri Jun 05 09:47:02 2015 -0700
@@ -0,0 +1,21 @@
+# Allow building with no SAPI's.
+# This is useful for, e.g., building modules separately.
+# Based on patch at https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=188386
+# Will not send upstream as this is port/build specific.
+# Requires running autoconf to regenerate configure script.
+
+diff -ru a/configure.in b/configure.in
+--- a/configure.in	2014-11-12 05:52:21.000000000 -0800
++++ b/configure.in	2015-01-29 13:31:45.101366346 -0800
[email protected]@ -401,11 +401,6 @@
+   AC_MSG_RESULT([none])
+ fi
+ 
+-dnl Exit early
+-if test -z "$PHP_INSTALLED_SAPIS"; then
+-  AC_MSG_ERROR([Nothing to build.])
+-fi
+-
+ dnl force ZTS
+ if test "$enable_maintainer_zts" = "yes"; then
+   PTHREADS_ASSIGN_VARS
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/php/php56/patches/ext-gmp-config.m4.patch	Fri Jun 05 09:47:02 2015 -0700
@@ -0,0 +1,21 @@
+# Internal, will not be submitted upstream.
+# Solaris path to gmp headers.
+
+--- php-5.6.3/ext/gmp/config.m4	Wed Nov 12 05:52:21 2014
++++ php-5.6.3/ext/gmp/config.m4	Fri Mar  6 13:46:41 2015
[email protected]@ -9,6 +9,7 @@
+ 
+   for i in $PHP_GMP /usr/local /usr; do
+     test -f $i/include/gmp.h && GMP_DIR=$i && break
++    test -f $i/include/gmp/gmp.h && GMP_DIR=$i && break
+   done
+ 
+   if test -z "$GMP_DIR"; then
[email protected]@ -29,6 +30,7 @@
+ 
+   PHP_ADD_LIBRARY_WITH_PATH(gmp, $GMP_DIR/$PHP_LIBDIR, GMP_SHARED_LIBADD)
+   PHP_ADD_INCLUDE($GMP_DIR/include)
++  PHP_ADD_INCLUDE($GMP_DIR/include/gmp)
+ 
+   PHP_NEW_EXTENSION(gmp, gmp.c, $ext_shared)
+   PHP_SUBST(GMP_SHARED_LIBADD)
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/php/php56/patches/ext-intl-config.m4.patch	Fri Jun 05 09:47:02 2015 -0700
@@ -0,0 +1,14 @@
+# Internal, probably not for upstream.
+# Removes gcc-specific compiler option.
+
+--- a/ext/intl/config.m4	Wed Apr 15 11:05:57 2015
++++ b/ext/intl/config.m4	Mon Apr 27 13:30:25 2015
[email protected]@ -85,7 +85,7 @@
+     breakiterator/codepointiterator_internal.cpp \
+     breakiterator/codepointiterator_methods.cpp \
+     idn/idn.c \
+-    $icu_spoof_src, $ext_shared,,$ICU_INCS -Wno-write-strings)
++    $icu_spoof_src, $ext_shared,,$ICU_INCS)
+   PHP_ADD_BUILD_DIR($ext_builddir/collator)
+   PHP_ADD_BUILD_DIR($ext_builddir/converter)
+   PHP_ADD_BUILD_DIR($ext_builddir/common)
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/php/php56/patches/ext-socket-config.m4.patch	Fri Jun 05 09:47:02 2015 -0700
@@ -0,0 +1,13 @@
+# From upstream
+# https://bugs.php.net/patch-display.php?bug_id=66013&patch=ext_socket_config.m4.patch&revision=1391710634
+
+--- php-5.5.8/ext/sockets/config.m4.~1~	2014-02-03 17:00:04.190436713 +0400
++++ php-5.5.8/ext/sockets/config.m4	2014-02-03 17:01:07.630356700 +0400
[email protected]@ -56,6 +56,6 @@
+     AC_DEFINE(HAVE_AI_V4MAPPED,1,[Whether you have AI_V4MAPPED])
+   fi
+ 
+-  PHP_NEW_EXTENSION([sockets], [sockets.c multicast.c conversions.c sockaddr_conv.c sendrecvmsg.c], [$ext_shared])
++  PHP_NEW_EXTENSION([sockets], [sockets.c multicast.c conversions.c sockaddr_conv.c sendrecvmsg.c], [$ext_shared],,-D_XPG4_2)
+   PHP_INSTALL_HEADERS([ext/sockets/], [php_sockets.h])
+ fi
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/php/php56/php-56.p5m	Fri Jun 05 09:47:02 2015 -0700
@@ -0,0 +1,607 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+
+#
+# Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
+#
+
+<transform file path=usr.*/man/.+ -> default mangler.man.stability volatile>
+# prevent 64-bit object in 32-bit path errors
+<transform file path=usr/php/5.6/lib/extensions/no-debug-zts-20131226/.*\.so -> set pkg.linted.userland.action001.2 true>
+<transform file path=var/php/5.6/pear/doc/.* -> default facet.doc true>
+<transform file path=usr/php/5.6/include/.* -> default facet.devel true>
+<transform file path=etc/php/.* -> default preserve renamenew>
+set name=pkg.fmri \
+    value=pkg:/web/[email protected]$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
+set name=pkg.summary value="PHP scripting language"
+set name=com.oracle.info.description \
+    value="A general-purpose scripting language originally designed for web development to produce dynamic web pages."
+set name=com.oracle.info.tpno value=22435
+set name=info.classification value=org.opensolaris.category.2008:Development/PHP
+set name=info.source-url value=$(COMPONENT_ARCHIVE_URL)
+set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
+set name=org.opensolaris.arc-caseid value=PSARC/2015/255
+set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
+file files/php5.6.conf path=etc/apache2/2.4/samples-conf.d/php5.6.conf
+file files/extensions.ini path=etc/php/5.6/conf.d/extensions.ini \
+    preserve=renamenew
+file path=etc/php/5.6/pear.conf preserve=renamenew
+file path=etc/php/5.6/php-fpm.conf.default
+file php.ini-production path=etc/php/5.6/php.ini preserve=renamenew
+file php.ini-development path=etc/php/5.6/php.ini-development
+file php.ini-production path=etc/php/5.6/php.ini-production
+file path=usr/apache2/2.4/libexec/libphp5.so \
+    pkg.linted.userland.action001.2=true
+link path=usr/bin/pear target=../php/5.6/bin/pear mediator=php \
+    mediator-version=5.6
+link path=usr/bin/peardev target=../php/5.6/bin/peardev mediator=php \
+    mediator-version=5.6
+link path=usr/bin/pecl target=../php/5.6/bin/pecl mediator=php \
+    mediator-version=5.6
+link path=usr/bin/phar target=../php/5.6/bin/phar mediator=php \
+    mediator-version=5.6
+link path=usr/bin/phar.phar target=../php/5.6/bin/phar.phar mediator=php \
+    mediator-version=5.6
+link path=usr/bin/php target=../php/5.6/bin/php mediator=php \
+    mediator-version=5.6
+link path=usr/bin/php-cgi target=../php/5.6/bin/php-cgi mediator=php \
+    mediator-version=5.6
+link path=usr/bin/php-config target=../php/5.6/bin/php-config mediator=php \
+    mediator-version=5.6
+link path=usr/bin/phpize target=../php/5.6/bin/phpize mediator=php \
+    mediator-version=5.6
+file path=usr/php/5.6/bin/pear
+file path=usr/php/5.6/bin/peardev
+file path=usr/php/5.6/bin/pecl
+link path=usr/php/5.6/bin/phar target=phar.phar
+file path=usr/php/5.6/bin/phar.phar
+file path=usr/php/5.6/bin/php
+file path=usr/php/5.6/bin/php-cgi
+file path=usr/php/5.6/bin/php-config
+file path=usr/php/5.6/bin/phpize
+file path=usr/php/5.6/include/php/TSRM/TSRM.h
+file path=usr/php/5.6/include/php/TSRM/readdir.h
+file path=usr/php/5.6/include/php/TSRM/tsrm_config.h
+file path=usr/php/5.6/include/php/TSRM/tsrm_config.w32.h
+file path=usr/php/5.6/include/php/TSRM/tsrm_config_common.h
+file path=usr/php/5.6/include/php/TSRM/tsrm_nw.h
+file path=usr/php/5.6/include/php/TSRM/tsrm_strtok_r.h
+file path=usr/php/5.6/include/php/TSRM/tsrm_win32.h
+file path=usr/php/5.6/include/php/Zend/zend.h
+file path=usr/php/5.6/include/php/Zend/zend_API.h
+file path=usr/php/5.6/include/php/Zend/zend_alloc.h
+file path=usr/php/5.6/include/php/Zend/zend_ast.h
+file path=usr/php/5.6/include/php/Zend/zend_build.h
+file path=usr/php/5.6/include/php/Zend/zend_builtin_functions.h
+file path=usr/php/5.6/include/php/Zend/zend_closures.h
+file path=usr/php/5.6/include/php/Zend/zend_compile.h
+file path=usr/php/5.6/include/php/Zend/zend_config.h
+file path=usr/php/5.6/include/php/Zend/zend_config.nw.h
+file path=usr/php/5.6/include/php/Zend/zend_config.w32.h
+file path=usr/php/5.6/include/php/Zend/zend_constants.h
+file path=usr/php/5.6/include/php/Zend/zend_dtrace.h
+file path=usr/php/5.6/include/php/Zend/zend_dtrace_gen.h
+file path=usr/php/5.6/include/php/Zend/zend_dynamic_array.h
+file path=usr/php/5.6/include/php/Zend/zend_errors.h
+file path=usr/php/5.6/include/php/Zend/zend_exceptions.h
+file path=usr/php/5.6/include/php/Zend/zend_execute.h
+file path=usr/php/5.6/include/php/Zend/zend_extensions.h
+file path=usr/php/5.6/include/php/Zend/zend_float.h
+file path=usr/php/5.6/include/php/Zend/zend_gc.h
+file path=usr/php/5.6/include/php/Zend/zend_generators.h
+file path=usr/php/5.6/include/php/Zend/zend_globals.h
+file path=usr/php/5.6/include/php/Zend/zend_globals_macros.h
+file path=usr/php/5.6/include/php/Zend/zend_hash.h
+file path=usr/php/5.6/include/php/Zend/zend_highlight.h
+file path=usr/php/5.6/include/php/Zend/zend_indent.h
+file path=usr/php/5.6/include/php/Zend/zend_ini.h
+file path=usr/php/5.6/include/php/Zend/zend_ini_parser.h
+file path=usr/php/5.6/include/php/Zend/zend_ini_scanner.h
+file path=usr/php/5.6/include/php/Zend/zend_ini_scanner_defs.h
+file path=usr/php/5.6/include/php/Zend/zend_interfaces.h
+file path=usr/php/5.6/include/php/Zend/zend_istdiostream.h
+file path=usr/php/5.6/include/php/Zend/zend_iterators.h
+file path=usr/php/5.6/include/php/Zend/zend_language_parser.h
+file path=usr/php/5.6/include/php/Zend/zend_language_scanner.h
+file path=usr/php/5.6/include/php/Zend/zend_language_scanner_defs.h
+file path=usr/php/5.6/include/php/Zend/zend_list.h
+file path=usr/php/5.6/include/php/Zend/zend_llist.h
+file path=usr/php/5.6/include/php/Zend/zend_modules.h
+file path=usr/php/5.6/include/php/Zend/zend_multibyte.h
+file path=usr/php/5.6/include/php/Zend/zend_multiply.h
+file path=usr/php/5.6/include/php/Zend/zend_object_handlers.h
+file path=usr/php/5.6/include/php/Zend/zend_objects.h
+file path=usr/php/5.6/include/php/Zend/zend_objects_API.h
+file path=usr/php/5.6/include/php/Zend/zend_operators.h
+file path=usr/php/5.6/include/php/Zend/zend_ptr_stack.h
+file path=usr/php/5.6/include/php/Zend/zend_qsort.h
+file path=usr/php/5.6/include/php/Zend/zend_signal.h
+file path=usr/php/5.6/include/php/Zend/zend_stack.h
+file path=usr/php/5.6/include/php/Zend/zend_static_allocator.h
+file path=usr/php/5.6/include/php/Zend/zend_stream.h
+file path=usr/php/5.6/include/php/Zend/zend_string.h
+file path=usr/php/5.6/include/php/Zend/zend_strtod.h
+file path=usr/php/5.6/include/php/Zend/zend_ts_hash.h
+file path=usr/php/5.6/include/php/Zend/zend_types.h
+file path=usr/php/5.6/include/php/Zend/zend_variables.h
+file path=usr/php/5.6/include/php/Zend/zend_virtual_cwd.h
+file path=usr/php/5.6/include/php/Zend/zend_vm.h
+file path=usr/php/5.6/include/php/Zend/zend_vm_def.h
+file path=usr/php/5.6/include/php/Zend/zend_vm_execute.h
+file path=usr/php/5.6/include/php/Zend/zend_vm_opcodes.h
+file path=usr/php/5.6/include/php/ext/date/lib/timelib.h
+file path=usr/php/5.6/include/php/ext/date/lib/timelib_config.h
+file path=usr/php/5.6/include/php/ext/date/lib/timelib_structs.h
+file path=usr/php/5.6/include/php/ext/date/php_date.h
+file path=usr/php/5.6/include/php/ext/dom/xml_common.h
+file path=usr/php/5.6/include/php/ext/ereg/php_ereg.h
+file path=usr/php/5.6/include/php/ext/ereg/php_regex.h
+file path=usr/php/5.6/include/php/ext/ereg/regex/cclass.h
+file path=usr/php/5.6/include/php/ext/ereg/regex/cname.h
+file path=usr/php/5.6/include/php/ext/ereg/regex/regex.h
+file path=usr/php/5.6/include/php/ext/ereg/regex/regex2.h
+file path=usr/php/5.6/include/php/ext/ereg/regex/utils.h
+file path=usr/php/5.6/include/php/ext/filter/php_filter.h
+file path=usr/php/5.6/include/php/ext/gd/gd_compat.h
+file path=usr/php/5.6/include/php/ext/gd/gdcache.h
+file path=usr/php/5.6/include/php/ext/gd/libgd/gd.h
+file path=usr/php/5.6/include/php/ext/gd/libgd/gd_intern.h
+file path=usr/php/5.6/include/php/ext/gd/libgd/gd_io.h
+file path=usr/php/5.6/include/php/ext/gd/libgd/gdcache.h
+file path=usr/php/5.6/include/php/ext/gd/libgd/gdfontg.h
+file path=usr/php/5.6/include/php/ext/gd/libgd/gdfontl.h
+file path=usr/php/5.6/include/php/ext/gd/libgd/gdfontmb.h
+file path=usr/php/5.6/include/php/ext/gd/libgd/gdfonts.h
+file path=usr/php/5.6/include/php/ext/gd/libgd/gdfontt.h
+file path=usr/php/5.6/include/php/ext/gd/libgd/gdhelpers.h
+file path=usr/php/5.6/include/php/ext/gd/libgd/jisx0208.h
+file path=usr/php/5.6/include/php/ext/gd/libgd/wbmp.h
+file path=usr/php/5.6/include/php/ext/gd/libgd/webpimg.h
+file path=usr/php/5.6/include/php/ext/gd/php_gd.h
+file path=usr/php/5.6/include/php/ext/hash/php_hash.h
+file path=usr/php/5.6/include/php/ext/hash/php_hash_adler32.h
+file path=usr/php/5.6/include/php/ext/hash/php_hash_crc32.h
+file path=usr/php/5.6/include/php/ext/hash/php_hash_fnv.h
+file path=usr/php/5.6/include/php/ext/hash/php_hash_gost.h
+file path=usr/php/5.6/include/php/ext/hash/php_hash_haval.h
+file path=usr/php/5.6/include/php/ext/hash/php_hash_joaat.h
+file path=usr/php/5.6/include/php/ext/hash/php_hash_md.h
+file path=usr/php/5.6/include/php/ext/hash/php_hash_ripemd.h
+file path=usr/php/5.6/include/php/ext/hash/php_hash_sha.h
+file path=usr/php/5.6/include/php/ext/hash/php_hash_snefru.h
+file path=usr/php/5.6/include/php/ext/hash/php_hash_tiger.h
+file path=usr/php/5.6/include/php/ext/hash/php_hash_whirlpool.h
+file path=usr/php/5.6/include/php/ext/iconv/php_have_bsd_iconv.h
+file path=usr/php/5.6/include/php/ext/iconv/php_have_glibc_iconv.h
+file path=usr/php/5.6/include/php/ext/iconv/php_have_ibm_iconv.h
+file path=usr/php/5.6/include/php/ext/iconv/php_have_iconv.h
+file path=usr/php/5.6/include/php/ext/iconv/php_have_libiconv.h
+file path=usr/php/5.6/include/php/ext/iconv/php_iconv.h
+file path=usr/php/5.6/include/php/ext/iconv/php_iconv_aliased_libiconv.h
+file path=usr/php/5.6/include/php/ext/iconv/php_iconv_supports_errno.h
+file path=usr/php/5.6/include/php/ext/iconv/php_php_iconv_h_path.h
+file path=usr/php/5.6/include/php/ext/iconv/php_php_iconv_impl.h
+file path=usr/php/5.6/include/php/ext/json/php_json.h
+file path=usr/php/5.6/include/php/ext/libxml/php_libxml.h
+file path=usr/php/5.6/include/php/ext/mbstring/libmbfl/config.h
+file path=usr/php/5.6/include/php/ext/mbstring/libmbfl/mbfl/eaw_table.h
+file path=usr/php/5.6/include/php/ext/mbstring/libmbfl/mbfl/mbfilter.h
+file path=usr/php/5.6/include/php/ext/mbstring/libmbfl/mbfl/mbfilter_8bit.h
+file path=usr/php/5.6/include/php/ext/mbstring/libmbfl/mbfl/mbfilter_pass.h
+file path=usr/php/5.6/include/php/ext/mbstring/libmbfl/mbfl/mbfilter_wchar.h
+file path=usr/php/5.6/include/php/ext/mbstring/libmbfl/mbfl/mbfl_allocators.h
+file path=usr/php/5.6/include/php/ext/mbstring/libmbfl/mbfl/mbfl_consts.h
+file path=usr/php/5.6/include/php/ext/mbstring/libmbfl/mbfl/mbfl_convert.h
+file path=usr/php/5.6/include/php/ext/mbstring/libmbfl/mbfl/mbfl_defs.h
+file path=usr/php/5.6/include/php/ext/mbstring/libmbfl/mbfl/mbfl_encoding.h
+file path=usr/php/5.6/include/php/ext/mbstring/libmbfl/mbfl/mbfl_filter_output.h
+file path=usr/php/5.6/include/php/ext/mbstring/libmbfl/mbfl/mbfl_ident.h
+file path=usr/php/5.6/include/php/ext/mbstring/libmbfl/mbfl/mbfl_language.h
+file path=usr/php/5.6/include/php/ext/mbstring/libmbfl/mbfl/mbfl_memory_device.h
+file path=usr/php/5.6/include/php/ext/mbstring/libmbfl/mbfl/mbfl_string.h
+file path=usr/php/5.6/include/php/ext/mbstring/mbstring.h
+file path=usr/php/5.6/include/php/ext/mbstring/oniguruma/oniguruma.h
+file path=usr/php/5.6/include/php/ext/mbstring/php_mbregex.h
+file path=usr/php/5.6/include/php/ext/mbstring/php_onig_compat.h
+file path=usr/php/5.6/include/php/ext/mysqli/mysqli_mysqlnd.h
+file path=usr/php/5.6/include/php/ext/mysqli/php_mysqli_structs.h
+file path=usr/php/5.6/include/php/ext/mysqlnd/config-win.h
+file path=usr/php/5.6/include/php/ext/mysqlnd/mysql_float_to_double.h
+file path=usr/php/5.6/include/php/ext/mysqlnd/mysqlnd.h
+file path=usr/php/5.6/include/php/ext/mysqlnd/mysqlnd_alloc.h
+file path=usr/php/5.6/include/php/ext/mysqlnd/mysqlnd_block_alloc.h
+file path=usr/php/5.6/include/php/ext/mysqlnd/mysqlnd_charset.h
+file path=usr/php/5.6/include/php/ext/mysqlnd/mysqlnd_debug.h
+file path=usr/php/5.6/include/php/ext/mysqlnd/mysqlnd_enum_n_def.h
+file path=usr/php/5.6/include/php/ext/mysqlnd/mysqlnd_ext_plugin.h
+file path=usr/php/5.6/include/php/ext/mysqlnd/mysqlnd_libmysql_compat.h
+file path=usr/php/5.6/include/php/ext/mysqlnd/mysqlnd_net.h
+file path=usr/php/5.6/include/php/ext/mysqlnd/mysqlnd_portability.h
+file path=usr/php/5.6/include/php/ext/mysqlnd/mysqlnd_priv.h
+file path=usr/php/5.6/include/php/ext/mysqlnd/mysqlnd_result.h
+file path=usr/php/5.6/include/php/ext/mysqlnd/mysqlnd_result_meta.h
+file path=usr/php/5.6/include/php/ext/mysqlnd/mysqlnd_reverse_api.h
+file path=usr/php/5.6/include/php/ext/mysqlnd/mysqlnd_statistics.h
+file path=usr/php/5.6/include/php/ext/mysqlnd/mysqlnd_structs.h
+file path=usr/php/5.6/include/php/ext/mysqlnd/mysqlnd_wireprotocol.h
+file path=usr/php/5.6/include/php/ext/mysqlnd/php_mysqlnd.h
+file path=usr/php/5.6/include/php/ext/pcre/pcrelib/config.h
+file path=usr/php/5.6/include/php/ext/pcre/pcrelib/pcre.h
+file path=usr/php/5.6/include/php/ext/pcre/pcrelib/pcre_internal.h
+file path=usr/php/5.6/include/php/ext/pcre/pcrelib/pcreposix.h
+file path=usr/php/5.6/include/php/ext/pcre/pcrelib/ucp.h
+file path=usr/php/5.6/include/php/ext/pcre/php_pcre.h
+file path=usr/php/5.6/include/php/ext/pdo/php_pdo.h
+file path=usr/php/5.6/include/php/ext/pdo/php_pdo_driver.h
+file path=usr/php/5.6/include/php/ext/pdo/php_pdo_error.h
+file path=usr/php/5.6/include/php/ext/phar/php_phar.h
+file path=usr/php/5.6/include/php/ext/session/mod_files.h
+file path=usr/php/5.6/include/php/ext/session/mod_user.h
+file path=usr/php/5.6/include/php/ext/session/php_session.h
+file path=usr/php/5.6/include/php/ext/simplexml/php_simplexml.h
+file path=usr/php/5.6/include/php/ext/simplexml/php_simplexml_exports.h
+file path=usr/php/5.6/include/php/ext/sockets/php_sockets.h
+file path=usr/php/5.6/include/php/ext/spl/php_spl.h
+file path=usr/php/5.6/include/php/ext/spl/spl_array.h
+file path=usr/php/5.6/include/php/ext/spl/spl_directory.h
+file path=usr/php/5.6/include/php/ext/spl/spl_dllist.h
+file path=usr/php/5.6/include/php/ext/spl/spl_engine.h
+file path=usr/php/5.6/include/php/ext/spl/spl_exceptions.h
+file path=usr/php/5.6/include/php/ext/spl/spl_fixedarray.h
+file path=usr/php/5.6/include/php/ext/spl/spl_functions.h
+file path=usr/php/5.6/include/php/ext/spl/spl_heap.h
+file path=usr/php/5.6/include/php/ext/spl/spl_iterators.h
+file path=usr/php/5.6/include/php/ext/spl/spl_observer.h
+file path=usr/php/5.6/include/php/ext/sqlite3/libsqlite/sqlite3.h
+file path=usr/php/5.6/include/php/ext/standard/base64.h
+file path=usr/php/5.6/include/php/ext/standard/basic_functions.h
+file path=usr/php/5.6/include/php/ext/standard/crc32.h
+file path=usr/php/5.6/include/php/ext/standard/credits.h
+file path=usr/php/5.6/include/php/ext/standard/credits_ext.h
+file path=usr/php/5.6/include/php/ext/standard/credits_sapi.h
+file path=usr/php/5.6/include/php/ext/standard/crypt_blowfish.h
+file path=usr/php/5.6/include/php/ext/standard/crypt_freesec.h
+file path=usr/php/5.6/include/php/ext/standard/css.h
+file path=usr/php/5.6/include/php/ext/standard/cyr_convert.h
+file path=usr/php/5.6/include/php/ext/standard/datetime.h
+file path=usr/php/5.6/include/php/ext/standard/dl.h
+file path=usr/php/5.6/include/php/ext/standard/exec.h
+file path=usr/php/5.6/include/php/ext/standard/file.h
+file path=usr/php/5.6/include/php/ext/standard/flock_compat.h
+file path=usr/php/5.6/include/php/ext/standard/fsock.h
+file path=usr/php/5.6/include/php/ext/standard/head.h
+file path=usr/php/5.6/include/php/ext/standard/html.h
+file path=usr/php/5.6/include/php/ext/standard/html_tables.h
+file path=usr/php/5.6/include/php/ext/standard/info.h
+file path=usr/php/5.6/include/php/ext/standard/md5.h
+file path=usr/php/5.6/include/php/ext/standard/microtime.h
+file path=usr/php/5.6/include/php/ext/standard/pack.h
+file path=usr/php/5.6/include/php/ext/standard/pageinfo.h
+file path=usr/php/5.6/include/php/ext/standard/php_array.h
+file path=usr/php/5.6/include/php/ext/standard/php_assert.h
+file path=usr/php/5.6/include/php/ext/standard/php_browscap.h
+file path=usr/php/5.6/include/php/ext/standard/php_crypt.h
+file path=usr/php/5.6/include/php/ext/standard/php_crypt_r.h
+file path=usr/php/5.6/include/php/ext/standard/php_dir.h
+file path=usr/php/5.6/include/php/ext/standard/php_dns.h
+file path=usr/php/5.6/include/php/ext/standard/php_ext_syslog.h
+file path=usr/php/5.6/include/php/ext/standard/php_filestat.h
+file path=usr/php/5.6/include/php/ext/standard/php_fopen_wrappers.h
+file path=usr/php/5.6/include/php/ext/standard/php_ftok.h
+file path=usr/php/5.6/include/php/ext/standard/php_http.h
+file path=usr/php/5.6/include/php/ext/standard/php_image.h
+file path=usr/php/5.6/include/php/ext/standard/php_incomplete_class.h
+file path=usr/php/5.6/include/php/ext/standard/php_iptc.h
+file path=usr/php/5.6/include/php/ext/standard/php_lcg.h
+file path=usr/php/5.6/include/php/ext/standard/php_link.h
+file path=usr/php/5.6/include/php/ext/standard/php_mail.h
+file path=usr/php/5.6/include/php/ext/standard/php_math.h
+file path=usr/php/5.6/include/php/ext/standard/php_metaphone.h
+file path=usr/php/5.6/include/php/ext/standard/php_password.h
+file path=usr/php/5.6/include/php/ext/standard/php_rand.h
+file path=usr/php/5.6/include/php/ext/standard/php_smart_str.h
+file path=usr/php/5.6/include/php/ext/standard/php_smart_str_public.h
+file path=usr/php/5.6/include/php/ext/standard/php_standard.h
+file path=usr/php/5.6/include/php/ext/standard/php_string.h
+file path=usr/php/5.6/include/php/ext/standard/php_type.h
+file path=usr/php/5.6/include/php/ext/standard/php_uuencode.h
+file path=usr/php/5.6/include/php/ext/standard/php_var.h
+file path=usr/php/5.6/include/php/ext/standard/php_versioning.h
+file path=usr/php/5.6/include/php/ext/standard/proc_open.h
+file path=usr/php/5.6/include/php/ext/standard/quot_print.h
+file path=usr/php/5.6/include/php/ext/standard/scanf.h
+file path=usr/php/5.6/include/php/ext/standard/sha1.h
+file path=usr/php/5.6/include/php/ext/standard/streamsfuncs.h
+file path=usr/php/5.6/include/php/ext/standard/uniqid.h
+file path=usr/php/5.6/include/php/ext/standard/url.h
+file path=usr/php/5.6/include/php/ext/standard/url_scanner_ex.h
+file path=usr/php/5.6/include/php/ext/standard/winver.h
+file path=usr/php/5.6/include/php/ext/xml/expat_compat.h
+file path=usr/php/5.6/include/php/ext/xml/php_xml.h
+dir  path=usr/php/5.6/include/php/include
+file path=usr/php/5.6/include/php/main/SAPI.h
+file path=usr/php/5.6/include/php/main/build-defs.h
+file path=usr/php/5.6/include/php/main/fopen_wrappers.h
+file path=usr/php/5.6/include/php/main/php.h
+file path=usr/php/5.6/include/php/main/php_compat.h
+file path=usr/php/5.6/include/php/main/php_config.h
+file path=usr/php/5.6/include/php/main/php_content_types.h
+file path=usr/php/5.6/include/php/main/php_getopt.h
+file path=usr/php/5.6/include/php/main/php_globals.h
+file path=usr/php/5.6/include/php/main/php_ini.h
+file path=usr/php/5.6/include/php/main/php_main.h
+file path=usr/php/5.6/include/php/main/php_memory_streams.h
+file path=usr/php/5.6/include/php/main/php_network.h
+file path=usr/php/5.6/include/php/main/php_open_temporary_file.h
+file path=usr/php/5.6/include/php/main/php_output.h
+file path=usr/php/5.6/include/php/main/php_reentrancy.h
+file path=usr/php/5.6/include/php/main/php_scandir.h
+file path=usr/php/5.6/include/php/main/php_stdint.h
+file path=usr/php/5.6/include/php/main/php_streams.h
+file path=usr/php/5.6/include/php/main/php_syslog.h
+file path=usr/php/5.6/include/php/main/php_ticks.h
+file path=usr/php/5.6/include/php/main/php_variables.h
+file path=usr/php/5.6/include/php/main/php_version.h
+file path=usr/php/5.6/include/php/main/rfc1867.h
+file path=usr/php/5.6/include/php/main/snprintf.h
+file path=usr/php/5.6/include/php/main/spprintf.h
+file path=usr/php/5.6/include/php/main/streams/php_stream_context.h
+file path=usr/php/5.6/include/php/main/streams/php_stream_filter_api.h
+file path=usr/php/5.6/include/php/main/streams/php_stream_glob_wrapper.h
+file path=usr/php/5.6/include/php/main/streams/php_stream_mmap.h
+file path=usr/php/5.6/include/php/main/streams/php_stream_plain_wrapper.h
+file path=usr/php/5.6/include/php/main/streams/php_stream_transport.h
+file path=usr/php/5.6/include/php/main/streams/php_stream_userspace.h
+file path=usr/php/5.6/include/php/main/streams/php_streams_int.h
+file path=usr/php/5.6/include/php/main/win32_internal_function_disabled.h
+file path=usr/php/5.6/include/php/main/win95nt.h
+file path=usr/php/5.6/include/php/sapi/cli/cli.h
+file path=usr/php/5.6/lib/build/Makefile.global
+file path=usr/php/5.6/lib/build/acinclude.m4
+file path=usr/php/5.6/lib/build/config.guess
+file path=usr/php/5.6/lib/build/config.sub
+file path=usr/php/5.6/lib/build/libtool.m4
+file path=usr/php/5.6/lib/build/ltmain.sh
+file path=usr/php/5.6/lib/build/mkdep.awk
+file path=usr/php/5.6/lib/build/phpize.m4
+file path=usr/php/5.6/lib/build/run-tests.php
+file path=usr/php/5.6/lib/build/scan_makefile_in.awk
+file path=usr/php/5.6/lib/build/shtool
+file path=usr/php/5.6/lib/extensions/no-debug-zts-20131226/bcmath.so
+file path=usr/php/5.6/lib/extensions/no-debug-zts-20131226/bz2.so
+file path=usr/php/5.6/lib/extensions/no-debug-zts-20131226/calendar.so
+file path=usr/php/5.6/lib/extensions/no-debug-zts-20131226/curl.so
+file path=usr/php/5.6/lib/extensions/no-debug-zts-20131226/dba.so
+file path=usr/php/5.6/lib/extensions/no-debug-zts-20131226/enchant.so
+file path=usr/php/5.6/lib/extensions/no-debug-zts-20131226/exif.so
+file path=usr/php/5.6/lib/extensions/no-debug-zts-20131226/ftp.so
+file path=usr/php/5.6/lib/extensions/no-debug-zts-20131226/gd.so
+file path=usr/php/5.6/lib/extensions/no-debug-zts-20131226/gettext.so
+file path=usr/php/5.6/lib/extensions/no-debug-zts-20131226/gmp.so
+#file path=usr/php/5.6/lib/extensions/no-debug-zts-20131226/imap.so
+file path=usr/php/5.6/lib/extensions/no-debug-zts-20131226/intl.so
+file path=usr/php/5.6/lib/extensions/no-debug-zts-20131226/ldap.so
+file path=usr/php/5.6/lib/extensions/no-debug-zts-20131226/mbstring.so
+file path=usr/php/5.6/lib/extensions/no-debug-zts-20131226/mysql.so
+file path=usr/php/5.6/lib/extensions/no-debug-zts-20131226/mysqli.so
+file path=usr/php/5.6/lib/extensions/no-debug-zts-20131226/opcache.so
+file path=usr/php/5.6/lib/extensions/no-debug-zts-20131226/openssl.so
+file path=usr/php/5.6/lib/extensions/no-debug-zts-20131226/pcntl.so
+file path=usr/php/5.6/lib/extensions/no-debug-zts-20131226/pdo_mysql.so
+file path=usr/php/5.6/lib/extensions/no-debug-zts-20131226/readline.so
+file path=usr/php/5.6/lib/extensions/no-debug-zts-20131226/shmop.so
+file path=usr/php/5.6/lib/extensions/no-debug-zts-20131226/snmp.so
+file path=usr/php/5.6/lib/extensions/no-debug-zts-20131226/soap.so
+file path=usr/php/5.6/lib/extensions/no-debug-zts-20131226/sockets.so
+file path=usr/php/5.6/lib/extensions/no-debug-zts-20131226/sysvmsg.so
+file path=usr/php/5.6/lib/extensions/no-debug-zts-20131226/sysvsem.so
+file path=usr/php/5.6/lib/extensions/no-debug-zts-20131226/sysvshm.so
+file path=usr/php/5.6/lib/extensions/no-debug-zts-20131226/tidy.so
+file path=usr/php/5.6/lib/extensions/no-debug-zts-20131226/wddx.so
+file path=usr/php/5.6/lib/extensions/no-debug-zts-20131226/xmlrpc.so
+file path=usr/php/5.6/lib/extensions/no-debug-zts-20131226/xsl.so
+file path=usr/php/5.6/lib/extensions/no-debug-zts-20131226/zip.so
+file path=usr/php/5.6/sbin/php-fpm
+file path=usr/php/5.6/share/man/man1/phar.1
+file path=usr/php/5.6/share/man/man1/phar.phar.1
+file path=usr/php/5.6/share/man/man1/php-cgi.1
+file path=usr/php/5.6/share/man/man1/php-config.1
+file path=usr/php/5.6/share/man/man1/php.1
+file path=usr/php/5.6/share/man/man1/phpize.1
+file path=usr/php/5.6/share/man/man8/php-fpm.8
+link path=usr/php/bin target=5.6/bin mediator=php mediator-version=5.6
+link path=usr/php/include target=5.6/include mediator=php mediator-version=5.6
+link path=usr/php/lib target=5.6/lib mediator=php mediator-version=5.6
+link path=usr/php/sbin target=5.6/sbin mediator=php mediator-version=5.6
+dir  path=var/php/5.6/log
+file path=var/php/5.6/pear/.channels/.alias/pear.txt
+file path=var/php/5.6/pear/.channels/.alias/pecl.txt
+file path=var/php/5.6/pear/.channels/.alias/phpdocs.txt
+file path=var/php/5.6/pear/.channels/__uri.reg
+file path=var/php/5.6/pear/.channels/doc.php.net.reg
+file path=var/php/5.6/pear/.channels/pear.php.net.reg
+file path=var/php/5.6/pear/.channels/pecl.php.net.reg
+file path=var/php/5.6/pear/.depdb
+file path=var/php/5.6/pear/.depdblock
+file path=var/php/5.6/pear/.filemap
+file path=var/php/5.6/pear/.lock
+dir  path=var/php/5.6/pear/.registry/.channel.__uri
+dir  path=var/php/5.6/pear/.registry/.channel.doc.php.net
+dir  path=var/php/5.6/pear/.registry/.channel.pecl.php.net
+file path=var/php/5.6/pear/.registry/archive_tar.reg
+file path=var/php/5.6/pear/.registry/console_getopt.reg
+file path=var/php/5.6/pear/.registry/pear.reg
+file path=var/php/5.6/pear/.registry/structures_graph.reg
+file path=var/php/5.6/pear/.registry/xml_util.reg
+file path=var/php/5.6/pear/Archive/Tar.php
+file path=var/php/5.6/pear/Console/Getopt.php
+file path=var/php/5.6/pear/OS/Guess.php
+file path=var/php/5.6/pear/PEAR.php
+file path=var/php/5.6/pear/PEAR/Autoloader.php
+file path=var/php/5.6/pear/PEAR/Builder.php
+file path=var/php/5.6/pear/PEAR/ChannelFile.php
+file path=var/php/5.6/pear/PEAR/ChannelFile/Parser.php
+file path=var/php/5.6/pear/PEAR/Command.php
+file path=var/php/5.6/pear/PEAR/Command/Auth.php
+file path=var/php/5.6/pear/PEAR/Command/Auth.xml
+file path=var/php/5.6/pear/PEAR/Command/Build.php
+file path=var/php/5.6/pear/PEAR/Command/Build.xml
+file path=var/php/5.6/pear/PEAR/Command/Channels.php
+file path=var/php/5.6/pear/PEAR/Command/Channels.xml
+file path=var/php/5.6/pear/PEAR/Command/Common.php
+file path=var/php/5.6/pear/PEAR/Command/Config.php
+file path=var/php/5.6/pear/PEAR/Command/Config.xml
+file path=var/php/5.6/pear/PEAR/Command/Install.php
+file path=var/php/5.6/pear/PEAR/Command/Install.xml
+file path=var/php/5.6/pear/PEAR/Command/Mirror.php
+file path=var/php/5.6/pear/PEAR/Command/Mirror.xml
+file path=var/php/5.6/pear/PEAR/Command/Package.php
+file path=var/php/5.6/pear/PEAR/Command/Package.xml
+file path=var/php/5.6/pear/PEAR/Command/Pickle.php
+file path=var/php/5.6/pear/PEAR/Command/Pickle.xml
+file path=var/php/5.6/pear/PEAR/Command/Registry.php
+file path=var/php/5.6/pear/PEAR/Command/Registry.xml
+file path=var/php/5.6/pear/PEAR/Command/Remote.php
+file path=var/php/5.6/pear/PEAR/Command/Remote.xml
+file path=var/php/5.6/pear/PEAR/Command/Test.php
+file path=var/php/5.6/pear/PEAR/Command/Test.xml
+file path=var/php/5.6/pear/PEAR/Common.php
+file path=var/php/5.6/pear/PEAR/Config.php
+file path=var/php/5.6/pear/PEAR/Dependency2.php
+file path=var/php/5.6/pear/PEAR/DependencyDB.php
+file path=var/php/5.6/pear/PEAR/Downloader.php
+file path=var/php/5.6/pear/PEAR/Downloader/Package.php
+file path=var/php/5.6/pear/PEAR/ErrorStack.php
+file path=var/php/5.6/pear/PEAR/Exception.php
+file path=var/php/5.6/pear/PEAR/FixPHP5PEARWarnings.php
+file path=var/php/5.6/pear/PEAR/Frontend.php
+file path=var/php/5.6/pear/PEAR/Frontend/CLI.php
+file path=var/php/5.6/pear/PEAR/Installer.php
+file path=var/php/5.6/pear/PEAR/Installer/Role.php
+file path=var/php/5.6/pear/PEAR/Installer/Role/Cfg.php
+file path=var/php/5.6/pear/PEAR/Installer/Role/Cfg.xml
+file path=var/php/5.6/pear/PEAR/Installer/Role/Common.php
+file path=var/php/5.6/pear/PEAR/Installer/Role/Data.php
+file path=var/php/5.6/pear/PEAR/Installer/Role/Data.xml
+file path=var/php/5.6/pear/PEAR/Installer/Role/Doc.php
+file path=var/php/5.6/pear/PEAR/Installer/Role/Doc.xml
+file path=var/php/5.6/pear/PEAR/Installer/Role/Ext.php
+file path=var/php/5.6/pear/PEAR/Installer/Role/Ext.xml
+file path=var/php/5.6/pear/PEAR/Installer/Role/Php.php
+file path=var/php/5.6/pear/PEAR/Installer/Role/Php.xml
+file path=var/php/5.6/pear/PEAR/Installer/Role/Script.php
+file path=var/php/5.6/pear/PEAR/Installer/Role/Script.xml
+file path=var/php/5.6/pear/PEAR/Installer/Role/Src.php
+file path=var/php/5.6/pear/PEAR/Installer/Role/Src.xml
+file path=var/php/5.6/pear/PEAR/Installer/Role/Test.php
+file path=var/php/5.6/pear/PEAR/Installer/Role/Test.xml
+file path=var/php/5.6/pear/PEAR/Installer/Role/Www.php
+file path=var/php/5.6/pear/PEAR/Installer/Role/Www.xml
+file path=var/php/5.6/pear/PEAR/PackageFile.php
+file path=var/php/5.6/pear/PEAR/PackageFile/Generator/v1.php
+file path=var/php/5.6/pear/PEAR/PackageFile/Generator/v2.php
+file path=var/php/5.6/pear/PEAR/PackageFile/Parser/v1.php
+file path=var/php/5.6/pear/PEAR/PackageFile/Parser/v2.php
+file path=var/php/5.6/pear/PEAR/PackageFile/v1.php
+file path=var/php/5.6/pear/PEAR/PackageFile/v2.php
+file path=var/php/5.6/pear/PEAR/PackageFile/v2/Validator.php
+file path=var/php/5.6/pear/PEAR/PackageFile/v2/rw.php
+file path=var/php/5.6/pear/PEAR/Packager.php
+file path=var/php/5.6/pear/PEAR/REST.php
+file path=var/php/5.6/pear/PEAR/REST/10.php
+file path=var/php/5.6/pear/PEAR/REST/11.php
+file path=var/php/5.6/pear/PEAR/REST/13.php
+file path=var/php/5.6/pear/PEAR/Registry.php
+file path=var/php/5.6/pear/PEAR/RunTest.php
+file path=var/php/5.6/pear/PEAR/Task/Common.php
+file path=var/php/5.6/pear/PEAR/Task/Postinstallscript.php
+file path=var/php/5.6/pear/PEAR/Task/Postinstallscript/rw.php
+file path=var/php/5.6/pear/PEAR/Task/Replace.php
+file path=var/php/5.6/pear/PEAR/Task/Replace/rw.php
+file path=var/php/5.6/pear/PEAR/Task/Unixeol.php
+file path=var/php/5.6/pear/PEAR/Task/Unixeol/rw.php
+file path=var/php/5.6/pear/PEAR/Task/Windowseol.php
+file path=var/php/5.6/pear/PEAR/Task/Windowseol/rw.php
+file path=var/php/5.6/pear/PEAR/Validate.php
+file path=var/php/5.6/pear/PEAR/Validator/PECL.php
+file path=var/php/5.6/pear/PEAR/XMLParser.php
+file path=var/php/5.6/pear/PEAR5.php
+file path=var/php/5.6/pear/Structures/Graph.php
+file path=var/php/5.6/pear/Structures/Graph/Manipulator/AcyclicTest.php
+file path=var/php/5.6/pear/Structures/Graph/Manipulator/TopologicalSorter.php
+file path=var/php/5.6/pear/Structures/Graph/Node.php
+file path=var/php/5.6/pear/System.php
+file path=var/php/5.6/pear/XML/Util.php
+file path=var/php/5.6/pear/data/PEAR/package.dtd
+file path=var/php/5.6/pear/data/PEAR/template.spec
+file path=var/php/5.6/pear/data/Structures_Graph/LICENSE
+file path=var/php/5.6/pear/doc/Archive_Tar/docs/Archive_Tar.txt
+file path=var/php/5.6/pear/doc/PEAR/INSTALL
+file path=var/php/5.6/pear/doc/PEAR/LICENSE
+file path=var/php/5.6/pear/doc/PEAR/README
+file path=var/php/5.6/pear/doc/Structures_Graph/docs/generate.sh
+file path=var/php/5.6/pear/doc/Structures_Graph/docs/html/Structures_Graph/Structures_Graph.html
+file path=var/php/5.6/pear/doc/Structures_Graph/docs/html/Structures_Graph/Structures_Graph_Manipulator_AcyclicTest.html
+file path=var/php/5.6/pear/doc/Structures_Graph/docs/html/Structures_Graph/Structures_Graph_Manipulator_TopologicalSorter.html
+file path=var/php/5.6/pear/doc/Structures_Graph/docs/html/Structures_Graph/Structures_Graph_Node.html
+file path=var/php/5.6/pear/doc/Structures_Graph/docs/html/Structures_Graph/_Structures_Graph_Manipulator_AcyclicTest_php.html
+file path=var/php/5.6/pear/doc/Structures_Graph/docs/html/Structures_Graph/_Structures_Graph_Manipulator_TopologicalSorter_php.html
+file path=var/php/5.6/pear/doc/Structures_Graph/docs/html/Structures_Graph/_Structures_Graph_Node_php.html
+file path=var/php/5.6/pear/doc/Structures_Graph/docs/html/Structures_Graph/_Structures_Graph_php.html
+file path=var/php/5.6/pear/doc/Structures_Graph/docs/html/Structures_Graph/tutorial_Structures_Graph.pkg.html
+file path=var/php/5.6/pear/doc/Structures_Graph/docs/html/classtrees_Structures_Graph.html
+file path=var/php/5.6/pear/doc/Structures_Graph/docs/html/elementindex.html
+file path=var/php/5.6/pear/doc/Structures_Graph/docs/html/elementindex_Structures_Graph.html
+file path=var/php/5.6/pear/doc/Structures_Graph/docs/html/errors.html
+file path=var/php/5.6/pear/doc/Structures_Graph/docs/html/index.html
+file path=var/php/5.6/pear/doc/Structures_Graph/docs/html/li_Structures_Graph.html
+file path=var/php/5.6/pear/doc/Structures_Graph/docs/html/media/banner.css
+file path=var/php/5.6/pear/doc/Structures_Graph/docs/html/media/stylesheet.css
+file path=var/php/5.6/pear/doc/Structures_Graph/docs/html/packages.html
+file path=var/php/5.6/pear/doc/Structures_Graph/docs/html/todolist.html
+file path=var/php/5.6/pear/doc/Structures_Graph/docs/tutorials/Structures_Graph/Structures_Graph.pkg
+file path=var/php/5.6/pear/doc/XML_Util/examples/example.php
+file path=var/php/5.6/pear/doc/XML_Util/examples/example2.php
+file path=var/php/5.6/pear/pearcmd.php
+file path=var/php/5.6/pear/peclcmd.php
+file path=var/php/5.6/pear/test/Structures_Graph/tests/AllTests.php
+file path=var/php/5.6/pear/test/Structures_Graph/tests/testCase/BasicGraph.php
+file path=var/php/5.6/pear/test/XML_Util/tests/testBasic_apiVersion.phpt
+file path=var/php/5.6/pear/test/XML_Util/tests/testBasic_attributesToString.phpt
+file path=var/php/5.6/pear/test/XML_Util/tests/testBasic_collapseEmptyTags.phpt
+file path=var/php/5.6/pear/test/XML_Util/tests/testBasic_createCDataSection.phpt
+file path=var/php/5.6/pear/test/XML_Util/tests/testBasic_createComment.phpt
+file path=var/php/5.6/pear/test/XML_Util/tests/testBasic_createEndElement.phpt
+file path=var/php/5.6/pear/test/XML_Util/tests/testBasic_createStartElement.phpt
+file path=var/php/5.6/pear/test/XML_Util/tests/testBasic_createTag.phpt
+file path=var/php/5.6/pear/test/XML_Util/tests/testBasic_createTagFromArray.phpt
+file path=var/php/5.6/pear/test/XML_Util/tests/testBasic_getDocTypeDeclaration.phpt
+file path=var/php/5.6/pear/test/XML_Util/tests/testBasic_getXmlDeclaration.phpt
+file path=var/php/5.6/pear/test/XML_Util/tests/testBasic_isValidName.phpt
+file path=var/php/5.6/pear/test/XML_Util/tests/testBasic_raiseError.phpt
+file path=var/php/5.6/pear/test/XML_Util/tests/testBasic_replaceEntities.phpt
+file path=var/php/5.6/pear/test/XML_Util/tests/testBasic_reverseEntities.phpt
+file path=var/php/5.6/pear/test/XML_Util/tests/testBasic_splitQualifiedName.phpt
+file path=var/php/5.6/pear/test/XML_Util/tests/testBug_18343.phpt
+file path=var/php/5.6/pear/test/XML_Util/tests/testBug_4950.phpt
+file path=var/php/5.6/pear/test/XML_Util/tests/testBug_5392.phpt
+license php-568-licenses.txt license="PHP 5.6.8 licenses"
+depend type=require fmri=pkg:/web/php-common
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/php/php56/php-568-licenses.txt	Fri Jun 05 09:47:02 2015 -0700
@@ -0,0 +1,2892 @@
+-------------------------------------------------------------------- 
+                  The PHP License, version 3.01
+Copyright (c) 1999 - 2015 The PHP Group. All rights reserved.
+-------------------------------------------------------------------- 
+
+Redistribution and use in source and binary forms, with or without
+modification, is permitted provided that the following conditions
+are met:
+
+  1. Redistributions of source code must retain the above copyright
+     notice, this list of conditions and the following disclaimer.
+ 
+  2. Redistributions in binary form must reproduce the above copyright
+     notice, this list of conditions and the following disclaimer in
+     the documentation and/or other materials provided with the
+     distribution.
+ 
+  3. The name "PHP" must not be used to endorse or promote products
+     derived from this software without prior written permission. For
+     written permission, please contact [email protected]
+  
+  4. Products derived from this software may not be called "PHP", nor
+     may "PHP" appear in their name, without prior written permission
+     from [email protected]  You may indicate that your software works in
+     conjunction with PHP by saying "Foo for PHP" instead of calling
+     it "PHP Foo" or "phpfoo"
+ 
+  5. The PHP Group may publish revised and/or new versions of the
+     license from time to time. Each version will be given a
+     distinguishing version number.
+     Once covered code has been published under a particular version
+     of the license, you may always continue to use it under the terms
+     of that version. You may also choose to use such covered code
+     under the terms of any subsequent version of the license
+     published by the PHP Group. No one other than the PHP Group has
+     the right to modify the terms applicable to covered code created
+     under this License.
+
+  6. Redistributions of any form whatsoever must retain the following
+     acknowledgment:
+     "This product includes PHP software, freely available from
+     <http://www.php.net/software/>".
+
+THIS SOFTWARE IS PROVIDED BY THE PHP DEVELOPMENT TEAM ``AS IS'' AND 
+ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A 
+PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE PHP
+DEVELOPMENT TEAM OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 
+SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
+STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
+OF THE POSSIBILITY OF SUCH DAMAGE.
+
+-------------------------------------------------------------------- 
+
+This software consists of voluntary contributions made by many
+individuals on behalf of the PHP Group.
+
+The PHP Group can be contacted via Email at [email protected]
+
+For more information on the PHP Group and the PHP project, 
+please see <http://www.php.net>.
+
+PHP includes the Zend Engine, freely available at
+<http://www.zend.com>.
+
+
+
+files in:
+ext/bcmath/libbcmath/src/
+
+    Copyright (C) 1991, 1992, 1993, 1994, 1997 Free Software Foundation, Inc.
+    Copyright (C) 2000 Philip A. Nelson
+
+    This library is free software; you can redistribute it and/or
+    modify it under the terms of the GNU Lesser General Public
+    License as published by the Free Software Foundation; either
+    version 2 of the License, or (at your option) any later version.
+
+    This library is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+    Lesser General Public License for more details.  (COPYING.LIB)
+
+    You should have received a copy of the GNU Lesser General Public
+    License along with this library; if not, write to:
+
+      The Free Software Foundation, Inc.
+      59 Temple Place, Suite 330
+      Boston, MA 02111-1307 USA.
+
+    You may contact the author by:
+       e-mail:  [email protected]
+      us-mail:  Philip A. Nelson
+                Computer Science Department, 9062
+                Western Washington University
+                Bellingham, WA 98226-9062
+
+
+
+files:
+ext/calendar/dow.c
+ext/calendar/sdncal.h
+ext/calendar/jewish.c
+ext/calendar/french.c
+ext/calendar/julian.c
+ext/calendar/gregor.c
+
+ * Copyright 1993-1995, Scott E. Lee, all rights reserved.
+ * Permission granted to use, copy, modify, distribute and sell so long as
+ * the above copyright and this permission statement are retained in all
+ * copies.  THERE IS NO WARRANTY - USE AT YOUR OWN RISK.
+
+
+
+file:
+ext/ereg/regex/COPYRIGHT
+
+Copyright 1992, 1993, 1994 Henry Spencer.  All rights reserved.
+This software is not subject to any license of the American Telephone
+and Telegraph Company or of the Regents of the University of California.
+
+Permission is granted to anyone to use this software for any purpose on
+any computer system, and to alter it and redistribute it, subject
+to the following restrictions:
+
+1. The author is not responsible for the consequences of use of this
+   software, no matter how awful, even if they arise from flaws in it.
+
+2. The origin of this software must not be misrepresented, either by
+   explicit claim or by omission.  Since few users ever read sources,
+   credits must appear in the documentation.
+
+3. Altered versions must be plainly marked as such, and must not be
+   misrepresented as being the original software.  Since few users
+   ever read sources, credits must appear in the documentation.
+
+4. This notice may not be removed or altered.
+
+
+
+file:
+ext/fileinfo/libmagic/LICENSE
+
+Author: Christos Zoulas <[email protected]>
+Download: ftp://ftp.astron.com/pub/file/
+
+Files: *
+Copyright:
+ (C) 1985-1995 Ian F. Darwin
+ (C) 1994-2009 Christos Zoulas <[email protected]>
+License: BSD
+ This software is not subject to any export provision of the United States
+ Department of Commerce, and may be exported to any country or planet.
+ .
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+ .
+ 1. Redistributions of source code must retain the above copyright
+    notice immediately at the beginning of the file, without modification,
+    this list of conditions, and the following disclaimer.
+ .
+ 2. Redistributions in binary form must reproduce the above copyright
+    notice, this list of conditions and the following disclaimer in the
+    documentation and/or other materials provided with the distribution.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR
+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ SUCH DAMAGE.
+
+
+
+file:
+ext/fileinfo/tests/magic
+
+# Copyright (C) 2003 by Andrew Tridgell.  You may do whatever you want with
+# this file.
+
+# Copyright (C) 2001 by Martin Pool.  You may do whatever you want with
+# this file.
+
+# Copyright (c) 1996 Ignatios Souvatzis. All rights reserved.
+#
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions
+# are met:
+# 1. Redistributions of source code must retain the above copyright
+#    notice, this list of conditions and the following disclaimer.
+# 2. Redistributions in binary form must reproduce the above copyright
+#    notice, this list of conditions and the following disclaimer in the
+#    documentation and/or other materials provided with the distribution.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
+# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  
+# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+
+file:
+ext/filter/logical_filters.c
+
+         * Copyright © Michael Rushton 2009-10
+         * http://squiloople.com/
+         * Feel free to use and redistribute this code. But please keep this copyright notice.
+
+
+
+file:
+ext/gd/libgd/COPYING
+ 
+     Portions copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
+     2002 by Cold Spring Harbor Laboratory. Funded under Grant
+     P41-RR02188 by the National Institutes of Health. 
+
+     Portions copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002 by
+     Boutell.Com, Inc. 
+
+     Portions relating to GD2 format copyright 1999, 2000, 2001, 2002
+     Philip Warner.
+     
+     Portions relating to PNG copyright 1999, 2000, 2001, 2002 Greg
+     Roelofs. 
+
+     Portions relating to gdttf.c copyright 1999, 2000, 2001, 2002 John  
+     Ellson ([email protected]).
+   
+     Portions relating to gdft.c copyright 2001, 2002 John Ellson  
+     ([email protected]).  
+
+     Portions copyright 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
+		 2008, 2009 Pierre-Alain Joye ([email protected]).  
+
+     Portions relating to JPEG and to color quantization copyright 2000,
+     2001, 2002, Doug Becker and copyright (C) 1994, 1995, 1996, 1997,
+     1998, 1999, 2000, 2001, 2002, Thomas G. Lane. This software is
+     based in part on the work of the Independent JPEG Group. See the
+     file README-JPEG.TXT for more information.
+
+     Portions relating to WBMP copyright 2000, 2001, 2002 Maurice
+     Szmurlo and Johan Van den Brande.
+
+     Permission has been granted to copy, distribute and modify gd in
+     any context without fee, including a commercial application,
+     provided that this notice is present in user-accessible supporting
+     documentation.
+
+     This does not affect your ownership of the derived work itself, and 
+     the intent is to assure proper credit for the authors of gd, not to
+     interfere with your productive use of gd. If you have questions,
+     ask. "Derived works" includes all programs that utilize the   
+     library. Credit must be given in user-accessible documentation.
+
+     This software is provided "AS IS." The copyright holders disclaim  
+     all warranties, either express or implied, including but not
+     limited to implied warranties of merchantability and fitness for a
+     particular purpose, with respect to this code and accompanying  
+     documentation.
+
+     Although their code does not appear in gd, the authors wish to thank
+     David Koblas, David Rowley, and Hutchison Avenue Software Corporation
+     for their prior contributions.
+
+
+
+files:
+ext/gd/libgd/webpimg.c
+ext/gd/libgd/webpimg.h
+
+ - Copyright 2010 Google Inc.
+ -
+ - This code is licensed under the same terms as WebM:
+ - Software License Agreement:  http://www.webmproject.org/license/software/
+ - Additional IP Rights Grant:  http://www.webmproject.org/license/additional/
+
+
+
+retrieved from:
+http://www.webmproject.org/license/software/
+
+Software License
+
+Copyright (c) 2010, Google Inc. All rights reserved.
+
+Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
+
+    Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
+
+    Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
+
+    Neither the name of Google nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+
+retrieved from:
+http://www.webmproject.org/license/additional/
+
+Additional IP Rights Grant (Patents)
+
+"These implementations" means the copyrightable works that implement the WebM codecs distributed by Google as part of the WebM Project.
+
+Google hereby grants to you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, transfer, and otherwise run, modify and propagate the contents of these implementations of WebM, where such license applies only to those patent claims, both currently owned by Google and acquired in the future, licensable by Google that are necessarily infringed by these implementations of WebM. This grant does not include claims that would be infringed only as a consequence of further modification of these implementations. If you or your agent or exclusive licensee institute or order or agree to the institution of patent litigation or any other patent enforcement activity against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that any of these implementations of WebM or any code incorporated within any of these implementations of WebM constitutes direct or contributory patent infringement, or inducement of patent infringement, then any patent rights granted to you under this License for these implementations of WebM shall terminate as of the date such litigation is filed.
+
+
+
+file:
+file ext/gd/tests/Rochester-Regular.otf.LICENSE.txt
+
+                                 Apache License
+                           Version 2.0, January 2004
+                        http://www.apache.org/licenses/
+
+   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+   1. Definitions.
+
+      "License" shall mean the terms and conditions for use, reproduction,
+      and distribution as defined by Sections 1 through 9 of this document.
+
+      "Licensor" shall mean the copyright owner or entity authorized by
+      the copyright owner that is granting the License.
+
+      "Legal Entity" shall mean the union of the acting entity and all
+      other entities that control, are controlled by, or are under common
+      control with that entity. For the purposes of this definition,
+      "control" means (i) the power, direct or indirect, to cause the
+      direction or management of such entity, whether by contract or
+      otherwise, or (ii) ownership of fifty percent (50%) or more of the
+      outstanding shares, or (iii) beneficial ownership of such entity.
+
+      "You" (or "Your") shall mean an individual or Legal Entity
+      exercising permissions granted by this License.
+
+      "Source" form shall mean the preferred form for making modifications,
+      including but not limited to software source code, documentation
+      source, and configuration files.
+
+      "Object" form shall mean any form resulting from mechanical
+      transformation or translation of a Source form, including but
+      not limited to compiled object code, generated documentation,
+      and conversions to other media types.
+
+      "Work" shall mean the work of authorship, whether in Source or
+      Object form, made available under the License, as indicated by a
+      copyright notice that is included in or attached to the work
+      (an example is provided in the Appendix below).
+
+      "Derivative Works" shall mean any work, whether in Source or Object
+      form, that is based on (or derived from) the Work and for which the
+      editorial revisions, annotations, elaborations, or other modifications
+      represent, as a whole, an original work of authorship. For the purposes
+      of this License, Derivative Works shall not include works that remain
+      separable from, or merely link (or bind by name) to the interfaces of,
+      the Work and Derivative Works thereof.
+
+      "Contribution" shall mean any work of authorship, including
+      the original version of the Work and any modifications or additions
+      to that Work or Derivative Works thereof, that is intentionally
+      submitted to Licensor for inclusion in the Work by the copyright owner
+      or by an individual or Legal Entity authorized to submit on behalf of
+      the copyright owner. For the purposes of this definition, "submitted"
+      means any form of electronic, verbal, or written communication sent
+      to the Licensor or its representatives, including but not limited to
+      communication on electronic mailing lists, source code control systems,
+      and issue tracking systems that are managed by, or on behalf of, the
+      Licensor for the purpose of discussing and improving the Work, but
+      excluding communication that is conspicuously marked or otherwise
+      designated in writing by the copyright owner as "Not a Contribution."
+
+      "Contributor" shall mean Licensor and any individual or Legal Entity
+      on behalf of whom a Contribution has been received by Licensor and
+      subsequently incorporated within the Work.
+
+   2. Grant of Copyright License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      copyright license to reproduce, prepare Derivative Works of,
+      publicly display, publicly perform, sublicense, and distribute the
+      Work and such Derivative Works in Source or Object form.
+
+   3. Grant of Patent License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      (except as stated in this section) patent license to make, have made,
+      use, offer to sell, sell, import, and otherwise transfer the Work,
+      where such license applies only to those patent claims licensable
+      by such Contributor that are necessarily infringed by their
+      Contribution(s) alone or by combination of their Contribution(s)
+      with the Work to which such Contribution(s) was submitted. If You
+      institute patent litigation against any entity (including a
+      cross-claim or counterclaim in a lawsuit) alleging that the Work
+      or a Contribution incorporated within the Work constitutes direct
+      or contributory patent infringement, then any patent licenses
+      granted to You under this License for that Work shall terminate
+      as of the date such litigation is filed.
+
+   4. Redistribution. You may reproduce and distribute copies of the
+      Work or Derivative Works thereof in any medium, with or without
+      modifications, and in Source or Object form, provided that You
+      meet the following conditions:
+
+      (a) You must give any other recipients of the Work or
+          Derivative Works a copy of this License; and
+
+      (b) You must cause any modified files to carry prominent notices
+          stating that You changed the files; and
+
+      (c) You must retain, in the Source form of any Derivative Works
+          that You distribute, all copyright, patent, trademark, and
+          attribution notices from the Source form of the Work,
+          excluding those notices that do not pertain to any part of
+          the Derivative Works; and
+
+      (d) If the Work includes a "NOTICE" text file as part of its
+          distribution, then any Derivative Works that You distribute must
+          include a readable copy of the attribution notices contained
+          within such NOTICE file, excluding those notices that do not
+          pertain to any part of the Derivative Works, in at least one
+          of the following places: within a NOTICE text file distributed
+          as part of the Derivative Works; within the Source form or
+          documentation, if provided along with the Derivative Works; or,
+          within a display generated by the Derivative Works, if and
+          wherever such third-party notices normally appear. The contents
+          of the NOTICE file are for informational purposes only and
+          do not modify the License. You may add Your own attribution
+          notices within Derivative Works that You distribute, alongside
+          or as an addendum to the NOTICE text from the Work, provided
+          that such additional attribution notices cannot be construed
+          as modifying the License.
+
+      You may add Your own copyright statement to Your modifications and
+      may provide additional or different license terms and conditions
+      for use, reproduction, or distribution of Your modifications, or
+      for any such Derivative Works as a whole, provided Your use,
+      reproduction, and distribution of the Work otherwise complies with
+      the conditions stated in this License.
+
+   5. Submission of Contributions. Unless You explicitly state otherwise,
+      any Contribution intentionally submitted for inclusion in the Work
+      by You to the Licensor shall be under the terms and conditions of
+      this License, without any additional terms or conditions.
+      Notwithstanding the above, nothing herein shall supersede or modify
+      the terms of any separate license agreement you may have executed
+      with Licensor regarding such Contributions.
+
+   6. Trademarks. This License does not grant permission to use the trade
+      names, trademarks, service marks, or product names of the Licensor,
+      except as required for reasonable and customary use in describing the
+      origin of the Work and reproducing the content of the NOTICE file.
+
+   7. Disclaimer of Warranty. Unless required by applicable law or
+      agreed to in writing, Licensor provides the Work (and each
+      Contributor provides its Contributions) on an "AS IS" BASIS,
+      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+      implied, including, without limitation, any warranties or conditions
+      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+      PARTICULAR PURPOSE. You are solely responsible for determining the
+      appropriateness of using or redistributing the Work and assume any
+      risks associated with Your exercise of permissions under this License.
+
+   8. Limitation of Liability. In no event and under no legal theory,
+      whether in tort (including negligence), contract, or otherwise,
+      unless required by applicable law (such as deliberate and grossly
+      negligent acts) or agreed to in writing, shall any Contributor be
+      liable to You for damages, including any direct, indirect, special,
+      incidental, or consequential damages of any character arising as a
+      result of this License or out of the use or inability to use the
+      Work (including but not limited to damages for loss of goodwill,
+      work stoppage, computer failure or malfunction, or any and all
+      other commercial damages or losses), even if such Contributor
+      has been advised of the possibility of such damages.
+
+   9. Accepting Warranty or Additional Liability. While redistributing
+      the Work or Derivative Works thereof, You may choose to offer,
+      and charge a fee for, acceptance of support, warranty, indemnity,
+      or other liability obligations and/or rights consistent with this
+      License. However, in accepting such obligations, You may act only
+      on Your own behalf and on Your sole responsibility, not on behalf
+      of any other Contributor, and only if You agree to indemnify,
+      defend, and hold each Contributor harmless for any liability
+      incurred by, or claims asserted against, such Contributor by reason
+      of your accepting any such warranty or additional liability.
+
+   END OF TERMS AND CONDITIONS
+
+   APPENDIX: How to apply the Apache License to your work.
+
+      To apply the Apache License to your work, attach the following
+      boilerplate notice, with the fields enclosed by brackets "[]"
+      replaced with your own identifying information. (Don't include
+      the brackets!)  The text should be enclosed in the appropriate
+      comment syntax for the file format. We also recommend that a
+      file or class name and description of purpose be included on the
+      same "printed page" as the copyright notice for easier
+      identification within third-party archives.
+
+   Copyright [yyyy] [name of copyright owner]
+
+   Licensed under the Apache License, Version 2.0 (the "License");
+   you may not use this file except in compliance with the License.
+   You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+
+
+
+files:
+ext/hash/hash_md.c
+ext/hash/php_hash_md.h
+
+/* Copyright (C) 1991-2, RSA Data Security, Inc. Created 1991. All
+   rights reserved.
+
+   License to copy and use this software is granted provided that it
+   is identified as the "RSA Data Security, Inc. MD5 Message-Digest
+   Algorithm" in all material mentioning or referencing this software
+   or this function.
+
+   License is also granted to make and use derivative works provided
+   that such works are identified as "derived from the RSA Data
+   Security, Inc. MD5 Message-Digest Algorithm" in all material
+   mentioning or referencing the derived work.
+
+   RSA Data Security, Inc. makes no representations concerning either
+   the merchantability of this software or the suitability of this
+   software for any particular purpose. It is provided "as is"
+   without express or implied warranty of any kind.
+
+   These notices must be retained in any copies of any part of this
+   documentation and/or software.
+
+
+
+files:
+ext/json/JSON_parser.c
+ext/json/utf8_decode.c
+
+Copyright (c) 2005 JSON.org
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+The Software shall be used for Good, not Evil.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+
+
+
+file:
+ext/mbstring/libmbfl/DISCLAIMER
+
+ "streamable kanji code filter and converter"
+
+ Copyright (c) 1998,1999,2000,2001 HappySize, Inc. All rights reserved.
+
+ This software is released under the GNU Lesser General Public License.
+ (Version 2.1, February 1999)
+ Please read the following detail of the licence (in japanese).
+
+ ◆使用許諾条件◆
+
+ このソフトウェアは株式会社ハッピーサイズによって開発されました。株式会社ハッ
+ ピーサイズは、著作権法および万国著作権条約の定めにより、このソフトウェアに関
+ するすべての権利を留保する権利を持ち、ここに行使します。株式会社ハッピーサイ
+ ズは以下に明記した条件に従って、このソフトウェアを使用する排他的ではない権利
+ をお客様に許諾します。何人たりとも、以下の条件に反してこのソフトウェアを使用
+ することはできません。
+
+ このソフトウェアを「GNU Lesser General Public License (Version 2.1, February
+ 1999)」に示された条件で使用することを、全ての方に許諾します。「GNU Lesser
+ General Public License」を満たさない使用には、株式会社ハッピーサイズから書面
+ による許諾を得る必要があります。
+
+ 「GNU Lesser General Public License」の全文は以下のウェブページから取得でき
+ ます。「GNU Lesser General Public License」とは、これまでLibrary General
+ Public Licenseと呼ばれていたものです。
+     http://www.gnu.org/ --- GNUウェブサイト
+     http://www.gnu.org/copyleft/lesser.html --- ライセンス文面
+ このライセンスの内容がわからない方、守れない方には使用を許諾しません。
+
+ しかしながら、当社とGNUプロジェクトとの特定の関係を示唆または主張するもので
+ はありません。
+
+ ◆保証内容◆
+
+ このソフトウェアは、期待された動作・機能・性能を持つことを目標として設計され
+ 開発されていますが、これを保証するものではありません。このソフトウェアは「こ
+ のまま」の状態で提供されており、たとえばこのソフトウェアの有用性ないし特定の
+ 目的に合致することといった、何らかの保証内容が、明示されたり暗黙に示されてい
+ る場合であっても、その保証は無効です。このソフトウェアを使用した結果ないし使
+ 用しなかった結果によって、直接あるいは間接に受けた身体的な傷害、財産上の損害
+ 、データの損失あるいはその他の全ての損害については、その損害の可能性が使用者
+ 、当社あるいは第三者によって警告されていた場合であっても、当社はその損害の賠
+ 償および補填を行いません。この規定は他の全ての、書面上または書面に無い保証・
+ 契約・規定に優先します。
+
+ ◆著作権者の連絡先および使用条件についての問い合わせ先◆
+
+ 〒102-0073
+ 東京都千代田区九段北1-13-5日本地所第一ビル4F
+ 株式会社ハッピーサイズ
+ Phone: 03-3512-3655, Fax: 03-3512-3656
+ Email: [email protected]
+ Web: http://happysize.com/
+
+ ◆著者◆
+
+ 金本 茂 <[email protected]>
+
+ ◆履歴◆
+
+ 1998/11/10 sgk implementation in C++
+ 1999/4/25  sgk Cで書きなおし。
+ 1999/4/26  sgk 入力フィルタを実装。漢字コードを推定しながらフィルタを追加。
+ 1999/6/??      Unicodeサポート。
+ 1999/6/22  sgk ライセンスをLGPLに変更。
+
+
+
+file:
+ext/mbstring/oniguruma/COPYING
+
+Oniguruma LICENSE
+-----------------
+
+/*-
+ * Copyright (c) 2002-2007  K.Kosako  <sndgk393 AT ybb DOT ne DOT jp>
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ */
+
+
+
+file:
+ext/mbstring/oniguruma/enc/cp1251.c
+
+ * Copyright (c) 2006-2007  Byte      <byte AT mail DOT kna DOT ru>
+ *                          K.Kosako  <sndgk393 AT ybb DOT ne DOT jp>
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+
+
+
+file:
+ext/mbstring/oniguruma/enc/gb18030.c
+
+ * Copyright (c) 2005-2007  KUBO Takehiro <kubo AT jiubao DOT org>
+ *                          K.Kosako <sndgk393 AT ybb DOT ne DOT jp>
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+
+
+
+files:
+ext/mbstring/php_unicode.h
+ext/mbstring/php_unicode.c
+
+        Based on code from ucdata-2.5, which has the following Copyright:
+   
+        Copyright 2001 Computing Research Labs, New Mexico State University
+ 
+        Permission is hereby granted, free of charge, to any person obtaining a
+        copy of this software and associated documentation files (the "Software"),
+        to deal in the Software without restriction, including without limitation
+        the rights to use, copy, modify, merge, publish, distribute, sublicense,
+        and/or sell copies of the Software, and to permit persons to whom the
+        Software is furnished to do so, subject to the following conditions:
+ 
+        The above copyright notice and this permission notice shall be included in
+        all copies or substantial portions of the Software.
+
+
+
+file:
+ext/mbstring/ucgendat/OPENLDAP_LICENSE
+
+The OpenLDAP Public License
+  Version 2.8, 17 August 2003
+
+Redistribution and use of this software and associated documentation
+("Software"), with or without modification, are permitted provided
+that the following conditions are met:
+
+1. Redistributions in source form must retain copyright statements
+   and notices,
+
+2. Redistributions in binary form must reproduce applicable copyright
+   statements and notices, this list of conditions, and the following
+   disclaimer in the documentation and/or other materials provided
+   with the distribution, and
+
+3. Redistributions must contain a verbatim copy of this document.
+
+The OpenLDAP Foundation may revise this license from time to time.
+Each revision is distinguished by a version number.  You may use
+this Software under terms of this license revision or under the
+terms of any subsequent revision of the license.
+
+THIS SOFTWARE IS PROVIDED BY THE OPENLDAP FOUNDATION AND ITS
+CONTRIBUTORS ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
+INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
+AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT
+SHALL THE OPENLDAP FOUNDATION, ITS CONTRIBUTORS, OR THE AUTHOR(S)
+OR OWNER(S) OF THE SOFTWARE BE LIABLE FOR ANY DIRECT, INDIRECT,
+INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
+CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
+ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGE.
+
+The names of the authors and copyright holders must not be used in
+advertising or otherwise to promote the sale, use or other dealing
+in this Software without specific, written prior permission.  Title
+to copyright in this Software shall at all times remain with copyright
+holders.
+
+OpenLDAP is a registered trademark of the OpenLDAP Foundation.
+
+Copyright 1999-2003 The OpenLDAP Foundation, Redwood City,
+California, USA.  All Rights Reserved.  Permission to copy and
+distribute verbatim copies of this document is granted.
+
+
+
+files:
+ext/mysqlnd/mysqlnd_portability.h
+ext/mysqlnd/config-win.h
+
+/* Copyright Abandoned 1996 TCX DataKonsult AB & Monty Program KB & Detron HB 
+This file is public domain and comes with NO WARRANTY of any kind */
+
+
+
+file ext/phar/tar.c
+
+ * Copyright (c) 2003-2009 Tim Kientzle
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR(S) ``AS IS'' AND ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+ * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+ * IN NO EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY DIRECT, INDIRECT,
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
+ * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+
+file:
+ext/opcache/zend_accelerator_util_funcs.c
+
+ * zend_adler32() is based on zlib implementation
+ * Computes the Adler-32 checksum of a data stream
+ *
+ * Copyright (C) 1995-2005 Mark Adler
+ * For conditions of distribution and use, see copyright notice in zlib.h
+ *
+ * Copyright (C) 1995-2005 Jean-loup Gailly and Mark Adler
+ *
+ *  This software is provided 'as-is', without any express or implied
+ *  warranty.  In no event will the authors be held liable for any damages
+ *  arising from the use of this software.
+ *
+ *  Permission is granted to anyone to use this software for any purpose,
+ *  including commercial applications, and to alter it and redistribute it
+ *  freely, subject to the following restrictions:
+ *
+ *  1. The origin of this software must not be misrepresented; you must not
+ *     claim that you wrote the original software. If you use this software
+ *     in a product, an acknowledgment in the product documentation would be
+ *     appreciated but is not required.
+ *  2. Altered source versions must be plainly marked as such, and must not be
+ *     misrepresented as being the original software.
+ *  3. This notice may not be removed or altered from any source distribution.
+
+
+
+file:
+ext/pcre/pcrelib/LICENCE
+
+PCRE LICENCE
+------------
+
+PCRE is a library of functions to support regular expressions whose syntax
+and semantics are as close as possible to those of the Perl 5 language.
+
+Release 8 of PCRE is distributed under the terms of the "BSD" licence, as
+specified below. The documentation for PCRE, supplied in the "doc"
+directory, is distributed under the same terms as the software itself.
+
+The basic library functions are written in C and are freestanding. Also
+included in the distribution is a set of C++ wrapper functions, and a
+just-in-time compiler that can be used to optimize pattern matching. These
+are both optional features that can be omitted when the library is built.
+
+
+THE BASIC LIBRARY FUNCTIONS
+---------------------------
+
+Written by:       Philip Hazel
+Email local part: ph10
+Email domain:     cam.ac.uk
+
+University of Cambridge Computing Service,
+Cambridge, England.
+
+Copyright (c) 1997-2013 University of Cambridge
+All rights reserved.
+
+
+PCRE JUST-IN-TIME COMPILATION SUPPORT
+-------------------------------------
+
+Written by:       Zoltan Herczeg
+Email local part: hzmester
+Emain domain:     freemail.hu
+
+Copyright(c) 2010-2013 Zoltan Herczeg
+All rights reserved.
+
+
+STACK-LESS JUST-IN-TIME COMPILER
+--------------------------------
+
+Written by:       Zoltan Herczeg
+Email local part: hzmester
+Emain domain:     freemail.hu
+
+Copyright(c) 2009-2013 Zoltan Herczeg
+All rights reserved.
+
+
+THE C++ WRAPPER FUNCTIONS
+-------------------------
+
+Contributed by:   Google Inc.
+
+Copyright (c) 2007-2012, Google Inc.
+All rights reserved.
+
+
+THE "BSD" LICENCE
+-----------------
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+    * Redistributions of source code must retain the above copyright notice,
+      this list of conditions and the following disclaimer.
+
+    * Redistributions in binary form must reproduce the above copyright
+      notice, this list of conditions and the following disclaimer in the
+      documentation and/or other materials provided with the distribution.
+
+    * Neither the name of the University of Cambridge nor the name of Google
+      Inc. nor the names of their contributors may be used to endorse or
+      promote products derived from this software without specific prior
+      written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGE.
+
+End
+
+
+
+files:
+ext/phar/tests/tar/files/corrupt_tarmaker.php.inc
+ext/phar/tests/tar/files/make.dangerous.tar.php.inc
+ext/phar/tests/tar/files/tarmaker.php.inc
+
+     * This code is modified from Vincent Lascaux's File_Archive
+     * package, which is licensed under the LGPL license.
+
+
+
+file:
+ext/phar/tests/zip/files/corrupt_zipmaker.php.inc
+
+// this corrupt zip maker uses portions of Vincent Lascaux's File_Archive to create
+// specifically corrupted zip archives for unit-testing zip support in the phar extension
+// and was modified by Greg Beaver
+/**
+ * ZIP archive writer
+ *
+ * PHP versions 4 and 5
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330,Boston,MA 02111-1307 USA
+ *
+ * @category   File Formats
+ * @package    File_Archive
+ * @author     Vincent Lascaux <[email protected]>
+ * @copyright  1997-2005 The PHP Group
+ * @license    http://www.gnu.org/copyleft/lesser.html  LGPL
+ * @version    CVS: $Id$
+ * @link       http://pear.php.net/package/File_Archive
+
+
+
+file:
+ext/phar/zip.c
+
+  zip_dirent.c -- read directory entry (local or central), clean dirent
+  Copyright (C) 1999, 2003, 2004, 2005 Dieter Baron and Thomas Klausner
+
+  This function is part of libzip, a library to manipulate ZIP archives.
+  The authors can be contacted at <[email protected]>
+
+  Redistribution and use in source and binary forms, with or without
+  modification, are permitted provided that the following conditions
+  are met:
+  1. Redistributions of source code must retain the above copyright
+     notice, this list of conditions and the following disclaimer.
+  2. Redistributions in binary form must reproduce the above copyright
+     notice, this list of conditions and the following disclaimer in
+     the documentation and/or other materials provided with the
+     distribution.
+  3. The names of the authors may not be used to endorse or promote
+     products derived from this software without specific prior
+     written permission.
+
+  THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS
+  OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+  WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+  ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY
+  DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+  DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
+  GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+  INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
+  IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+  OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
+  IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+
+file:
+ext/standard/crypt_blowfish.c
+
+ * The crypt_blowfish homepage is:
+ *
+ *	http://www.openwall.com/crypt/
+ *
+ * This code comes from John the Ripper password cracker, with reentrant
+ * and crypt(3) interfaces added, but optimizations specific to password
+ * cracking removed.
+ *
+ * Written by Solar Designer <solar at openwall.com> in 1998-2015.
+ * No copyright is claimed, and the software is hereby placed in the public
+ * domain. In case this attempt to disclaim copyright and place the software
+ * in the public domain is deemed null and void, then the software is
+ * Copyright (c) 1998-2015 Solar Designer and it is hereby released to the
+ * general public under the following terms:
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted.
+ *
+ * There's ABSOLUTELY NO WARRANTY, express or implied.
+ *
+ * It is my intent that you should be able to use this on your system,
+ * as part of a software package, or anywhere else to improve security,
+ * ensure compatibility, or for any other purpose. I would appreciate
+ * it if you give credit where it is due and keep your modifications in
+ * the public domain as well, but I don't require that in order to let
+ * you place this code and any modifications you make under a license
+ * of your choice.
+
+
+
+file:
+ext/standard/crypt_freesec.c
+
+ * FreeSec: libcrypt for NetBSD
+ *
+ * Copyright (c) 1994 David Burren
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ * 3. Neither the name of the author nor the names of other contributors
+ *    may be used to endorse or promote products derived from this software
+ *    without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+
+
+
+files:
+ext/standard/html_tables/mappings/8859-1.TXT
+ext/standard/html_tables/mappings/8859-5.TXT
+ext/standard/html_tables/mappings/KOI8-R.TXT
+ext/standard/html_tables/mappings/8859-15.TXT
+
+#       Copyright (c) 1991-1999 Unicode, Inc.  All Rights reserved.
+#
+#       This file is provided as-is by Unicode, Inc. (The Unicode Consortium).
+#       No claims are made as to fitness for any particular purpose.  No
+#       warranties of any kind are expressed or implied.  The recipient
+#       agrees to determine applicability of information provided.  If this
+#       file has been provided on optical media by Unicode, Inc., the sole
+#       remedy for any claim will be exchange of defective media within 90
+#       days of receipt.
+#
+#       Unicode, Inc. hereby grants the right to freely use the information
+#       supplied in this file in the creation of products supporting the
+#       Unicode Standard, and to make copies of this file in any form for
+#       internal or external distribution as long as this notice remains
+#       attached.
+
+
+
+file:
+ext/standard/html_tables/mappings/ROMAN.TXT
+
+#   Copyright:  (c) 1994-2002, 2005 by Apple Computer, Inc., all rights
+#               reserved.
+
+#   Apple, the Apple logo, and Macintosh are trademarks of Apple
+#   Computer, Inc., registered in the United States and other countries.
+#   Unicode is a trademark of Unicode Inc. For the sake of brevity,
+#   throughout this document, "Macintosh" can be used to refer to
+#   Macintosh computers and "Unicode" can be used to refer to the
+#   Unicode standard.
+#
+#   Apple Computer, Inc. ("Apple") makes no warranty or representation,
+#   either express or implied, with respect to this document and the
+#   included data, its quality, accuracy, or fitness for a particular
+#   purpose. In no event will Apple be liable for direct, indirect,
+#   special, incidental, or consequential damages resulting from any
+#   defect or inaccuracy in this document or the included data.
+#
+#   These mapping tables and character lists are subject to change.
+#   The latest tables should be available from the following:
+#
+#   <http://www.unicode.org/Public/MAPPINGS/VENDORS/APPLE/>
+
+
+
+retrieved from http://www.unicode.org/copyright.html, included here with respect to file ext/standard/html_tables/mappings/ROMAN.TXT:
+
+UNICODE, INC. LICENSE AGREEMENT - DATA FILES AND SOFTWARE
+
+Unicode Data Files include all data files under the directories http://www.unicode.org/Public/, http://www.unicode.org/reports/, and http://www.unicode.org/cldr/data/. Unicode Data Files do not include PDF online code charts under the directory http://www.unicode.org/Public/. Software includes any source code published in the Unicode Standard or under the directories http://www.unicode.org/Public/, http://www.unicode.org/reports/, and http://www.unicode.org/cldr/data/.
+
+NOTICE TO USER: Carefully read the following legal agreement. BY DOWNLOADING, INSTALLING, COPYING OR OTHERWISE USING UNICODE INC.'S DATA FILES ("DATA FILES"), AND/OR SOFTWARE ("SOFTWARE"), YOU UNEQUIVOCALLY ACCEPT, AND AGREE TO BE BOUND BY, ALL OF THE TERMS AND CONDITIONS OF THIS AGREEMENT. IF YOU DO NOT AGREE, DO NOT DOWNLOAD, INSTALL, COPY, DISTRIBUTE OR USE THE DATA FILES OR SOFTWARE.
+
+COPYRIGHT AND PERMISSION NOTICE
+
+Copyright © 1991-2015 Unicode, Inc. All rights reserved.
+Distributed under the Terms of Use in 
+http://www.unicode.org/copyright.html.
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of the Unicode data files and any associated documentation
+(the "Data Files") or Unicode software and any associated documentation
+(the "Software") to deal in the Data Files or Software
+without restriction, including without limitation the rights to use,
+copy, modify, merge, publish, distribute, and/or sell copies of
+the Data Files or Software, and to permit persons to whom the Data Files
+or Software are furnished to do so, provided that
+(a) this copyright and permission notice appear with all copies 
+of the Data Files or Software,
+(b) this copyright and permission notice appear in associated 
+documentation, and
+(c) there is clear notice in each modified Data File or in the Software
+as well as in the documentation associated with the Data File(s) or
+Software that the data or software has been modified.
+
+THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF
+ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
+WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT OF THIRD PARTY RIGHTS.
+IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS
+NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL
+DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
+DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
+TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
+PERFORMANCE OF THE DATA FILES OR SOFTWARE.
+
+Except as contained in this notice, the name of a copyright holder
+shall not be used in advertising or otherwise to promote the sale,
+use or other dealings in these Data Files or Software without prior
+written authorization of the copyright holder.
+
+
+
+file:
+ext/standard/php_crypt_r.c
+
+ * License for the Unix md5crypt implementation (md5_crypt):
+ *
+ * ----------------------------------------------------------------------------
+ * "THE BEER-WARE LICENSE" (Revision 42):
+ * <[email protected]> wrote this file.  As long as you retain this notice you
+ * can do whatever you want with this stuff. If we meet some day, and you think
+ * this stuff is worth it, you can buy me a beer in return.   Poul-Henning Kamp
+ * ----------------------------------------------------------------------------
+
+
+
+file:
+ext/standard/rand.c
+
+        Copyright (C) 1997 - 2002, Makoto Matsumoto and Takuji Nishimura,
+        Copyright (C) 2000 - 2003, Richard J. Wagner
+        All rights reserved.                          
+
+        Redistribution and use in source and binary forms, with or without
+        modification, are permitted provided that the following conditions
+        are met:
+
+        1. Redistributions of source code must retain the above copyright
+           notice, this list of conditions and the following disclaimer.
+
+        2. Redistributions in binary form must reproduce the above copyright
+           notice, this list of conditions and the following disclaimer in the
+           documentation and/or other materials provided with the distribution.
+
+        3. The names of its contributors may not be used to endorse or promote 
+           products derived from this software without specific prior written 
+           permission.
+
+        THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+        "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+        LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+        A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+        CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+        EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+        PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+        PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+        LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+        NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+        SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+
+file:
+ext/standard/scanf.c
+
+        This file contains the base code which implements sscanf and by extension
+        fscanf. Original code is from TCL8.3.0 and bears the following copyright:
+
+        This software is copyrighted by the Regents of the University of
+        California, Sun Microsystems, Inc., Scriptics Corporation,
+        and other parties.  The following terms apply to all files associated
+        with the software unless explicitly disclaimed in individual files.
+
+        The authors hereby grant permission to use, copy, modify, distribute,
+        and license this software and its documentation for any purpose, provided
+        that existing copyright notices are retained in all copies and that this
+        notice is included verbatim in any distributions. No written agreement,
+        license, or royalty fee is required for any of the authorized uses.
+        Modifications to this software may be copyrighted by their authors
+        and need not follow the licensing terms described here, provided that
+        the new terms are clearly indicated on the first page of each file where
+        they apply.
+
+        IN NO EVENT SHALL THE AUTHORS OR DISTRIBUTORS BE LIABLE TO ANY PARTY
+        FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
+        ARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY
+        DERIVATIVES THEREOF, EVEN IF THE AUTHORS HAVE BEEN ADVISED OF THE
+        POSSIBILITY OF SUCH DAMAGE.
+
+        THE AUTHORS AND DISTRIBUTORS SPECIFICALLY DISCLAIM ANY WARRANTIES,
+        INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY,
+        FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT.  THIS SOFTWARE
+        IS PROVIDED ON AN "AS IS" BASIS, AND THE AUTHORS AND DISTRIBUTORS HAVE
+        NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR
+        MODIFICATIONS.
+
+        GOVERNMENT USE: If you are acquiring this software on behalf of the
+        U.S. government, the Government shall have only "Restricted Rights"
+        in the software and related documentation as defined in the Federal
+        Acquisition Regulations (FARs) in Clause 52.227.19 (c) (2).  If you
+        are acquiring the software on behalf of the Department of Defense, the
+        software shall be classified as "Commercial Computer Software" and the
+        Government shall have only "Restricted Rights" as defined in Clause
+        252.227-7013 (c) (1) of DFARs.  Notwithstanding the foregoing, the
+        authors grant the U.S. Government and others acting in its behalf
+        permission to use and distribute the software in accordance with the
+        terms specified in this license.
+
+
+
+file:
+ext/standard/uuencode.c
+
+ * Portions of this code are based on Berkeley's uuencode/uudecode
+ * implementation.
+ *
+ * Copyright (c) 1983, 1993
+ *  The Regents of the University of California.  All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ * 3. All advertising materials mentioning features or use of this software
+ *    must display the following acknowledgement:
+ *  This product includes software developed by the University of
+ *  California, Berkeley and its contributors.
+ * 4. Neither the name of the University nor the names of its contributors
+ *    may be used to endorse or promote products derived from this software
+ *    without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+
+
+
+files:
+ext/sqlite3/libsqlite/sqlite3ext.h
+ext/sqlite3/libsqlite/sqlite3.c
+ext/sqlite3/libsqlite/sqlite3.h
+
+** The author disclaims copyright to this source code.  In place of
+** a legal notice, here is a blessing:
+**
+**    May you do good and not evil.
+**    May you find forgiveness for yourself and forgive others.
+**    May you share freely, never taking more than you give.
+
+
+
+files:
+ext/xmlrpc/libxmlrpc/xml_to_xmlrpc.c
+ext/xmlrpc/libxmlrpc/xmlrpc_introspection.h
+ext/xmlrpc/libxmlrpc/simplestring.h
+ext/xmlrpc/libxmlrpc/xml_element.c
+ext/xmlrpc/libxmlrpc/encodings.h
+ext/xmlrpc/libxmlrpc/xml_to_soap.h
+ext/xmlrpc/libxmlrpc/xmlrpc_private.h
+ext/xmlrpc/libxmlrpc/xml_to_dandarpc.c
+ext/xmlrpc/libxmlrpc/xmlrpc.h
+ext/xmlrpc/libxmlrpc/encodings.c
+ext/xmlrpc/libxmlrpc/xml_element.h
+ext/xmlrpc/libxmlrpc/xml_to_xmlrpc.h
+ext/xmlrpc/libxmlrpc/simplestring.c
+ext/xmlrpc/libxmlrpc/xmlrpc.c
+ext/xmlrpc/libxmlrpc/xml_to_dandarpc.h
+
+  Copyright 2000 Epinions, Inc. 
+
+  Subject to the following 3 conditions, Epinions, Inc.  permits you, free 
+  of charge, to (a) use, copy, distribute, modify, perform and display this 
+  software and associated documentation files (the "Software"), and (b) 
+  permit others to whom the Software is furnished to do so as well.  
+
+  1) The above copyright notice and this permission notice shall be included 
+  without modification in all copies or substantial portions of the 
+  Software.  
+
+  2) THE SOFTWARE IS PROVIDED "AS IS", WITHOUT ANY WARRANTY OR CONDITION OF 
+  ANY KIND, EXPRESS, IMPLIED OR STATUTORY, INCLUDING WITHOUT LIMITATION ANY 
+  IMPLIED WARRANTIES OF ACCURACY, MERCHANTABILITY, FITNESS FOR A PARTICULAR 
+  PURPOSE OR NONINFRINGEMENT.  
+
+  3) IN NO EVENT SHALL EPINIONS, INC. BE LIABLE FOR ANY DIRECT, INDIRECT, 
+  SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES OR LOST PROFITS ARISING OUT 
+  OF OR IN CONNECTION WITH THE SOFTWARE (HOWEVER ARISING, INCLUDING 
+  NEGLIGENCE), EVEN IF EPINIONS, INC.  IS AWARE OF THE POSSIBILITY OF SUCH 
+  DAMAGES.    
+
+
+
+files:
+ext/xmlrpc/php_xmlrpc.h
+ext/xmlrpc/libxmlrpc/system_methods.c
+ext/xmlrpc/libxmlrpc/xmlrpc_introspection.c
+ext/xmlrpc/xmlrpc-epi-php.c
+
+  Copyright 2001 Epinions, Inc. 
+
+  Subject to the following 3 conditions, Epinions, Inc.  permits you, free 
+  of charge, to (a) use, copy, distribute, modify, perform and display this 
+  software and associated documentation files (the "Software"), and (b) 
+  permit others to whom the Software is furnished to do so as well.  
+
+  1) The above copyright notice and this permission notice shall be included 
+  without modification in all copies or substantial portions of the 
+  Software.  
+
+  2) THE SOFTWARE IS PROVIDED "AS IS", WITHOUT ANY WARRANTY OR CONDITION OF 
+  ANY KIND, EXPRESS, IMPLIED OR STATUTORY, INCLUDING WITHOUT LIMITATION ANY 
+  IMPLIED WARRANTIES OF ACCURACY, MERCHANTABILITY, FITNESS FOR A PARTICULAR 
+  PURPOSE OR NONINFRINGEMENT.  
+
+  3) IN NO EVENT SHALL EPINIONS, INC. BE LIABLE FOR ANY DIRECT, INDIRECT, 
+  SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES OR LOST PROFITS ARISING OUT 
+  OF OR IN CONNECTION WITH THE SOFTWARE (HOWEVER ARISING, INCLUDING 
+  NEGLIGENCE), EVEN IF EPINIONS, INC.  IS AWARE OF THE POSSIBILITY OF SUCH 
+  DAMAGES.    
+
+
+
+files:
+ext/xmlrpc/libxmlrpc/system_methods_private.h
+ext/xmlrpc/libxmlrpc/xmlrpc_introspection_private.h
+
+  Copyright 2001 Dan Libby, Epinions, Inc. 
+
+  Subject to the following 3 conditions, Epinions, Inc.  permits you, free 
+  of charge, to (a) use, copy, distribute, modify, perform and display this 
+  software and associated documentation files (the "Software"), and (b) 
+  permit others to whom the Software is furnished to do so as well.  
+
+  1) The above copyright notice and this permission notice shall be included 
+  without modification in all copies or substantial portions of the 
+  Software.  
+
+  2) THE SOFTWARE IS PROVIDED "AS IS", WITHOUT ANY WARRANTY OR CONDITION OF 
+  ANY KIND, EXPRESS, IMPLIED OR STATUTORY, INCLUDING WITHOUT LIMITATION ANY 
+  IMPLIED WARRANTIES OF ACCURACY, MERCHANTABILITY, FITNESS FOR A PARTICULAR 
+  PURPOSE OR NONINFRINGEMENT.  
+
+  3) IN NO EVENT SHALL EPINIONS, INC. BE LIABLE FOR ANY DIRECT, INDIRECT, 
+  SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES OR LOST PROFITS ARISING OUT 
+  OF OR IN CONNECTION WITH THE SOFTWARE (HOWEVER ARISING, INCLUDING 
+  NEGLIGENCE), EVEN IF EPINIONS, INC.  IS AWARE OF THE POSSIBILITY OF SUCH 
+  DAMAGES.    
+
+
+
+file:
+ext/zip/LICENSE_libzip
+
+Copyright (C) 1999-2008 Dieter Baron and Thomas Klausner
+The authors can be contacted at <[email protected]>
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. Redistributions of source code must retain the above copyright
+   notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+   notice, this list of conditions and the following disclaimer in
+   the documentation and/or other materials provided with the
+   distribution.
+3. The names of the authors may not be used to endorse or promote
+   products derived from this software without specific prior
+   written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS
+OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY
+DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
+GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
+IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
+IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+
+file:
+ext/zip/lib/mkstemp.c
+
+ * Copyright (c) 1987, 1993
+ *      The Regents of the University of California.  All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ * 3. Neither the name of the University nor the names of its contributors
+ *    may be used to endorse or promote products derived from this software
+ *    without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+
+
+
+file:
+main/mergesort.c
+
+ * Copyright (c) 1992, 1993
+ *      The Regents of the University of California.  All rights reserved.
+ *
+ * This code is derived from software contributed to Berkeley by
+ * Peter McIlroy.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ * 3. All advertising materials mentioning features or use of this software
+ *    must display the following acknowledgement:
+ *      This product includes software developed by the University of
+ *      California, Berkeley and its contributors.
+ * 4. Neither the name of the University nor the names of its contributors
+ *    may be used to endorse or promote products derived from this software
+ *    without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+
+
+
+file:
+main/php_open_temporary_file.c
+
+ * Copyright (c) 1988, 1993
+ *      The Regents of the University of California.  All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ * 3. All advertising materials mentioning features or use of this software
+ *    must display the following acknowledgement:
+ *      This product includes software developed by the University of
+ *      California, Berkeley and its contributors.
+ * 4. Neither the name of the University nor the names of its contributors
+ *    may be used to endorse or promote products derived from this software
+ *    without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+
+
+
+file:
+main/reentrancy.c
+
+ * Copyright (c) 1990, 1993
+ *      The Regents of the University of California.  All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ * 3. All advertising materials mentioning features or use of this software
+ *    must display the following acknowledgement:
+ *      This product includes software developed by the University of
+ *      California, Berkeley and its contributors.
+ * 4. Neither the name of the University nor the names of its contributors
+ *    may be used to endorse or promote products derived from this software
+ *    without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+
+ * Copyright (c) 1998 Softweyr LLC.  All rights reserved.
+ *
+ * strtok_r, from Berkeley strtok
+ * Oct 13, 1998 by Wes Peters <[email protected]>
+ *
+ * Copyright (c) 1988, 1993
+ *      The Regents of the University of California.  All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * 1. Redistributions of source code must retain the above copyright
+ *    notices, this list of conditions and the following disclaimer.
+ * 
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notices, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ * 
+ * 3. All advertising materials mentioning features or use of this software
+ *    must display the following acknowledgement:
+ *
+ *      This product includes software developed by Softweyr LLC, the
+ *      University of California, Berkeley, and its contributors.
+ *
+ * 4. Neither the name of the University nor the names of its contributors
+ *    may be used to endorse or promote products derived from this software
+ *    without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY SOFTWEYR LLC, THE REGENTS AND CONTRIBUTORS
+ * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
+ * PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL SOFTWEYR LLC, THE
+ * REGENTS, OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
+ * TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+
+file:
+main/snprintf.c
+
+ * Copyright (c) 2002, 2006 Todd C. Miller <[email protected]>
+ *
+ * Permission to use, copy, modify, and distribute this software for any
+ * purpose with or without fee is hereby granted, provided that the above
+ * copyright notice and this permission notice appear in all copies.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ *
+ * Sponsored in part by the Defense Advanced Research Projects
+ * Agency (DARPA) and Air Force Research Laboratory, Air Force
+ * Materiel Command, USAF, under agreement number F39502-99-1-0512.
+
+
+
+file:
+main/spprintf.c
+
+ * Copyright (c) 1995-1998 The Apache Group.  All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ *
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in
+ *    the documentation and/or other materials provided with the
+ *    distribution.
+ *
+ * 3. All advertising materials mentioning features or use of this
+ *    software must display the following acknowledgment:
+ *    "This product includes software developed by the Apache Group
+ *    for use in the Apache HTTP server project (http://www.apache.org/)."
+ *
+ * 4. The names "Apache Server" and "Apache Group" must not be used to
+ *    endorse or promote products derived from this software without
+ *    prior written permission.
+ *
+ * 5. Redistributions of any form whatsoever must retain the following
+ *    acknowledgment:
+ *    "This product includes software developed by the Apache Group
+ *    for use in the Apache HTTP server project (http://www.apache.org/)."
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE APACHE GROUP ``AS IS'' AND ANY
+ * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE APACHE GROUP OR
+ * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
+ * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
+ * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
+ * OF THE POSSIBILITY OF SUCH DAMAGE.
+ * ====================================================================
+ *
+ * This software consists of voluntary contributions made by many
+ * individuals on behalf of the Apache Group and was originally based
+ * on public domain software written at the National Center for
+ * Supercomputing Applications, University of Illinois, Urbana-Champaign.
+ * For more information on the Apache Group and the Apache HTTP server
+ * project, please see <http://www.apache.org/>.
+ *
+ * This code is based on, and used with the permission of, the
+ * SIO stdio-replacement strx_* functions by Panos Tsirigotis
+ * <[email protected]> for xinetd.
+
+
+
+files:
+main/strlcpy.c
+main/strlcat.c
+
+ * Copyright (c) 1998 Todd C. Miller <[email protected]>
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ * 3. The name of the author may not be used to endorse or promote products
+ *    derived from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
+ * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
+ * AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL
+ * THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+ * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+ * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+ * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+
+file:
+pear/install-pear-nozlib.phar
+
+ * PHP_Archive Class (implements .phar)
+
+ * Gz code borrowed from the excellent File_Archive package by Vincent Lascaux.
+ *
+ * @copyright Copyright David Shafik and Synaptic Media 2004. All rights reserved.
+ * @author Davey Shafik <[email protected]>
+ * @author Greg Beaver <[email protected]>
+
+ * File::CSV
+ *
+ * PHP versions 4 and 5
+ *
+ * Copyright (c) 1997-2008,
+ * Vincent Blavet <[email protected]>
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *
+ *     * Redistributions of source code must retain the above copyright notice,
+ *       this list of conditions and the following disclaimer.
+ *     * Redistributions in binary form must reproduce the above copyright
+ *       notice, this list of conditions and the following disclaimer in the
+ *       documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+ * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
+ * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+ * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+Copyright (c) 1997-2009,
+ Stig Bakken <[email protected]>,
+ Gregory Beaver <[email protected]>,
+ Helgi Þormar Þorbjörnsson <[email protected]>,
+ Tomas V.V.Cox <[email protected]>,
+ Martin Jansen <[email protected]>.
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+    * Redistributions of source code must retain the above copyright notice,
+      this list of conditions and the following disclaimer.
+    * Redistributions in binary form must reproduce the above copyright
+      notice, this list of conditions and the following disclaimer in the
+      documentation and/or other materials provided with the distribution.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
+CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+// +-----------------------------------------------------------------------------+
+// | Copyright (c) 2003 Sérgio Gonçalves Carvalho                                |
+// +-----------------------------------------------------------------------------+
+// | This file is part of Structures_Graph.                                      |
+// |                                                                             |
+// | Structures_Graph is free software; you can redistribute it and/or modify    |
+// | it under the terms of the GNU Lesser General Public License as published by |
+// | the Free Software Foundation; either version 2.1 of the License, or         |
+// | (at your option) any later version.                                         |
+// |                                                                             |
+// | Structures_Graph is distributed in the hope that it will be useful,         |
+// | but WITHOUT ANY WARRANTY; without even the implied warranty of              |
+// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the               |
+// | GNU Lesser General Public License for more details.                         |
+// |                                                                             |
+// | You should have received a copy of the GNU Lesser General Public License    |
+// | along with Structures_Graph; if not, write to the Free Software             |
+// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA                    |
+// | 02111-1307 USA                                                              |
+// +-----------------------------------------------------------------------------+
+// | Author: Sérgio Carvalho <[email protected]>                  |
+// +-----------------------------------------------------------------------------+
+
+ * XML_Util
+ *
+ * XML Utilities package
+ *
+ * PHP versions 4 and 5
+ *
+ * LICENSE:
+ *
+ * Copyright (c) 2003-2008 Stephan Schmidt <[email protected]>
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ *    * Redistributions of source code must retain the above copyright
+ *      notice, this list of conditions and the following disclaimer.
+ *    * Redistributions in binary form must reproduce the above copyright
+ *      notice, this list of conditions and the following disclaimer in the
+ *      documentation and/or other materials provided with the distribution.
+ *    * The name of the author may not be used to endorse or promote products
+ *      derived from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
+ * IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+ * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+
+file:
+sapi/cli/php_http_parser.c
+
+/* Copyright 2009,2010 Ryan Dahl <[email protected]>
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to
+ * deal in the Software without restriction, including without limitation the
+ * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
+ * sell copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
+ * IN THE SOFTWARE.
+
+
+
+file:
+sapi/cli/ps_title.c
+
+ * PostgreSQL is released under the PostgreSQL License, a liberal Open Source
+ * license, similar to the BSD or MIT licenses.
+ * PostgreSQL Database Management System (formerly known as Postgres, then as
+ * Postgres95)
+ *
+ * Portions Copyright (c) 1996-2015, The PostgreSQL Global Development Group
+ *
+ * Portions Copyright (c) 1994, The Regents of the University of California
+ *
+ * Permission to use, copy, modify, and distribute this software and its
+ * documentation for any purpose, without fee, and without a written
+ * agreement is hereby granted, provided that the above copyright notice
+ * and this paragraph and the following two paragraphs appear in all copies.
+ *
+ * IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY FOR
+ * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING
+ * LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION,
+ * EVEN IF THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ *
+ * THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
+ * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
+ * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON AN
+ * "AS IS" BASIS, AND THE UNIVERSITY OF CALIFORNIA HAS NO OBLIGATIONS TO
+ * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
+
+
+
+file:
+sapi/fpm/LICENSE
+
+Copyright (c) 2007-2009, Andrei Nigmatulin
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. Redistributions of source code must retain the above copyright
+   notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+   notice, this list of conditions and the following disclaimer in the
+   documentation and/or other materials provided with the distribution.
+
+THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED.  IN NO EVENT SHALL AUTHOR OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.
+
+
+
+file:
+sapi/fpm/tests/fcgi.inc
+
+ * This file is part of PHP-FastCGI-Client.
+ *
+ * (c) Pierrick Charron <[email protected]>
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy of
+ * this software and associated documentation files (the "Software"), to deal in
+ * the Software without restriction, including without limitation the rights to
+ * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
+ * of the Software, and to permit persons to whom the Software is furnished to do
+ * so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+
+
+
+files:
+sapi/litespeed/lsapilib.c
+sapi/litespeed/lsapilib.h
+sapi/litespeed/lsapidef.h
+
+Copyright (c) 2002-2014, Lite Speed Technologies Inc.
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are
+met: 
+
+    * Redistributions of source code must retain the above copyright
+      notice, this list of conditions and the following disclaimer. 
+    * Redistributions in binary form must reproduce the above
+      copyright notice, this list of conditions and the following
+      disclaimer in the documentation and/or other materials provided
+      with the distribution. 
+    * Neither the name of the Lite Speed Technologies Inc nor the
+      names of its contributors may be used to endorse or promote
+      products derived from this software without specific prior
+      written permission.  
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
+
+
+
+files:
+sapi/phpdbg/phpdbg_parser.c
+
+/* A Bison parser, made by GNU Bison 2.7.12-4996.  */
+
+/* Bison implementation for Yacc-like parsers in C
+   
+      Copyright (C) 1984, 1989-1990, 2000-2013 Free Software Foundation, Inc.
+   
+   This program is free software: you can redistribute it and/or modify
+   it under the terms of the GNU General Public License as published by
+   the Free Software Foundation, either version 3 of the License, or
+   (at your option) any later version.
+   
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+   
+   You should have received a copy of the GNU General Public License
+   along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
+
+/* As a special exception, you may create a larger work that contains
+   part or all of the Bison parser skeleton and distribute that work
+   under terms of your choice, so long as that work isn't itself a
+   parser generator using the skeleton or a modified version thereof
+   as a parser skeleton.  Alternatively, if you modify or redistribute
+   the parser skeleton itself, you may (at your option) remove this
+   special exception, which will cause the skeleton and the resulting
+   Bison output files to be licensed under the GNU General Public
+   License without this special exception.
+   
+   This special exception was added by the Free Software Foundation in
+   version 2.2 of Bison.  */
+
+
+
+file:
+sapi/phpdbg/phpdbg_parser.h
+
+/* A Bison parser, made by GNU Bison 2.7.12-4996.  */
+
+/* Bison interface for Yacc-like parsers in C
+   
+      Copyright (C) 1984, 1989-1990, 2000-2013 Free Software Foundation, Inc.
+   
+   This program is free software: you can redistribute it and/or modify
+   it under the terms of the GNU General Public License as published by
+   the Free Software Foundation, either version 3 of the License, or
+   (at your option) any later version.
+   
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+   
+   You should have received a copy of the GNU General Public License
+   along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
+
+/* As a special exception, you may create a larger work that contains
+   part or all of the Bison parser skeleton and distribute that work
+   under terms of your choice, so long as that work isn't itself a
+   parser generator using the skeleton or a modified version thereof
+   as a parser skeleton.  Alternatively, if you modify or redistribute
+   the parser skeleton itself, you may (at your option) remove this
+   special exception, which will cause the skeleton and the resulting
+   Bison output files to be licensed under the GNU General Public
+   License without this special exception.
+   
+   This special exception was added by the Free Software Foundation in
+   version 2.2 of Bison.  */
+
+
+
+file:
+TSRM/LICENSE
+
+Copyright (c) 1999-2006, Andi Gutmans, Sascha Schumann, Zeev Suraski.
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are
+met:
+
+- Redistributions of source code must retain the above copyright notice,
+this list of conditions and the following disclaimer.
+
+- Neither name of the copyright holders nor the names of their contributors
+may be used to endorse or promote products derived from this software
+without specific prior written permission.
+
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS
+IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR
+CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+
+file:
+TSRM/threads.m4
+
+dnl  Copyright (c) 1999, 2000 Sascha Schumann. All rights reserved.
+dnl 
+dnl  Redistribution and use in source and binary forms, with or without
+dnl  modification, are permitted provided that the following conditions
+dnl  are met:
+dnl 
+dnl  1. Redistributions of source code must retain the above copyright
+dnl     notice, this list of conditions and the following disclaimer.
+dnl 
+dnl  2. Redistributions in binary form must reproduce the above copyright
+dnl     notice, this list of conditions and the following disclaimer in
+dnl     the documentation and/or other materials provided with the
+dnl     distribution.
+dnl 
+dnl  THIS SOFTWARE IS PROVIDED BY SASCHA SCHUMANN ``AS IS'' AND ANY
+dnl  EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+dnl  IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+dnl  PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL SASCHA SCHUMANN OR
+dnl  HIS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+dnl  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
+dnl  NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+dnl  LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+dnl  HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
+dnl  STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+dnl  ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
+dnl  OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+
+file:
+Zend/LICENSE
+
+-------------------------------------------------------------------- 
+                The Zend Engine License, Version 2.00
+Copyright (c) 1999-2006 Zend Technologies Ltd. All rights reserved.
+-------------------------------------------------------------------- 
+
+Redistribution and use in source and binary forms, with or without
+modification, is permitted provided that the following conditions
+are met:
+
+  1. Redistributions of source code must retain the above copyright
+     notice, this list of conditions and the following disclaimer. 
+ 
+  2. Redistributions in binary form must reproduce the above 
+     copyright notice, this list of conditions and the following 
+     disclaimer in the documentation and/or other materials provided
+     with the distribution.
+ 
+  3. The names "Zend" and "Zend Engine" must not be used to endorse
+     or promote products derived from this software without prior
+     permission from Zend Technologies Ltd. For written permission,
+     please contact [email protected] 
+ 
+  4. Zend Technologies Ltd. may publish revised and/or new versions
+     of the license from time to time. Each version will be given a
+     distinguishing version number.
+     Once covered code has been published under a particular version
+     of the license, you may always continue to use it under the
+     terms of that version. You may also choose to use such covered
+     code under the terms of any subsequent version of the license
+     published by Zend Technologies Ltd. No one other than Zend
+     Technologies Ltd. has the right to modify the terms applicable
+     to covered code created under this License.
+
+  5. Redistributions of any form whatsoever must retain the following
+     acknowledgment:
+     "This product includes the Zend Engine, freely available at
+     http://www.zend.com"
+
+  6. All advertising materials mentioning features or use of this
+     software must display the following acknowledgment:
+     "The Zend Engine is freely available at http://www.zend.com"
+
+THIS SOFTWARE IS PROVIDED BY ZEND TECHNOLOGIES LTD. ``AS IS'' AND 
+ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A 
+PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL ZEND
+TECHNOLOGIES LTD.  BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
+USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
+OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.
+
+-------------------------------------------------------------------- 
+
+
+
+files:
+Zend/zend_ini_parser.c
+Zend/zend_language_parser.c
+
+/* A Bison parser, made by GNU Bison 2.4.1.  */
+
+/* Skeleton implementation for Bison's Yacc-like parsers in C
+   
+      Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
+   Free Software Foundation, Inc.
+   
+   This program is free software: you can redistribute it and/or modify
+   it under the terms of the GNU General Public License as published by
+   the Free Software Foundation, either version 3 of the License, or
+   (at your option) any later version.
+   
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+   
+   You should have received a copy of the GNU General Public License
+   along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
+
+/* As a special exception, you may create a larger work that contains
+   part or all of the Bison parser skeleton and distribute that work
+   under terms of your choice, so long as that work isn't itself a
+   parser generator using the skeleton or a modified version thereof
+   as a parser skeleton.  Alternatively, if you modify or redistribute
+   the parser skeleton itself, you may (at your option) remove this
+   special exception, which will cause the skeleton and the resulting
+   Bison output files to be licensed under the GNU General Public
+   License without this special exception.
+   
+   This special exception was added by the Free Software Foundation in
+   version 2.2 of Bison.  */
+
+
+
+files:
+Zend/zend_ini_parser.h
+Zend/zend_language_parser.h
+
+/* A Bison parser, made by GNU Bison 2.4.1.  */
+
+/* Skeleton interface for Bison's Yacc-like parsers in C
+   
+      Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
+   Free Software Foundation, Inc.
+   
+   This program is free software: you can redistribute it and/or modify
+   it under the terms of the GNU General Public License as published by
+   the Free Software Foundation, either version 3 of the License, or
+   (at your option) any later version.
+   
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+   
+   You should have received a copy of the GNU General Public License
+   along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
+
+/* As a special exception, you may create a larger work that contains
+   part or all of the Bison parser skeleton and distribute that work
+   under terms of your choice, so long as that work isn't itself a
+   parser generator using the skeleton or a modified version thereof
+   as a parser skeleton.  Alternatively, if you modify or redistribute
+   the parser skeleton itself, you may (at your option) remove this
+   special exception, which will cause the skeleton and the resulting
+   Bison output files to be licensed under the GNU General Public
+   License without this special exception.
+   
+   This special exception was added by the Free Software Foundation in
+   version 2.2 of Bison.  */
+
+
+
+file:
+Zend/zend_strtod.c
+
+ * The author of this software is David M. Gay.
+ *
+ * Copyright (c) 1991 by AT&T.
+ *
+ * Permission to use, copy, modify, and distribute this software for any
+ * purpose without fee is hereby granted, provided that this entire notice
+ * is included in all copies of any software which is or includes a copy
+ * or modification of this software and in all copies of the supporting
+ * documentation for such software.
+ *
+ * THIS SOFTWARE IS BEING PROVIDED "AS IS", WITHOUT ANY EXPRESS OR IMPLIED
+ * WARRANTY.  IN PARTICULAR, NEITHER THE AUTHOR NOR AT&T MAKES ANY
+ * REPRESENTATION OR WARRANTY OF ANY KIND CONCERNING THE MERCHANTABILITY
+ * OF THIS SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE.
+
+
+
+Text of the LGPL version 2.1:
+
+                  GNU LESSER GENERAL PUBLIC LICENSE
+                       Version 2.1, February 1999
+
+ Copyright (C) 1991, 1999 Free Software Foundation, Inc.
+ 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+[This is the first released version of the Lesser GPL.  It also counts
+ as the successor of the GNU Library Public License, version 2, hence
+ the version number 2.1.]
+
+                            Preamble
+
+  The licenses for most software are designed to take away your
+freedom to share and change it.  By contrast, the GNU General Public
+Licenses are intended to guarantee your freedom to share and change
+free software--to make sure the software is free for all its users.
+
+  This license, the Lesser General Public License, applies to some
+specially designated software packages--typically libraries--of the
+Free Software Foundation and other authors who decide to use it.  You
+can use it too, but we suggest you first think carefully about whether
+this license or the ordinary General Public License is the better
+strategy to use in any particular case, based on the explanations below.
+
+  When we speak of free software, we are referring to freedom of use,
+not price.  Our General Public Licenses are designed to make sure that
+you have the freedom to distribute copies of free software (and charge
+for this service if you wish); that you receive source code or can get
+it if you want it; that you can change the software and use pieces of
+it in new free programs; and that you are informed that you can do
+these things.
+
+  To protect your rights, we need to make restrictions that forbid
+distributors to deny you these rights or to ask you to surrender these
+rights.  These restrictions translate to certain responsibilities for
+you if you distribute copies of the library or if you modify it.
+
+  For example, if you distribute copies of the library, whether gratis
+or for a fee, you must give the recipients all the rights that we gave
+you.  You must make sure that they, too, receive or can get the source
+code.  If you link other code with the library, you must provide
+complete object files to the recipients, so that they can relink them
+with the library after making changes to the library and recompiling
+it.  And you must show them these terms so they know their rights.
+
+  We protect your rights with a two-step method: (1) we copyright the
+library, and (2) we offer you this license, which gives you legal
+permission to copy, distribute and/or modify the library.
+
+  To protect each distributor, we want to make it very clear that
+there is no warranty for the free library.  Also, if the library is
+modified by someone else and passed on, the recipients should know
+that what they have is not the original version, so that the original
+author's reputation will not be affected by problems that might be
+introduced by others.
+
+  Finally, software patents pose a constant threat to the existence of
+any free program.  We wish to make sure that a company cannot
+effectively restrict the users of a free program by obtaining a
+restrictive license from a patent holder.  Therefore, we insist that
+any patent license obtained for a version of the library must be
+consistent with the full freedom of use specified in this license.
+
+  Most GNU software, including some libraries, is covered by the
+ordinary GNU General Public License.  This license, the GNU Lesser
+General Public License, applies to certain designated libraries, and
+is quite different from the ordinary General Public License.  We use
+this license for certain libraries in order to permit linking those
+libraries into non-free programs.
+
+  When a program is linked with a library, whether statically or using
+a shared library, the combination of the two is legally speaking a
+combined work, a derivative of the original library.  The ordinary
+General Public License therefore permits such linking only if the
+entire combination fits its criteria of freedom.  The Lesser General
+Public License permits more lax criteria for linking other code with
+the library.
+
+  We call this license the "Lesser" General Public License because it
+does Less to protect the user's freedom than the ordinary General
+Public License.  It also provides other free software developers Less
+of an advantage over competing non-free programs.  These disadvantages
+are the reason we use the ordinary General Public License for many
+libraries.  However, the Lesser license provides advantages in certain
+special circumstances.
+
+  For example, on rare occasions, there may be a special need to
+encourage the widest possible use of a certain library, so that it becomes
+a de-facto standard.  To achieve this, non-free programs must be
+allowed to use the library.  A more frequent case is that a free
+library does the same job as widely used non-free libraries.  In this
+case, there is little to gain by limiting the free library to free
+software only, so we use the Lesser General Public License.
+
+  In other cases, permission to use a particular library in non-free
+programs enables a greater number of people to use a large body of
+free software.  For example, permission to use the GNU C Library in
+non-free programs enables many more people to use the whole GNU
+operating system, as well as its variant, the GNU/Linux operating
+system.
+
+  Although the Lesser General Public License is Less protective of the
+users' freedom, it does ensure that the user of a program that is
+linked with the Library has the freedom and the wherewithal to run
+that program using a modified version of the Library.
+
+  The precise terms and conditions for copying, distribution and
+modification follow.  Pay close attention to the difference between a
+"work based on the library" and a "work that uses the library".  The
+former contains code derived from the library, whereas the latter must
+be combined with the library in order to run.
+
+                  GNU LESSER GENERAL PUBLIC LICENSE
+   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+  0. This License Agreement applies to any software library or other
+program which contains a notice placed by the copyright holder or
+other authorized party saying it may be distributed under the terms of
+this Lesser General Public License (also called "this License").
+Each licensee is addressed as "you".
+
+  A "library" means a collection of software functions and/or data
+prepared so as to be conveniently linked with application programs
+(which use some of those functions and data) to form executables.
+
+  The "Library", below, refers to any such software library or work
+which has been distributed under these terms.  A "work based on the
+Library" means either the Library or any derivative work under
+copyright law: that is to say, a work containing the Library or a
+portion of it, either verbatim or with modifications and/or translated
+straightforwardly into another language.  (Hereinafter, translation is
+included without limitation in the term "modification".)
+
+  "Source code" for a work means the preferred form of the work for
+making modifications to it.  For a library, complete source code means
+all the source code for all modules it contains, plus any associated
+interface definition files, plus the scripts used to control compilation
+and installation of the library.
+
+  Activities other than copying, distribution and modification are not
+covered by this License; they are outside its scope.  The act of
+running a program using the Library is not restricted, and output from
+such a program is covered only if its contents constitute a work based
+on the Library (independent of the use of the Library in a tool for
+writing it).  Whether that is true depends on what the Library does
+and what the program that uses the Library does.
+
+  1. You may copy and distribute verbatim copies of the Library's
+complete source code as you receive it, in any medium, provided that
+you conspicuously and appropriately publish on each copy an
+appropriate copyright notice and disclaimer of warranty; keep intact
+all the notices that refer to this License and to the absence of any
+warranty; and distribute a copy of this License along with the
+Library.
+
+  You may charge a fee for the physical act of transferring a copy,
+and you may at your option offer warranty protection in exchange for a
+fee.
+
+  2. You may modify your copy or copies of the Library or any portion
+of it, thus forming a work based on the Library, and copy and
+distribute such modifications or work under the terms of Section 1
+above, provided that you also meet all of these conditions:
+
+    a) The modified work must itself be a software library.
+
+    b) You must cause the files modified to carry prominent notices
+    stating that you changed the files and the date of any change.
+
+    c) You must cause the whole of the work to be licensed at no
+    charge to all third parties under the terms of this License.
+
+    d) If a facility in the modified Library refers to a function or a
+    table of data to be supplied by an application program that uses
+    the facility, other than as an argument passed when the facility
+    is invoked, then you must make a good faith effort to ensure that,
+    in the event an application does not supply such function or
+    table, the facility still operates, and performs whatever part of
+    its purpose remains meaningful.
+
+    (For example, a function in a library to compute square roots has
+    a purpose that is entirely well-defined independent of the
+    application.  Therefore, Subsection 2d requires that any
+    application-supplied function or table used by this function must
+    be optional: if the application does not supply it, the square
+    root function must still compute square roots.)
+
+These requirements apply to the modified work as a whole.  If
+identifiable sections of that work are not derived from the Library,
+and can be reasonably considered independent and separate works in
+themselves, then this License, and its terms, do not apply to those
+sections when you distribute them as separate works.  But when you
+distribute the same sections as part of a whole which is a work based
+on the Library, the distribution of the whole must be on the terms of
+this License, whose permissions for other licensees extend to the
+entire whole, and thus to each and every part regardless of who wrote
+it.
+
+Thus, it is not the intent of this section to claim rights or contest
+your rights to work written entirely by you; rather, the intent is to
+exercise the right to control the distribution of derivative or
+collective works based on the Library.
+
+In addition, mere aggregation of another work not based on the Library
+with the Library (or with a work based on the Library) on a volume of
+a storage or distribution medium does not bring the other work under
+the scope of this License.
+
+  3. You may opt to apply the terms of the ordinary GNU General Public
+License instead of this License to a given copy of the Library.  To do
+this, you must alter all the notices that refer to this License, so
+that they refer to the ordinary GNU General Public License, version 2,
+instead of to this License.  (If a newer version than version 2 of the
+ordinary GNU General Public License has appeared, then you can specify
+that version instead if you wish.)  Do not make any other change in
+these notices.
+
+  Once this change is made in a given copy, it is irreversible for
+that copy, so the ordinary GNU General Public License applies to all
+subsequent copies and derivative works made from that copy.
+
+  This option is useful when you wish to copy part of the code of
+the Library into a program that is not a library.
+
+  4. You may copy and distribute the Library (or a portion or
+derivative of it, under Section 2) in object code or executable form
+under the terms of Sections 1 and 2 above provided that you accompany
+it with the complete corresponding machine-readable source code, which
+must be distributed under the terms of Sections 1 and 2 above on a
+medium customarily used for software interchange.
+
+  If distribution of object code is made by offering access to copy
+from a designated place, then offering equivalent access to copy the
+source code from the same place satisfies the requirement to
+distribute the source code, even though third parties are not
+compelled to copy the source along with the object code.
+
+  5. A program that contains no derivative of any portion of the
+Library, but is designed to work with the Library by being compiled or
+linked with it, is called a "work that uses the Library".  Such a
+work, in isolation, is not a derivative work of the Library, and
+therefore falls outside the scope of this License.
+
+  However, linking a "work that uses the Library" with the Library
+creates an executable that is a derivative of the Library (because it
+contains portions of the Library), rather than a "work that uses the
+library".  The executable is therefore covered by this License.
+Section 6 states terms for distribution of such executables.
+
+  When a "work that uses the Library" uses material from a header file
+that is part of the Library, the object code for the work may be a
+derivative work of the Library even though the source code is not.
+Whether this is true is especially significant if the work can be
+linked without the Library, or if the work is itself a library.  The
+threshold for this to be true is not precisely defined by law.
+
+  If such an object file uses only numerical parameters, data
+structure layouts and accessors, and small macros and small inline
+functions (ten lines or less in length), then the use of the object
+file is unrestricted, regardless of whether it is legally a derivative
+work.  (Executables containing this object code plus portions of the
+Library will still fall under Section 6.)
+
+  Otherwise, if the work is a derivative of the Library, you may
+distribute the object code for the work under the terms of Section 6.
+Any executables containing that work also fall under Section 6,
+whether or not they are linked directly with the Library itself.
+
+  6. As an exception to the Sections above, you may also combine or
+link a "work that uses the Library" with the Library to produce a
+work containing portions of the Library, and distribute that work
+under terms of your choice, provided that the terms permit
+modification of the work for the customer's own use and reverse
+engineering for debugging such modifications.
+
+  You must give prominent notice with each copy of the work that the
+Library is used in it and that the Library and its use are covered by
+this License.  You must supply a copy of this License.  If the work
+during execution displays copyright notices, you must include the
+copyright notice for the Library among them, as well as a reference
+directing the user to the copy of this License.  Also, you must do one
+of these things:
+
+    a) Accompany the work with the complete corresponding
+    machine-readable source code for the Library including whatever
+    changes were used in the work (which must be distributed under
+    Sections 1 and 2 above); and, if the work is an executable linked
+    with the Library, with the complete machine-readable "work that
+    uses the Library", as object code and/or source code, so that the
+    user can modify the Library and then relink to produce a modified
+    executable containing the modified Library.  (It is understood
+    that the user who changes the contents of definitions files in the
+    Library will not necessarily be able to recompile the application
+    to use the modified definitions.)
+
+    b) Use a suitable shared library mechanism for linking with the
+    Library.  A suitable mechanism is one that (1) uses at run time a
+    copy of the library already present on the user's computer system,
+    rather than copying library functions into the executable, and (2)
+    will operate properly with a modified version of the library, if
+    the user installs one, as long as the modified version is
+    interface-compatible with the version that the work was made with.
+
+    c) Accompany the work with a written offer, valid for at
+    least three years, to give the same user the materials
+    specified in Subsection 6a, above, for a charge no more
+    than the cost of performing this distribution.
+
+    d) If distribution of the work is made by offering access to copy
+    from a designated place, offer equivalent access to copy the above
+    specified materials from the same place.
+
+    e) Verify that the user has already received a copy of these
+    materials or that you have already sent this user a copy.
+
+  For an executable, the required form of the "work that uses the
+Library" must include any data and utility programs needed for
+reproducing the executable from it.  However, as a special exception,
+the materials to be distributed need not include anything that is
+normally distributed (in either source or binary form) with the major
+components (compiler, kernel, and so on) of the operating system on
+which the executable runs, unless that component itself accompanies
+the executable.
+
+  It may happen that this requirement contradicts the license
+restrictions of other proprietary libraries that do not normally
+accompany the operating system.  Such a contradiction means you cannot
+use both them and the Library together in an executable that you
+distribute.
+
+  7. You may place library facilities that are a work based on the
+Library side-by-side in a single library together with other library
+facilities not covered by this License, and distribute such a combined
+library, provided that the separate distribution of the work based on
+the Library and of the other library facilities is otherwise
+permitted, and provided that you do these two things:
+
+    a) Accompany the combined library with a copy of the same work
+    based on the Library, uncombined with any other library
+    facilities.  This must be distributed under the terms of the
+    Sections above.
+
+    b) Give prominent notice with the combined library of the fact
+    that part of it is a work based on the Library, and explaining
+    where to find the accompanying uncombined form of the same work.
+
+  8. You may not copy, modify, sublicense, link with, or distribute
+the Library except as expressly provided under this License.  Any
+attempt otherwise to copy, modify, sublicense, link with, or
+distribute the Library is void, and will automatically terminate your
+rights under this License.  However, parties who have received copies,
+or rights, from you under this License will not have their licenses
+terminated so long as such parties remain in full compliance.
+
+  9. You are not required to accept this License, since you have not
+signed it.  However, nothing else grants you permission to modify or
+distribute the Library or its derivative works.  These actions are
+prohibited by law if you do not accept this License.  Therefore, by
+modifying or distributing the Library (or any work based on the
+Library), you indicate your acceptance of this License to do so, and
+all its terms and conditions for copying, distributing or modifying
+the Library or works based on it.
+
+  10. Each time you redistribute the Library (or any work based on the
+Library), the recipient automatically receives a license from the
+original licensor to copy, distribute, link with or modify the Library
+subject to these terms and conditions.  You may not impose any further
+restrictions on the recipients' exercise of the rights granted herein.
+You are not responsible for enforcing compliance by third parties with
+this License.
+
+  11. If, as a consequence of a court judgment or allegation of patent
+infringement or for any other reason (not limited to patent issues),
+conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License.  If you cannot
+distribute so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you
+may not distribute the Library at all.  For example, if a patent
+license would not permit royalty-free redistribution of the Library by
+all those who receive copies directly or indirectly through you, then
+the only way you could satisfy both it and this License would be to
+refrain entirely from distribution of the Library.
+
+If any portion of this section is held invalid or unenforceable under any
+particular circumstance, the balance of the section is intended to apply,
+and the section as a whole is intended to apply in other circumstances.
+
+It is not the purpose of this section to induce you to infringe any
+patents or other property right claims or to contest validity of any
+such claims; this section has the sole purpose of protecting the
+integrity of the free software distribution system which is
+implemented by public license practices.  Many people have made
+generous contributions to the wide range of software distributed
+through that system in reliance on consistent application of that
+system; it is up to the author/donor to decide if he or she is willing
+to distribute software through any other system and a licensee cannot
+impose that choice.
+
+This section is intended to make thoroughly clear what is believed to
+be a consequence of the rest of this License.
+
+  12. If the distribution and/or use of the Library is restricted in
+certain countries either by patents or by copyrighted interfaces, the
+original copyright holder who places the Library under this License may add
+an explicit geographical distribution limitation excluding those countries,
+so that distribution is permitted only in or among countries not thus
+excluded.  In such case, this License incorporates the limitation as if
+written in the body of this License.
+
+  13. The Free Software Foundation may publish revised and/or new
+versions of the Lesser General Public License from time to time.
+Such new versions will be similar in spirit to the present version,
+but may differ in detail to address new problems or concerns.
+
+Each version is given a distinguishing version number.  If the Library
+specifies a version number of this License which applies to it and
+"any later version", you have the option of following the terms and
+conditions either of that version or of any later version published by
+the Free Software Foundation.  If the Library does not specify a
+license version number, you may choose any version ever published by
+the Free Software Foundation.
+
+  14. If you wish to incorporate parts of the Library into other free
+programs whose distribution conditions are incompatible with these,
+write to the author to ask for permission.  For software which is
+copyrighted by the Free Software Foundation, write to the Free
+Software Foundation; we sometimes make exceptions for this.  Our
+decision will be guided by the two goals of preserving the free status
+of all derivatives of our free software and of promoting the sharing
+and reuse of software generally.
+
+                            NO WARRANTY
+
+  15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
+WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
+EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
+OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
+KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+PURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
+LIBRARY IS WITH YOU.  SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
+THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
+
+  16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
+WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
+AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
+FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
+CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
+LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
+RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
+FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
+SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
+DAMAGES.
+
+                     END OF TERMS AND CONDITIONS
+
+           How to Apply These Terms to Your New Libraries
+
+  If you develop a new library, and you want it to be of the greatest
+possible use to the public, we recommend making it free software that
+everyone can redistribute and change.  You can do so by permitting
+redistribution under these terms (or, alternatively, under the terms of the
+ordinary General Public License).
+
+  To apply these terms, attach the following notices to the library.  It is
+safest to attach them to the start of each source file to most effectively
+convey the exclusion of warranty; and each file should have at least the
+"copyright" line and a pointer to where the full notice is found.
+
+    <one line to give the library's name and a brief idea of what it does.>
+    Copyright (C) <year>  <name of author>
+
+    This library is free software; you can redistribute it and/or
+    modify it under the terms of the GNU Lesser General Public
+    License as published by the Free Software Foundation; either
+    version 2.1 of the License, or (at your option) any later version.
+
+    This library is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+    Lesser General Public License for more details.
+
+    You should have received a copy of the GNU Lesser General Public
+    License along with this library; if not, write to the Free Software
+    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
+
+Also add information on how to contact you by electronic and paper mail.
+
+You should also get your employer (if you work as a programmer) or your
+school, if any, to sign a "copyright disclaimer" for the library, if
+necessary.  Here is a sample; alter the names:
+
+  Yoyodyne, Inc., hereby disclaims all copyright interest in the
+  library `Frob' (a library for tweaking knobs) written by James Random Hacker.
+
+  <signature of Ty Coon>, 1 April 1990
+  Ty Coon, President of Vice
+
+That's all there is to it!
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/php/php56/php56-metadata.mk	Fri Jun 05 09:47:02 2015 -0700
@@ -0,0 +1,29 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+
+#
+# Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
+#
+
+# The UL_ prefix safeguards against confusion with upstream variables.
+UL_PHP_VERSION = 5.6.8
+UL_PHP_MINOR_VERSION = 5.6
+UL_PHP_SHORT_VERSION = 56
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/php/phpize.mk	Fri Jun 05 09:47:02 2015 -0700
@@ -0,0 +1,78 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+
+#
+# Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
+#
+
+# This is a collection of Makefile lines needed for building PHP extensions
+# outside of the PHP source tree.  It is named for the "phpize" script, which
+# is the main deviation from the standard configure-make-install cycle.
+# This file should handle everything necessary for an extension whose upstream
+# expects the user to run "phpize" in order to create ./configure.
+
+# It relies on the Userland makefile for PHP creating modified versions of
+# phpize and php-config for use during Userland builds, and placing them under
+# $(PHP_BUNDLE_DIR)/proto-scripts. Therefore, it depends on gmake install of PHP
+
+# Usage:
+# include ../../../make-rules/shared-macros.mk [appropriate path]
+# include $(WS_COMPONENTS)/php/php-metadata.mk
+# [COMPONENT_* lines]
+# include $(WS_MAKE_RULES)/prep.mk
+# include $(WS_MAKE_RULES)/configure.mk
+# include $(PHP_TOP_DIR)/phpize.mk
+
+# Depends on having a built and intalled (prototype) version of PHP available
+$(BUILD_DIR_64)/.configured: $(PHP_BUILD_DIR_64)/.installed
+$(PHP_BUILD_DIR_64)/.installed:
+	cd $(PHP_BUNDLE_DIR) ; $(GMAKE) install ;
+
+include $(PHP_TOP_DIR)/php.mk
+
+COMPONENT_PRE_CONFIGURE_ACTION += \
+	$(GSED) -e "s|^builddir=.*|builddir=$(@D)|" \
+		< $(PHP_BUNDLE_DIR)/proto-scripts/phpize-proto \
+		> $(@D)/phpize-proto; \
+	chmod +x $(@D)/phpize-proto;
+
+# .tgz files from pecl contain this file
+CLEAN_PATHS += package.xml
+
+# The phpize script tries to copy some files into here, failing if the directory
+# doesn't exist.
+COMPONENT_PRE_CONFIGURE_ACTION += mkdir $(@D)/build;
+
+# phpize generates configure where it is run.
+COMPONENT_PRE_CONFIGURE_ACTION += $(CLONEY) $(SOURCE_DIR) $(@D) ;
+CONFIGURE_SCRIPT = $(@D)/configure
+COMPONENT_PRE_CONFIGURE_ACTION += cd $(@D) ; $(@D)/phpize-proto;
+
+# Change PHP_EXECUTABLE so that tests can run.
+PROTOUSRPHPVERDIR = $(PHP_PROTO_DIR)/$(CONFIGURE_PREFIX)
+COMPONENT_PRE_CONFIGURE_ACTION += \
+	$(GSED) -i -e "[email protected]^PHP_EXECUTABLE=.*@PHP_EXECUTABLE=$(PROTOUSRPHPVERDIR)/bin/[email protected]" \
+		$(CONFIGURE_SCRIPT) ;
+
+COMPONENT_PRE_CONFIGURE_ACTION += \
+		cp $(PHP_BUNDLE_DIR)/proto-scripts/php-config-proto $(@D) ;
+CONFIGURE_OPTIONS += --with-php-config=$(@D)/php-config-proto
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/php/suhosin-extension/Makefile	Fri Jun 05 09:47:02 2015 -0700
@@ -0,0 +1,56 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+
+#
+# Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
+#
+
+include ../../../make-rules/shared-macros.mk
+include $(WS_COMPONENTS)/php/php-metadata.mk
+
+COMPONENT_NAME=		suhosin
+COMPONENT_VERSION=	0.9.37.1
+COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
+COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.gz
+COMPONENT_ARCHIVE_HASH= \
+    sha256:322ba104a17196bae63d39404da103fd011b09fde0f02484dc44366511c586ba
+COMPONENT_ARCHIVE_URL=	http://download.suhosin.org/$(COMPONENT_ARCHIVE)
+COMPONENT_PROJECT_URL=	http://www.suhosin.org/
+
+TPNO=			22432
+
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
+
+include $(PHP_TOP_DIR)/phpize.mk
+
+CONFIGURE_OPTIONS += --enable-suhosin
+
+# Run MySQL tests - requires MySQL (and maybe configuration!)
+#COMPONENT_TEST_ENV += TEST_SUHOSIN_MYSQL=1
+
+configure: $(CONFIGURE_64)
+build: $(BUILD_64)
+install: $(INSTALL_64)
+test: $(TEST_64)
+
+REQUIRED_PACKAGES += system/library
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/php/suhosin-extension/depend.mk	Fri Jun 05 09:47:02 2015 -0700
@@ -0,0 +1,1 @@
+php/suhosin-extension: php/php56
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/php/suhosin-extension/suhosin-extension-php56.p5m	Fri Jun 05 09:47:02 2015 -0700
@@ -0,0 +1,41 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+
+#
+# Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
+#
+
+set name=pkg.fmri \
+    value=pkg:/web/php-56/extension/[email protected]$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
+set name=pkg.summary value="Suhosin extension for PHP"
+set name=com.oracle.info.description \
+    value="Suhosin is an advanced protection system for PHP installations."
+set name=com.oracle.info.tpno value=22432
+set name=info.classification value=org.opensolaris.category.2008:Development/PHP
+set name=info.source-url value=$(COMPONENT_ARCHIVE_URL)
+set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
+set name=org.opensolaris.arc-caseid value=PSARC/2015/255
+set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
+# linted to solve 64-bit object in 32-bit path error
+file path=usr/php/5.6/lib/extensions/no-debug-zts-20131226/suhosin.so \
+    pkg.linted.userland.action001.2=true
+license suhosin-extension.license license="PHP 3.01, LGPLv2.1, BSD, other"
+depend type=require fmri=web/php-56
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/php/suhosin-extension/suhosin-extension.license	Fri Jun 05 09:47:02 2015 -0700
@@ -0,0 +1,733 @@
+file LICENSE:
+
+-------------------------------------------------------------------- 
+                  The PHP License, version 3.01
+Copyright (c) 1999 - 2014 The PHP Group. All rights reserved.
+-------------------------------------------------------------------- 
+
+Redistribution and use in source and binary forms, with or without
+modification, is permitted provided that the following conditions
+are met:
+
+  1. Redistributions of source code must retain the above copyright
+     notice, this list of conditions and the following disclaimer.
+ 
+  2. Redistributions in binary form must reproduce the above copyright
+     notice, this list of conditions and the following disclaimer in
+     the documentation and/or other materials provided with the
+     distribution.
+ 
+  3. The name "PHP" must not be used to endorse or promote products
+     derived from this software without prior written permission. For
+     written permission, please contact [email protected]
+  
+  4. Products derived from this software may not be called "PHP", nor
+     may "PHP" appear in their name, without prior written permission
+     from [email protected]  You may indicate that your software works in
+     conjunction with PHP by saying "Foo for PHP" instead of calling
+     it "PHP Foo" or "phpfoo"
+ 
+  5. The PHP Group may publish revised and/or new versions of the
+     license from time to time. Each version will be given a
+     distinguishing version number.
+     Once covered code has been published under a particular version
+     of the license, you may always continue to use it under the terms
+     of that version. You may also choose to use such covered code
+     under the terms of any subsequent version of the license
+     published by the PHP Group. No one other than the PHP Group has
+     the right to modify the terms applicable to covered code created
+     under this License.
+
+  6. Redistributions of any form whatsoever must retain the following
+     acknowledgment:
+     "This product includes PHP software, freely available from
+     <http://www.php.net/software/>".
+
+THIS SOFTWARE IS PROVIDED BY THE PHP DEVELOPMENT TEAM ``AS IS'' AND 
+ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A 
+PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE PHP
+DEVELOPMENT TEAM OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, 
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 
+SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
+STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
+OF THE POSSIBILITY OF SUCH DAMAGE.
+
+-------------------------------------------------------------------- 
+
+This software consists of voluntary contributions made by many
+individuals on behalf of the PHP Group.
+
+The PHP Group can be contacted via Email at [email protected]
+
+For more information on the PHP Group and the PHP project, 
+please see <http://www.php.net>.
+
+PHP includes the Zend Engine, freely available at
+<http://www.zend.com>.
+
+
+
+files:
+crypt.c
+ex_imp.c
+execute.c
+header.c
+ifilter.c
+log.c
+memory_limit.c
+post_handler.c
+rfc1867_new.c
+rfc1867.c
+session.c
+sha256.c
+suhosin.c
+treat_data.c
+ufilter.c
+
+  +----------------------------------------------------------------------+
+  | Suhosin Version 1                                                    |
+  +----------------------------------------------------------------------+
+  | Copyright (c) 2006-2007 The Hardened-PHP Project                     |
+  | Copyright (c) 2007-2014 SektionEins GmbH                             |
+  +----------------------------------------------------------------------+
+  | This source file is subject to version 3.01 of the PHP license,      |
+  | that is bundled with this package in the file LICENSE, and is        |
+  | available through the world-wide-web at the following url:           |
+  | http://www.php.net/license/3_01.txt                                  |
+  | If you did not receive a copy of the PHP license and are unable to   |
+  | obtain it through the world-wide-web, please send a note to          |
+  | [email protected] so we can mail you a copy immediately.               |
+  +----------------------------------------------------------------------+
+
+
+
+file aes.c:
+
+   Copyright (c) 1999 Mike Scott
+
+...
+
+   Permission for free direct or derivative use is granted subject 
+   to compliance with any conditions that the originators of the 
+   algorithm place on its exploitation.  
+
+   Inspiration from Brian Gladman's implementation is acknowledged.
+
+
+
+file execute.c:
+
+/* MT RAND FUNCTIONS */
+
+/*
+	The following php_mt_...() functions are based on a C++ class MTRand by
+	Richard J. Wagner. For more information see the web page at
+	http://www-personal.engin.umich.edu/~wagnerr/MersenneTwister.html
+
+	Mersenne Twister random number generator -- a C++ class MTRand
+	Based on code by Makoto Matsumoto, Takuji Nishimura, and Shawn Cokus
+	Richard J. Wagner  v1.0  15 May 2003  [email protected]
+
+	The Mersenne Twister is an algorithm for generating random numbers.  It
+	was designed with consideration of the flaws in various other generators.
+	The period, 2^19937-1, and the order of equidistribution, 623 dimensions,
+	are far greater.  The generator is also fast; it avoids multiplication and
+	division, and it benefits from caches and pipelines.  For more information
+	see the inventors' web page at http://www.math.keio.ac.jp/~matumoto/emt.html
+
+	Reference
+	M. Matsumoto and T. Nishimura, "Mersenne Twister: A 623-Dimensionally
+	Equidistributed Uniform Pseudo-Random Number Generator", ACM Transactions on
+	Modeling and Computer Simulation, Vol. 8, No. 1, January 1998, pp 3-30.
+
+	Copyright (C) 1997 - 2002, Makoto Matsumoto and Takuji Nishimura,
+	Copyright (C) 2000 - 2003, Richard J. Wagner
+	All rights reserved.                          
+
+	Redistribution and use in source and binary forms, with or without
+	modification, are permitted provided that the following conditions
+	are met:
+
+	1. Redistributions of source code must retain the above copyright
+	   notice, this list of conditions and the following disclaimer.
+
+	2. Redistributions in binary form must reproduce the above copyright
+	   notice, this list of conditions and the following disclaimer in the
+	   documentation and/or other materials provided with the distribution.
+
+	3. The names of its contributors may not be used to endorse or promote 
+	   products derived from this software without specific prior written 
+	   permission.
+
+	THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+	"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+	LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+	A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+	CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+	EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+	PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+	PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+	LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+	NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+	SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+	The original code included the following notice:
+
+	When you use this, send an email to: [email protected]
+    with an appropriate reference to your work.
+
+	It would be nice to CC: [email protected] and [email protected]
+	when you write.
+*/
+
+
+
+file mbregex/mbregex.h:
+
+/* Definitions for data structures and routines for the regular
+   expression library, version 0.12.
+   Copyright (C) 1985,89,90,91,92,93,95,96,97,98 Free Software Foundation, Inc.
+
+   This file is part of the GNU C Library.  Its master source is NOT part of
+   the C library, however.  The master source lives in /gd/gnu/lib.
+
+   The GNU C Library is free software; you can redistribute it and/or
+   modify it under the terms of the GNU Library General Public License as
+   published by the Free Software Foundation; either version 2 of the
+   License, or (at your option) any later version.
+
+   The GNU C Library is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+   Library General Public License for more details.
+
+   You should have received a copy of the GNU Library General Public
+   License along with the GNU C Library; see the file COPYING.LIB.  If not,
+   write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+   Boston, MA 02111-1307, USA.  */
+/* Multi-byte extension added May, 1993 by t^2 (Takahiro Tanimoto)
+   Last change: May 21, 1993 by t^2  */
+/* modified for Ruby by [email protected] */
+
+
+
+file mbregex/COPYING.LIB:
+
+                  GNU LESSER GENERAL PUBLIC LICENSE
+                       Version 2.1, February 1999
+
+ Copyright (C) 1991, 1999 Free Software Foundation, Inc.
+     59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+[This is the first released version of the Lesser GPL.  It also counts
+ as the successor of the GNU Library Public License, version 2, hence
+ the version number 2.1.]
+
+                            Preamble
+
+  The licenses for most software are designed to take away your
+freedom to share and change it.  By contrast, the GNU General Public
+Licenses are intended to guarantee your freedom to share and change
+free software--to make sure the software is free for all its users.
+
+  This license, the Lesser General Public License, applies to some
+specially designated software packages--typically libraries--of the
+Free Software Foundation and other authors who decide to use it.  You
+can use it too, but we suggest you first think carefully about whether
+this license or the ordinary General Public License is the better
+strategy to use in any particular case, based on the explanations
+below.
+
+  When we speak of free software, we are referring to freedom of use,
+not price.  Our General Public Licenses are designed to make sure that
+you have the freedom to distribute copies of free software (and charge
+for this service if you wish); that you receive source code or can get
+it if you want it; that you can change the software and use pieces of
+it in new free programs; and that you are informed that you can do
+these things.
+
+  To protect your rights, we need to make restrictions that forbid
+distributors to deny you these rights or to ask you to surrender these
+rights.  These restrictions translate to certain responsibilities for
+you if you distribute copies of the library or if you modify it.
+
+  For example, if you distribute copies of the library, whether gratis
+or for a fee, you must give the recipients all the rights that we gave
+you.  You must make sure that they, too, receive or can get the source
+code.  If you link other code with the library, you must provide
+complete object files to the recipients, so that they can relink them
+with the library after making changes to the library and recompiling
+it.  And you must show them these terms so they know their rights.
+
+  We protect your rights with a two-step method: (1) we copyright the
+library, and (2) we offer you this license, which gives you legal
+permission to copy, distribute and/or modify the library.
+
+  To protect each distributor, we want to make it very clear that
+there is no warranty for the free library.  Also, if the library is
+modified by someone else and passed on, the recipients should know
+that what they have is not the original version, so that the original
+author's reputation will not be affected by problems that might be
+introduced by others.
+^L
+  Finally, software patents pose a constant threat to the existence of
+any free program.  We wish to make sure that a company cannot
+effectively restrict the users of a free program by obtaining a
+restrictive license from a patent holder.  Therefore, we insist that
+any patent license obtained for a version of the library must be
+consistent with the full freedom of use specified in this license.
+
+  Most GNU software, including some libraries, is covered by the
+ordinary GNU General Public License.  This license, the GNU Lesser
+General Public License, applies to certain designated libraries, and
+is quite different from the ordinary General Public License.  We use
+this license for certain libraries in order to permit linking those
+libraries into non-free programs.
+
+  When a program is linked with a library, whether statically or using
+a shared library, the combination of the two is legally speaking a
+combined work, a derivative of the original library.  The ordinary
+General Public License therefore permits such linking only if the
+entire combination fits its criteria of freedom.  The Lesser General
+Public License permits more lax criteria for linking other code with
+the library.
+
+  We call this license the "Lesser" General Public License because it
+does Less to protect the user's freedom than the ordinary General
+Public License.  It also provides other free software developers Less
+of an advantage over competing non-free programs.  These disadvantages
+are the reason we use the ordinary General Public License for many
+libraries.  However, the Lesser license provides advantages in certain
+special circumstances.
+
+  For example, on rare occasions, there may be a special need to
+encourage the widest possible use of a certain library, so that it
+becomes
+a de-facto standard.  To achieve this, non-free programs must be
+allowed to use the library.  A more frequent case is that a free
+library does the same job as widely used non-free libraries.  In this
+case, there is little to gain by limiting the free library to free
+software only, so we use the Lesser General Public License.
+
+  In other cases, permission to use a particular library in non-free
+programs enables a greater number of people to use a large body of
+free software.  For example, permission to use the GNU C Library in
+non-free programs enables many more people to use the whole GNU
+operating system, as well as its variant, the GNU/Linux operating
+system.
+
+  Although the Lesser General Public License is Less protective of the
+users' freedom, it does ensure that the user of a program that is
+linked with the Library has the freedom and the wherewithal to run
+that program using a modified version of the Library.
+
+  The precise terms and conditions for copying, distribution and
+modification follow.  Pay close attention to the difference between a
+"work based on the library" and a "work that uses the library".  The
+former contains code derived from the library, whereas the latter must
+be combined with the library in order to run.
+^L
+                  GNU LESSER GENERAL PUBLIC LICENSE
+   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+  0. This License Agreement applies to any software library or other
+program which contains a notice placed by the copyright holder or
+other authorized party saying it may be distributed under the terms of
+this Lesser General Public License (also called "this License").
+Each licensee is addressed as "you".
+
+  A "library" means a collection of software functions and/or data
+prepared so as to be conveniently linked with application programs
+(which use some of those functions and data) to form executables.
+
+  The "Library", below, refers to any such software library or work
+which has been distributed under these terms.  A "work based on the
+Library" means either the Library or any derivative work under
+copyright law: that is to say, a work containing the Library or a
+portion of it, either verbatim or with modifications and/or translated
+straightforwardly into another language.  (Hereinafter, translation is
+included without limitation in the term "modification".)
+
+  "Source code" for a work means the preferred form of the work for
+making modifications to it.  For a library, complete source code means
+all the source code for all modules it contains, plus any associated
+interface definition files, plus the scripts used to control
+compilation
+and installation of the library.
+
+  Activities other than copying, distribution and modification are not
+covered by this License; they are outside its scope.  The act of
+running a program using the Library is not restricted, and output from
+such a program is covered only if its contents constitute a work based
+on the Library (independent of the use of the Library in a tool for
+writing it).  Whether that is true depends on what the Library does
+and what the program that uses the Library does.
+
+  1. You may copy and distribute verbatim copies of the Library's
+complete source code as you receive it, in any medium, provided that
+you conspicuously and appropriately publish on each copy an
+appropriate copyright notice and disclaimer of warranty; keep intact
+all the notices that refer to this License and to the absence of any
+warranty; and distribute a copy of this License along with the
+Library.
+
+  You may charge a fee for the physical act of transferring a copy,
+and you may at your option offer warranty protection in exchange for a
+fee.
+
+  2. You may modify your copy or copies of the Library or any portion
+of it, thus forming a work based on the Library, and copy and
+distribute such modifications or work under the terms of Section 1
+above, provided that you also meet all of these conditions:
+
+    a) The modified work must itself be a software library.
+
+    b) You must cause the files modified to carry prominent notices
+    stating that you changed the files and the date of any change.
+
+    c) You must cause the whole of the work to be licensed at no
+    charge to all third parties under the terms of this License.
+
+    d) If a facility in the modified Library refers to a function or a
+    table of data to be supplied by an application program that uses
+    the facility, other than as an argument passed when the facility
+    is invoked, then you must make a good faith effort to ensure that,
+    in the event an application does not supply such function or
+    table, the facility still operates, and performs whatever part of
+    its purpose remains meaningful.
+
+    (For example, a function in a library to compute square roots has
+    a purpose that is entirely well-defined independent of the
+    application.  Therefore, Subsection 2d requires that any
+    application-supplied function or table used by this function must
+    be optional: if the application does not supply it, the square
+    root function must still compute square roots.)
+
+These requirements apply to the modified work as a whole.  If
+identifiable sections of that work are not derived from the Library,
+and can be reasonably considered independent and separate works in
+themselves, then this License, and its terms, do not apply to those
+sections when you distribute them as separate works.  But when you
+distribute the same sections as part of a whole which is a work based
+on the Library, the distribution of the whole must be on the terms of
+this License, whose permissions for other licensees extend to the
+entire whole, and thus to each and every part regardless of who wrote
+it.
+
+Thus, it is not the intent of this section to claim rights or contest
+your rights to work written entirely by you; rather, the intent is to
+exercise the right to control the distribution of derivative or
+collective works based on the Library.
+
+In addition, mere aggregation of another work not based on the Library
+with the Library (or with a work based on the Library) on a volume of
+a storage or distribution medium does not bring the other work under
+the scope of this License.
+
+  3. You may opt to apply the terms of the ordinary GNU General Public
+License instead of this License to a given copy of the Library.  To do
+this, you must alter all the notices that refer to this License, so
+that they refer to the ordinary GNU General Public License, version 2,
+instead of to this License.  (If a newer version than version 2 of the
+ordinary GNU General Public License has appeared, then you can specify
+that version instead if you wish.)  Do not make any other change in
+these notices.
+^L
+  Once this change is made in a given copy, it is irreversible for
+that copy, so the ordinary GNU General Public License applies to all
+subsequent copies and derivative works made from that copy.
+
+  This option is useful when you wish to copy part of the code of
+the Library into a program that is not a library.
+
+  4. You may copy and distribute the Library (or a portion or
+derivative of it, under Section 2) in object code or executable form
+under the terms of Sections 1 and 2 above provided that you accompany
+it with the complete corresponding machine-readable source code, which
+must be distributed under the terms of Sections 1 and 2 above on a
+medium customarily used for software interchange.
+
+  If distribution of object code is made by offering access to copy
+from a designated place, then offering equivalent access to copy the
+source code from the same place satisfies the requirement to
+distribute the source code, even though third parties are not
+compelled to copy the source along with the object code.
+
+  5. A program that contains no derivative of any portion of the
+Library, but is designed to work with the Library by being compiled or
+linked with it, is called a "work that uses the Library".  Such a
+work, in isolation, is not a derivative work of the Library, and
+therefore falls outside the scope of this License.
+
+  However, linking a "work that uses the Library" with the Library
+creates an executable that is a derivative of the Library (because it
+contains portions of the Library), rather than a "work that uses the
+library".  The executable is therefore covered by this License.
+Section 6 states terms for distribution of such executables.
+
+  When a "work that uses the Library" uses material from a header file
+that is part of the Library, the object code for the work may be a
+derivative work of the Library even though the source code is not.
+Whether this is true is especially significant if the work can be
+linked without the Library, or if the work is itself a library.  The
+threshold for this to be true is not precisely defined by law.
+
+  If such an object file uses only numerical parameters, data
+structure layouts and accessors, and small macros and small inline
+functions (ten lines or less in length), then the use of the object
+file is unrestricted, regardless of whether it is legally a derivative
+work.  (Executables containing this object code plus portions of the
+Library will still fall under Section 6.)
+
+  Otherwise, if the work is a derivative of the Library, you may
+distribute the object code for the work under the terms of Section 6.
+Any executables containing that work also fall under Section 6,
+whether or not they are linked directly with the Library itself.
+^L
+  6. As an exception to the Sections above, you may also combine or
+link a "work that uses the Library" with the Library to produce a
+work containing portions of the Library, and distribute that work
+under terms of your choice, provided that the terms permit
+modification of the work for the customer's own use and reverse
+engineering for debugging such modifications.
+
+  You must give prominent notice with each copy of the work that the
+Library is used in it and that the Library and its use are covered by
+this License.  You must supply a copy of this License.  If the work
+during execution displays copyright notices, you must include the
+copyright notice for the Library among them, as well as a reference
+directing the user to the copy of this License.  Also, you must do one
+of these things:
+
+    a) Accompany the work with the complete corresponding
+    machine-readable source code for the Library including whatever
+    changes were used in the work (which must be distributed under
+    Sections 1 and 2 above); and, if the work is an executable linked
+    with the Library, with the complete machine-readable "work that
+    uses the Library", as object code and/or source code, so that the
+    user can modify the Library and then relink to produce a modified
+    executable containing the modified Library.  (It is understood
+    that the user who changes the contents of definitions files in the
+    Library will not necessarily be able to recompile the application
+    to use the modified definitions.)
+
+    b) Use a suitable shared library mechanism for linking with the
+    Library.  A suitable mechanism is one that (1) uses at run time a
+    copy of the library already present on the user's computer system,
+    rather than copying library functions into the executable, and (2)
+    will operate properly with a modified version of the library, if
+    the user installs one, as long as the modified version is
+    interface-compatible with the version that the work was made with.
+
+    c) Accompany the work with a written offer, valid for at
+    least three years, to give the same user the materials
+    specified in Subsection 6a, above, for a charge no more
+    than the cost of performing this distribution.
+
+    d) If distribution of the work is made by offering access to copy
+    from a designated place, offer equivalent access to copy the above
+    specified materials from the same place.
+
+    e) Verify that the user has already received a copy of these
+    materials or that you have already sent this user a copy.
+
+  For an executable, the required form of the "work that uses the
+Library" must include any data and utility programs needed for
+reproducing the executable from it.  However, as a special exception,
+the materials to be distributed need not include anything that is
+normally distributed (in either source or binary form) with the major
+components (compiler, kernel, and so on) of the operating system on
+which the executable runs, unless that component itself accompanies
+the executable.
+
+  It may happen that this requirement contradicts the license
+restrictions of other proprietary libraries that do not normally
+accompany the operating system.  Such a contradiction means you cannot
+use both them and the Library together in an executable that you
+distribute.
+^L
+  7. You may place library facilities that are a work based on the
+Library side-by-side in a single library together with other library
+facilities not covered by this License, and distribute such a combined
+library, provided that the separate distribution of the work based on
+the Library and of the other library facilities is otherwise
+permitted, and provided that you do these two things:
+
+    a) Accompany the combined library with a copy of the same work
+    based on the Library, uncombined with any other library
+    facilities.  This must be distributed under the terms of the
+    Sections above.
+
+    b) Give prominent notice with the combined library of the fact
+    that part of it is a work based on the Library, and explaining
+    where to find the accompanying uncombined form of the same work.
+
+  8. You may not copy, modify, sublicense, link with, or distribute
+the Library except as expressly provided under this License.  Any
+attempt otherwise to copy, modify, sublicense, link with, or
+distribute the Library is void, and will automatically terminate your
+rights under this License.  However, parties who have received copies,
+or rights, from you under this License will not have their licenses
+terminated so long as such parties remain in full compliance.
+
+  9. You are not required to accept this License, since you have not
+signed it.  However, nothing else grants you permission to modify or
+distribute the Library or its derivative works.  These actions are
+prohibited by law if you do not accept this License.  Therefore, by
+modifying or distributing the Library (or any work based on the
+Library), you indicate your acceptance of this License to do so, and
+all its terms and conditions for copying, distributing or modifying
+the Library or works based on it.
+
+  10. Each time you redistribute the Library (or any work based on the
+Library), the recipient automatically receives a license from the
+original licensor to copy, distribute, link with or modify the Library
+subject to these terms and conditions.  You may not impose any further
+restrictions on the recipients' exercise of the rights granted herein.
+You are not responsible for enforcing compliance by third parties with
+this License.
+^L
+  11. If, as a consequence of a court judgment or allegation of patent
+infringement or for any other reason (not limited to patent issues),
+conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License.  If you cannot
+distribute so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you
+may not distribute the Library at all.  For example, if a patent
+license would not permit royalty-free redistribution of the Library by
+all those who receive copies directly or indirectly through you, then
+the only way you could satisfy both it and this License would be to
+refrain entirely from distribution of the Library.
+
+If any portion of this section is held invalid or unenforceable under
+any particular circumstance, the balance of the section is intended to
+apply, and the section as a whole is intended to apply in other
+circumstances.
+
+It is not the purpose of this section to induce you to infringe any
+patents or other property right claims or to contest validity of any
+such claims; this section has the sole purpose of protecting the
+integrity of the free software distribution system which is
+implemented by public license practices.  Many people have made
+generous contributions to the wide range of software distributed
+through that system in reliance on consistent application of that
+system; it is up to the author/donor to decide if he or she is willing
+to distribute software through any other system and a licensee cannot
+impose that choice.
+
+This section is intended to make thoroughly clear what is believed to
+be a consequence of the rest of this License.
+
+  12. If the distribution and/or use of the Library is restricted in
+certain countries either by patents or by copyrighted interfaces, the
+original copyright holder who places the Library under this License
+may add an explicit geographical distribution limitation excluding those
+countries, so that distribution is permitted only in or among
+countries not thus excluded.  In such case, this License incorporates
+the limitation as if written in the body of this License.
+
+  13. The Free Software Foundation may publish revised and/or new
+versions of the Lesser General Public License from time to time.
+Such new versions will be similar in spirit to the present version,
+but may differ in detail to address new problems or concerns.
+
+Each version is given a distinguishing version number.  If the Library
+specifies a version number of this License which applies to it and
+"any later version", you have the option of following the terms and
+conditions either of that version or of any later version published by
+the Free Software Foundation.  If the Library does not specify a
+license version number, you may choose any version ever published by
+the Free Software Foundation.
+^L
+  14. If you wish to incorporate parts of the Library into other free
+programs whose distribution conditions are incompatible with these,
+write to the author to ask for permission.  For software which is
+copyrighted by the Free Software Foundation, write to the Free
+Software Foundation; we sometimes make exceptions for this.  Our
+decision will be guided by the two goals of preserving the free status
+of all derivatives of our free software and of promoting the sharing
+and reuse of software generally.
+
+                            NO WARRANTY
+
+  15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
+WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
+EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
+OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
+KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+PURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
+LIBRARY IS WITH YOU.  SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
+THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
+
+  16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
+WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
+AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
+FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
+CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
+LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
+RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
+FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
+SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
+DAMAGES.
+
+                     END OF TERMS AND CONDITIONS
+^L
+           How to Apply These Terms to Your New Libraries
+
+  If you develop a new library, and you want it to be of the greatest
+possible use to the public, we recommend making it free software that
+everyone can redistribute and change.  You can do so by permitting
+redistribution under these terms (or, alternatively, under the terms
+of the ordinary General Public License).
+
+  To apply these terms, attach the following notices to the library.
+It is safest to attach them to the start of each source file to most
+effectively convey the exclusion of warranty; and each file should
+have at least the "copyright" line and a pointer to where the full
+notice is found.
+
+
+    <one line to give the library's name and a brief idea of what it
+does.>
+    Copyright (C) <year>  <name of author>
+
+    This library is free software; you can redistribute it and/or
+    modify it under the terms of the GNU Lesser General Public
+    License as published by the Free Software Foundation; either
+    version 2 of the License, or (at your option) any later version.
+
+    This library is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+    Lesser General Public License for more details.
+
+    You should have received a copy of the GNU Lesser General Public
+    License along with this library; if not, write to the Free Software
+    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307  USA
+
+Also add information on how to contact you by electronic and paper
+mail.
+
+You should also get your employer (if you work as a programmer) or
+your
+school, if any, to sign a "copyright disclaimer" for the library, if
+necessary.  Here is a sample; alter the names:
+
+  Yoyodyne, Inc., hereby disclaims all copyright interest in the
+  library `Frob' (a library for tweaking knobs) written by James
+Random Hacker.
+
+  <signature of Ty Coon>, 1 April 1990
+  Ty Coon, President of Vice
+
+That's all there is to it!
+
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/php/xdebug/Makefile	Fri Jun 05 09:47:02 2015 -0700
@@ -0,0 +1,54 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+
+#
+# Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
+#
+
+include ../../../make-rules/shared-macros.mk
+include $(WS_COMPONENTS)/php/php-metadata.mk
+
+COMPONENT_NAME=		xdebug
+COMPONENT_VERSION=	2.3.2
+COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
+COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tgz
+COMPONENT_ARCHIVE_HASH= \
+	sha256:f875d0f8c4e96fa7c698a461a14faa6331694be231e2ddc4f3de0733322fc6d0
+COMPONENT_ARCHIVE_URL=	http://xdebug.org/files/$(COMPONENT_ARCHIVE)
+COMPONENT_PROJECT_URL=	http://xdebug.org/
+
+TPNO=			22429
+
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/configure.mk
+include $(WS_MAKE_RULES)/ips.mk
+
+include $(PHP_TOP_DIR)/phpize.mk
+
+CONFIGURE_OPTIONS +=	--enable-xdebug
+
+configure: $(CONFIGURE_64)
+build: $(BUILD_64)
+install: $(INSTALL_64)
+test: $(NO_TESTS)
+
+REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/math
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/php/xdebug/depend.mk	Fri Jun 05 09:47:02 2015 -0700
@@ -0,0 +1,1 @@
+php/xdebug: php/php56
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/php/xdebug/xdebug-php56.p5m	Fri Jun 05 09:47:02 2015 -0700
@@ -0,0 +1,41 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+
+#
+# Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
+#
+
+set name=pkg.fmri \
+    value=pkg:/web/php-56/extension/[email protected]$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
+set name=pkg.summary value="Xdebug extension for PHP"
+set name=com.oracle.info.description \
+    value="Xdebug - Debugger and Profiler Tool for PHP"
+set name=com.oracle.info.tpno value=22429
+set name=info.classification value=org.opensolaris.category.2008:Development/PHP
+set name=info.source-url value=$(COMPONENT_ARCHIVE_URL)
+set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
+set name=org.opensolaris.arc-caseid value=PSARC/2015/255
+set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
+# linted to solve 64-bit object in 32-bit path error
+file path=usr/php/5.6/lib/extensions/no-debug-zts-20131226/xdebug.so \
+    pkg.linted.userland.action001.2=true
+license xdebug.license license=other
+depend type=require fmri=web/php-56
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/php/xdebug/xdebug.license	Fri Jun 05 09:47:02 2015 -0700
@@ -0,0 +1,194 @@
+   +----------------------------------------------------------------------+
+   | Xdebug                                                               |
+   +----------------------------------------------------------------------+
+   | Copyright (c) 2002-2015 Derick Rethans                               |
+   +----------------------------------------------------------------------+
+   | This source file is subject to version 1.0 of the Xdebug license,    |
+   | that is bundled with this package in the file LICENSE, and is        |
+   | available at through the world-wide-web at                           |
+   | http://xdebug.derickrethans.nl/license.php                           |
+   | If you did not receive a copy of the Xdebug license and are unable   |
+   | to obtain it through the world-wide-web, please send a note to       |
+   | [email protected] so we can mail you a copy immediately.       |
+   +----------------------------------------------------------------------+
+
+
+file LICENSE
+------------
+--------------------------------------------------------------------
+                 The Xdebug License, version 1.01
+             (Based on "The PHP License", version 3.0)
+   Copyright (c) 2003-2012 Derick Rethans. All rights reserved.
+--------------------------------------------------------------------
+
+Redistribution and use in source and binary forms, with or without
+modification, is permitted provided that the following conditions
+are met:
+
+  1. Redistributions of source code must retain the above copyright
+     notice, this list of conditions and the following disclaimer.
+
+  2. Redistributions in binary form must reproduce the above copyright
+     notice, this list of conditions and the following disclaimer in
+     the documentation and/or other materials provided with the
+     distribution.
+
+  3. The name "Xdebug" must not be used to endorse or promote products
+     derived from this software without prior written permission. For
+     written permission, please contact [email protected]
+
+  4. Products derived from this software may not be called "Xdebug", nor
+     may "Xdebug" appear in their name, without prior written permission
+     from [email protected]
+
+  5. Derick Rethans may publish revised and/or new versions of the
+     license from time to time. Each version will be given a
+     distinguishing version number.  Once covered code has been
+     published under a particular version of the license, you may
+     always continue to use it under the terms of that version. You
+     may also choose to use such covered code under the terms of any
+     subsequent version of the license published by Derick Rethans. No
+     one other than Derick Rethans has the right to modify the terms
+     applicable to covered code created under this License.
+
+  6. Redistributions of any form whatsoever must retain the following
+     acknowledgment: "This product includes Xdebug, freely available
+     from <http://xdebug.org/>".
+
+THIS SOFTWARE IS PROVIDED BY DERICK RETHANS ``AS IS'' AND ANY
+EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE PHP DEVELOPMENT TEAM OR
+ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+--------------------------------------------------------------------
+
+This software consists of voluntary contributions made by some
+individuals on behalf of Derick Rethans.
+
+Derick Rethans can be contacted via e-mail at [email protected]
+
+For more information Xdebug, please see <http://xdebug.org>.
+
+
+files
+xdebug_hash.c
+xdebug_hash.h
+xdebug_llist.c
+xdebug_llist.h
+------------------
+/* The contents of this file are subject to the Vulcan Logic Public
+ * License Version 1.1 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.vl-srm.net/vlpl/
+ *
+ * Software distributed under the License is distributed on an "AS
+ * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
+ * implied. See the License for the specific language governing
+ * rights and limitations under the License.
+ *
+ * The Original Code is vl-srm.net code.
+ *
+ * The Initial Developer of the Original Code is the Vulcan Logic
+ * Group.  Portions created by Vulcan Logic Group are Copyright (C)
+ * 2000, 2001, 2002 Vulcan Logic Group. All Rights Reserved.
+ *
+ * Author(s): Sterling Hughes <[email protected]>
+ */
+
+
+Vulcan Logic Public License from :
+https://launchpad.net/ubuntu/trusty/+source/xdebug/+copyright
+-------------------------------------------------------------
+Vulcan Logic Public Licence
+(Based upon the Apache Software License)
+
+Version 1.1
+Copyright (c) 2002 Vulcan Logic. All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+1. Redistributions of source code must retain the above copyright notice,
+   this list of conditions and the following disclaimer.
+
+2. Redistributions in binary form must reproduce the above copyright notice,
+   this list of conditions and the following disclaimer in the documentation
+   and/or other materials provided with the distribution.
+
+3. The end-user documentation included with the redistribution, if any, must
+   include the following acknowledgment:
+
+       "This product includes software developed by Vulcan Logic
+       (http://www.vl-srm.net/)."
+
+   Alternately, this acknowledgment may appear in the software itself,
+   if and wherever such third-party acknowledgments normally appear.
+
+4. The names "Vulcan Logic" and "SRM" must not be used to endorse or promote
+   products derived from this software without prior written permission.
+   For written permission, please contact [email protected]
+
+5. Products derived from this software may not be called "SRM", nor may
+   "SRM" appear in their name, without prior written permission of the
+   Vulcan Logic Group.
+
+THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESSED OR IMPLIED WARRANTIES,
+INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
+FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
+APACHE SOFTWARE FOUNDATION OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+file xdebug_compat.c
+--------------------
+/*
+   +----------------------------------------------------------------------+
+   | Xdebug                                                               |
+   +----------------------------------------------------------------------+
+   | Copyright (c) 2002-2015 Derick Rethans <[email protected]>           |
+   |           (c) 1997-2004 Jim Winstead <[email protected]>        |
+   |           (c) 1998-2004 Andi Gutmans <[email protected]> and             |
+   |                         Zeev Suraski <[email protected]>                 |
+   +----------------------------------------------------------------------+
+   | This source file is subject to the following Modified BSD license:   |
+   |                                                                      |
+   | Redistribution and use in source and binary forms, with or without   |
+   | modification, are permitted provided that the following conditions   |
+   | are met:                                                             |
+   |                                                                      |
+   |   1. Redistributions of source code must retain the above copyright  |
+   |      notice, this list of conditions and the following disclaimer.   |
+   |                                                                      |
+   |   2. Redistributions in binary form must reproduce the above         |
+   |      copyright notice, this list of conditions and the following     |
+   |      disclaimer in the documentation and/or other materials provided |
+   |      with the distribution.                                          |
+   |                                                                      |
+   |   3. The name of the author may not be used to endorse or promote    |
+   |      products derived from this software without specific prior      |
+   |      written permission.                                             |
+   |                                                                      |
+   | THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR |
+   | IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED       |
+   | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE   |
+   | ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY       |
+   | DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL   |
+   | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE    |
+   | GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS        |
+   | INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER |
+   | IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR      |
+   | OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN  |
+   | IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.                        |
+   +----------------------------------------------------------------------+
+ */