Koozali.org: home of the SME Server

XSLT support in PHP 6.0.1 or greater

Mac_servicer

XSLT support in PHP 6.0.1 or greater
« on: October 07, 2005, 03:58:52 PM »
For a number of reason I have found that I require XSLT support as part of the PHP install.

Has anyone else had any luck as the current PHP does not appear to have xslt configured.

Or would this need too many changes ??

ergozd

XSLT support in PHP 6.0.1 or greater
« Reply #1 on: October 11, 2005, 08:32:29 PM »
I tried enabling support for XSLT but it didn't go well... :-?

I tried options mentioned in http://se.php.net/manual/sv/ref.xslt.php with no luck. May be next version of PHP or SME7 might have something to offer...

Good luck anyway.

Ard

XSLT support in PHP 6.0.1 or greater
« Reply #2 on: October 14, 2005, 04:30:32 PM »
I managed to compile Ergin's sources with php-xslt in it (took some time to sort things out though). I've sent the changes to him and he will incorporate them in his package this weekend. So hang on there and check his site: http://ergin.dyndns.org/download/RPMS/contribs/PHP/

ergozd

XSLT support in PHP 6.0.1 or greater
« Reply #3 on: October 15, 2005, 08:54:46 AM »
Thanks to Ard's efforts PHP is now also compiled with XSLT extension. A few pointers before you go any further

1 - Installing php-xslt will require sablotron , js and iconv(libiconv.so.2). I've not found any RedHat 7.3 compatible RPM for iconv so I've installed it from source. Sablotron and js is fetched from Dags repository...
Homepage for iconv http://www.gnu.org/software/libiconv/
To download and install all these

Code: [Select]


wget http://dag.wieers.com/packages/js/js-1.5-0.rc6a.0.rh7.rf.i386.rpm
wget http://dag.wieers.com/packages/sablotron/sablotron-1.0.2-1.0.rh7.rf.i386.rpm
rpm -ivh js-1.5-0.rc6a.0.rh7.rf.i386.rpm sablotron-1.0.2-1.0.rh7.rf.i386.rpm

wget http://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.9.1.tar.gz
# cd libiconv-1.9.1
# ./configure --prefix=/usr
# make
# make install


2 - If you want to use php-upgrade script pls take your time to uncomment lines so you have correct extensions installed and activated in your <b>/etc/php.ini</b> file. Make sure to uncomment 2 lines for each extension, 1st to download and 2nd to create php.ini templates.

3 - As I always point out, you install this software AT YOUR OWN RISK ;-)

4 - I appriciate any feedback so any possible issues/bugs can be sorted out

5 - If you're planning to upgrade to SME7 later pls make sure to read more about how you can remove any upgrade from your system before upgrading to SME7
http://no.longer.valid/phpwiki/index.php/SME6.0.1Contribs-RemovalScript

6 - If you still want install OR upgrade
http://ergin.dyndns.org/download/scripts/php4.4.0-upgrade.sh
http://ergin.dyndns.org/download/RPMS/contribs/PHP/