Looks good. --- Bart Smaalders <bart.smaalders at Sun.COM> wrote:
> I'm sponsoring the attached fast-track for Stefan Teleman. > The requested binding is patch/micro release, and the > stability levels are as noted in the document. > > Materials are in the case directory. > > This case times out on 3/28/2007. > > - Bart > -- > Bart Smaalders Solaris Kernel Performance > barts at cyber.eng.sun.com http://blogs.sun.com/barts > > Including PHP5 with Solaris > > Stefan Teleman <Stefan.Teleman at Sun.COM> > 15 March 2007 > > 1. Summary and motivation > > The inclusion of PHP5 in Solaris as a component of SAPP > [Solaris, Apache, PostgreSQL, PHP] will address a current > shortcoming of SMI's software portfolio. > > The absence in Solaris of a LAMP [Linux, Apache, MySQL, PHP] > equivalent software stack has allowed Linux to create the > perception that it is the operating environment of choice for > web-based applications. > > This case seeks Micro/Patch Release Binding. > > 2. Technical issues > 2.1. Key objects. > > /usr/bin/php > /usr/bin/php-config > /usr/bin/phpize > /usr/lib/libphp5-5.2.0.so > /usr/lib/libphp5.so -> /usr/lib/libphp5-5.2.0.so > /etc/php5/php.ini > > All other objects will be contained within the /usr/php5/[version] > hierarchy. This hierarchy will loosely track that of the publicly > available version. > > The current version of PHP5 [5.2.0] is 64-bit clean and largefile > aware. A 64-bit version of PHP is being considered for a future > release. > > 2.2. Versioning > > The PHP5 development process follows the ubiquitous > "continuous development" model, typical of many Open Source > projects. > Currently, two Releases of PHP coexist, and are still under > development: PHP4 and PHP5. Also, PHP6 is currently under active > development, and is scheduled to be released sometime during 2007. > None of these three Releases make any guarantees of API and ABI > compatibility. > > The PHP versioning model has followed the <Release>.<Major>.<Minor> > model. The version of PHP5 proposed for inclusion in Solaris is PHP > 5.2.0. > > 2.3. Directory Naming and Structure > > The proposed directory layout for PHP5 is: > /usr/php5/ > bin -> [version]/bin > doc -> [version]/doc > etc -> /etc/php5 > include -> [version]/include > lib -> [version]/lib > man -> [version]/man > modules -> [version]/modules > share -> [version]/share > > The detailed directory and file layout for PHP5 is provided in > Addendum 1. > > 2.4. Packaging and Delivery > > The current proposal allows for the inclusion and coexistence > of multiple versions of PHP by keeping each installation under > a version-specific subdirectory. The following package naming > convention is proposed: > > SUNWphp520root > SUNWphp520core > SUNWphp520usr > SUNWphp520man > SUNWphp520doc > > SUNWphp520root will deliver only one file, the system-wide PHP5 > configuration file: > > /etc/php5/php.ini > > SUNWphp520core will deliver the minimal filesystem objects for a > functional PHP5 Apache installation: > > SUNWphp520core: > > /usr/php5/etc -> /etc/php5 > > /usr/php5/[version]/lib > /usr/php5/[version]/modules > /usr/php5/lib -> /usr/php5/[version]/lib > /usr/php5/modules -> /usr/php5/[version]/modules > > SUNWphp520usr will deliver the additional userland and developer > filesystem objects: > > SUNWphp520usr: > > /usr/php5/[version]/bin > /usr/php5/[version]/include > /usr/php5[version]/share > /usr/php5/bin -> /usr/php5/[version]/bin > /usr/php5/include -> /usr/php5/[version]/include > /usr/php5/share -> /usr/php5[version]/share > > SUNWphp520doc will deliver the full and complete PHP5 > documentation in HTML format. > > SUNWphp520man will deliver the available man pages for PHP5: > > /usr/share/man/man1/php.1 > /usr/php5/[version]/man/man1/php.1 > /usr/php5/[version]/man/man1/php-config.1 > /usr/php5/[version]/man/man1/phpize.1 > /usr/php5/man -> /usr/php5/[version]/man > > 3. PHP5 Modules [Extensions]. > > PHP supports a loadable module interface (known in PHP parlance > as "Extensions"), allowing the PHP runtime to communicate with, > and bind to, external interfaces. This module interface also allows > for the clean integration of new PHP features or bindings. In > addition, > SMI may want to provide customers internally developed PHP > Extensions. > PHP Extensions have an associated dynamically loadable shared object > (*.so). As mentioned earlier, PHP makes no guarantee of binary > compatibility between releases. Maintaining PHP within the > constraint > of such possible binary incompatibilities motivates the directory > layout structure proposed in 2.3. > > 3.1. PHP Core Modules. > > The initial integration will provide a subset of the PHP5 > Core Extensions as delivered by the canonical PHP5 Release: > > pcre [Perl-Compatible Regular Expressions] > idn [International Domain Names Resolver] > gd [Graphics Device] > exif [EXIF Metadata Information] > psql [PostgreSQL bindings] > mbstring [Multi-Byte Strings/UTF Encoding bindings] > gettext [GNU-compatible gettext binding] > iconv [GNU compatible character encoding/conversion bindings] > xml [XML bindings] > pdo [PHP Database Objects bindings] > pgsql [PostgreSQL bindings] > soap [SOAP bindings] > spl [Standard PHP Library] > ssl [OpenSSL bindings] > tcpwrap [TCPWrap bindings] > tidy [HTML parsing and validation library] > zlib [libz compression bindings] > bz2 [libbz2 compression bindings] > zip [libzip bindings] > json [JavaScript bindings] > bcmath [Binary Calculator Math bindings] > calendar [Calendar bindings] > ctype [Character bindings] > curl [C-URL bindings] > dom [DOM XSLT bindings] > posix [POSIX bindings] > sockets [libsocket bindings] > session [PHP Session bindings] > suhosin [Hardened PHP Extension] > apc [Advanced PHP Caching Extension] > > Additional Extensions can be delivered subsequent to the initial > PHP5 integration, depending on customer requests, and on the > availability of the external dependencies required by these > Extensions. > > 4. PHP5 Internationalization. > > PHP5 provide basic I18N support via its ctype/gettext/iconv/mbstring > Extensions. As an externally developed application, PHP5 will not > provide additional Internationalization support beyond what is > provided > by the canonical distribution. > > 5. PHP5 Documentation. > > PHP5 comes with an exhaustive set of documentation available in > several > languages from the PHP Site [http://www.php.net/docs.php] [2]. > > 5.1. Full Adoption. > > The full PHP5 documentation is available for download from the PHP > Site > [http://www.php.net/download-docs.php] [3]. This documentation > collection > should be placed in the separate [doc] directory for each PHP5 > Release > [/usr/php5/[version]/doc], with an appropriate symbolic link to > /usr/php5/doc. > === message truncated ===> _______________________________________________ > opensolaris-arc mailing list > opensolaris-arc at opensolaris.org *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* Octave J. Orgeron Solaris Systems Engineer http://www.opensolaris.org/os/community/sysadmin/ http://unixconsole.blogspot.com unixconsole at yahoo.com *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* ____________________________________________________________________________________ Finding fabulous fares is fun. Let Yahoo! FareChase search your favorite travel sites to find flight and hotel bargains. http://farechase.yahoo.com/promo-generic-14795097
