I am sponsoring this case for Sriram Natarajan; timeout set to 11/03/2009.
Template Version: @(#)sac_nextcase 1.68 02/23/09 SMI
This information is Copyright 2009 Sun Microsystems
1. Introduction
1.1. Project/Component Working Name:
Update to PHP 5.2 to deliver additional features
1.2. Name of Document Author/Supplier:
Author: Sriram Natarajan
1.3 Date of This Document:
16 October, 2009
4. Technical Description
Update to PHP 5.2 to deliver additional features
15 October 2009
1. Summary and motivation
1.1. Introduction
This project will deliver following:
a) Include "ncurses" and "unixODBC" extension for PHP 5.2.x
b) Split following PHP extensions to be in their own packages:
APC, Suhosin, tcpwrap, idn, xdebug, memcache, snmp
c) Update PHP DTrace probe names to be consistent with upstream
community
This case seeks Minor Release Binding
1.2 Previous Relevant ARC cases
PSARC/2007/641 - Enabling built-in extensions.
PSARC/2007/552 - Upgrading PHP 5.2.4
PSARC/2007/470 - Upgrading PHP 5.2.3
PSARC/2007/168 - Integrating PHP 5.2.0
PSARC/2008/538 - Integrating PHP 5.2.6
2. Technical issues
a) PHP NCurses Extension
NCurses extension is bundled within PHP and this extension depends
on ncurses library available in the system. Ncurses library
is currently shipped under MIT license.
b) PHP unixODBC Extension
unixODBC extension is bundled within PHP and this extension depends
on unixODBC client library to be available on the systme. unixODBC
library currently shipped under LGPLv2 license.
2.1 Key objects
/usr/php/5.2/modules/ncurses.so
/usr/php/5.2/modules/odbc.so
2.2 Versioning
n/a
2.4 Directory Naming and Structure
Compared to existing PHP ARC case, there is no change in top level
directory structure.
2.5 Configuration File
/etc/php/5.2/conf.d/ncurses.ini
/etc/php/5.2/conf.d/odbc.ini
2.6 Docroot and Log Files
No change in document and log files.
2.7 SMF and RBAC support
n/a
2.8 Packaging and Delivery
The new extensions (ncurses and odbc) will be delivered in
their own packages.
The previously delivered extensions apc, memcache, suhosin,
tcpwrap, xdebug, idn will be refactored so they are also
delivered in individual packages. This is being done to allow
enabling these extensions by simply installing its package.
Currently, users need to manually enable these extensions by
editing the corresponding ini file. These new packages will
contain the corresponding ini file and its runtime object file.
Specifically, each SUNWphp52u-$MODULE package will deliver the files:
/usr/php/5.2/modules/$MODULE.so
/etc/php/5.2/conf.d/$MODULE.ini
The existing 'dtrace.so' extension will no longer be delivered
in the form of a standalone extension. The dtrace support has
been rolled into the PHP engine itself by the PHP community.
There are no public interface changes as a result of this
refactoring (except the renamed probe noted in s.3.3.2).
2.9 Package Dependencies
SUNWphp52u-ncurses will depend on SUNWncurses
SUNWphp52u-odbc will depend on SUNWunixodbc
SUNWphp52u-snmp will depend on SUNWnetsnmp-core
All the SUNWphp52u-$MODULE packages depend on SUNWphp52u package.
3. Interfaces
3.1 Interface Stability
3.2 Imported Interfaces
NAME STABILITY NOTES
--------------------------------------------------------
NCurses APIs Uncommitted LSARC/2008/524
unixODBC APIs Uncommitted LSARC/2007/684
3.3 Exported Interfaces
3.3.2 PHP DTrace probe names
NAME STABILITY NOTES
----------------------------------------------------------------------
request-startup Volatile Existing probe, clarifying stability
request-shutdown Volatile Existing probe, clarifying stability
compile-file-entry Volatile Existing probe, clarifying stability
compile-file-return Volatile Existing probe, clarifying stability
execute-entry Volatile Existing probe, clarifying stability
execute-return Volatile Existing probe, clarifying stability
execute-file-entry Volatile Existing probe, clarifying stability
execute-file-return Volatile Existing probe, clarifying stability
exception-thrown Volatile Existing probe, clarifying stability
exception-caught Volatile Renamed from exception-catched
object-create Volatile New probe
object-free Volatile New probe
gc-begin Volatile New probe
gc-end Volatile New probe
3.3.1 New Packages
NAME STABILITY NOTES
---------------------------------------------------------
SUNWphp52u-apc Uncommitted
SUNWphp52r-apc Uncommitted
SUNWphp52u-suhosin Uncommitted
SUNWphp52r-suhosin Uncommitted
SUNWphp52u-xdebug Uncommitted
SUNWphp52r-xdebug Uncommitted
SUNWphp52u-idn Uncommitted
SUNWphp52r-idn Uncommitted
SUNWphp52u-tcpwrap Uncommitted
SUNWphp52r-tcpwrap Uncommitted
SUNWphp52u-snmp Uncommitted
SUNWphp52r-snmp Uncommitted
SUNWphp52u-memcache Uncommitted
SUNWphp52r-memcache Uncommitted
3.3.2 Directories / Files
NAME STABILITY NOTES
---------------------------------------------------------------
/etc/php/5.2/conf.d/ncurses.ini Uncommitted
/etc/php/5.2/conf.d/odbc.ini Uncommitted
/etc/php/5.2/conf.d/xdebug.ini Uncommitted
/etc/php/5.2/conf.d/suhosin.ini Uncommitted
/etc/php/5.2/conf.d/tcpwrap.ini Uncommitted
/etc/php/5.2/conf.d/idn.ini Uncommitted
/etc/php/5.2/conf.d/memcache.ini Uncommitted
/etc/php/5.2/conf.d/apc.ini Uncommitted
6. Resources and Schedule
6.4. Steering Committee requested information
6.4.1. Consolidation C-team Name:
sfw
6.5. ARC review type: FastTrack
6.6. ARC Exposure: open