[CentOS] Rebuilding PHP: how do I manage updates?

Tue Jan 29 14:01:38 UTC 2008
Johnny Hughes <johnny at centos.org>

Niki Kovacs wrote:
> Niki Kovacs a écrit :
>> Hi,
>>
>> Our public library management software (PMB) runs on Apache/PHP/MySQL. 
>> It requires some additional PHP modules to run correctly, namely:
>>
>> 1) php-gd
>> 2) php-yaz
>> 3) php-xslt
>>
> 
> Post Scriptum: I just wonder if the required php-xslt module is not 
> identical with the CentOS 5 php-xml module. Here's what 'yum info 
> php-xml' returns:
> 
> Summary: A module for PHP applications which use XML
> Description:
> The php-xml package contains dynamic shared objects which add support
> to PHP for manipulating XML documents using the DOM tree,
> and performing XSL transformations on XML documents.
> 
> Can anyone confirm/infirm this?

If you had to add a switch to the configure file (you said 
--with-xslt-sablot) then it probably not the same.

This is the configure line I see in php-5.1.6 for centos:

./configure --build=i686-redhat-linux-gnu --host=i686-redhat-linux-gnu 
--target=i386-redhat-linux-gnu --program-prefix= --prefix=/usr 
--exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin 
--sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include 
--libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var 
--sharedstatedir=/usr/com --mandir=/usr/share/man 
--infodir=/usr/share/info --cache-file=../config.cache --with-libdir=lib 
--with-config-file-path=/etc --with-config-file-scan-dir=/etc/php.d 
--disable-debug --with-pic --disable-rpath --without-pear --with-bz2 
--with-curl --with-exec-dir=/usr/bin --with-freetype-dir=/usr 
--with-png-dir=/usr --enable-gd-native-ttf --without-gdbm --with-gettext 
--with-gmp --with-iconv --with-jpeg-dir=/usr --with-openssl --with-png 
--with-pspell --with-expat-dir=/usr --with-pcre-regex=/usr --with-zlib 
--with-layout=GNU --enable-exif --enable-ftp --enable-magic-quotes 
--enable-sockets --enable-sysvsem --enable-sysvshm --enable-sysvmsg 
--enable-track-vars --enable-trans-sid --enable-yp --enable-wddx 
--with-kerberos --enable-ucd-snmp-hack --with-unixODBC=shared,/usr 
--enable-memory-limit --enable-shmop --enable-calendar --enable-dbx 
--enable-dio --with-mime-magic=/etc/httpd/conf/magic --without-sqlite 
--with-libxml-dir=/usr --with-xml --enable-force-cgi-redirect 
--enable-pcntl --with-imap=shared --with-imap-ssl 
--enable-mbstring=shared --enable-mbstr-enc-trans --enable-mbregex 
--with-ncurses=shared --with-gd=shared --enable-bcmath=shared 
--enable-dba=shared --with-db4=/usr --with-xmlrpc=shared 
--with-ldap=shared --with-mysql=shared,/usr 
--with-mysqli=shared,/usr/bin/mysql_config --enable-dom=shared 
--with-dom-xslt=/usr --with-dom-exslt=/usr --with-pgsql=shared 
--with-snmp=shared,/usr --enable-soap=shared --with-xsl=shared,/usr 
--enable-xmlreader=shared --enable-xmlwriter=shared --enable-fastcgi 
--enable-pdo=shared --with-pdo-odbc=shared,unixODBC,/usr 
--with-pdo-mysql=shared,/usr --with-pdo-pgsql=shared,/usr 
--with-pdo-sqlite=shared,/usr

That has --with-dom-xslt=/usr  and --with-dom-exslt=/usr ... but not 
--with-xslt-sablot

Thanks,
Johnny Hughes

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
URL: <http://lists.centos.org/pipermail/centos/attachments/20080129/bb67ccf7/attachment-0005.sig>