Page 1 of 1

PHP with XSLT enabled

Posted: Tue Dec 14, 2004 11:05 am
by JLChafardet
Hello, i got a licence of sitebuilder for plesk, and it asks me to install XSLT php extension, i have no clue how to do it, i have been reading the internet and it seems that it can be done when compiling php, your rpm's support xslt scott? if so, where or how can i install xslt on my box?

best regards,

Posted: Tue Dec 14, 2004 1:45 pm
by kilgore
yum install php-xslt (or something like that) nop ?

Posted: Tue Dec 14, 2004 2:57 pm
by scott
I obsoleted xslt a while back, because alledgedly, this newer design includes xslt functionality in the xml module. That being said, I not only have never used xslt, I dont even know what its for. :P I havent really got any way to verify that it does what its supposed to do.

thanks both for the replyes

Posted: Tue Dec 14, 2004 7:21 pm
by JLChafardet
thanks for your replies, it is for Plesk SiteBuilder, i managed to install it with an rpm that comes with sitebuilder, but now i am getting some wierd errors, about undefined function blehxslt(), i will have to ask sw-soft for support on this.

thanks

best regards,

José Luis Chafardet Grimaldi
Project Director
INSAVE C. A.

Posted: Wed Dec 15, 2004 9:51 am
by mscott
I obsoleted xslt a while back, because alledgedly, this newer design includes xslt functionality in the xml module. That being said, I not only have never used xslt, I dont even know what its for. I havent really got any way to verify that it does what its supposed to do.
Don't worry too much Scott, I used PHP-XSLT in the past (recompiled Fedora RPMS myself), but have converted code to use PHP-DOMXML now provided in the ART RPMs. The XSLT related functions in PHP-DOMXML are working fine - I'd expect the others to work, but I haven't used them.

Mark

Sitebuilder installed, sw-soft installed FC2 xslt but now...

Posted: Thu Dec 16, 2004 9:54 pm
by JLChafardet
now i cant update php to 4.3.10, as for any reason it cant fix dependencies.

error:
php-mbstring-0-4.3.10-1.r 100% |=========================| 5.8 kB 00:01
php-0-4.3.10-1.rhel3.art. 100% |=========================| 7.7 kB 00:00
php-odbc-0-4.3.10-1.rhel3 100% |=========================| 6.0 kB 00:02
php-mysql-0-4.3.10-1.rhel 100% |=========================| 5.9 kB 00:00
php-domxml-0-4.3.10-1.rhe 100% |=========================| 5.9 kB 00:00
php-pear-0-4.3.10-1.rhel3 100% |=========================| 11 kB 00:01
php-ldap-0-4.3.10-1.rhel3 100% |=========================| 5.9 kB 00:00
php-xmlrpc-0-4.3.10-1.rhe 100% |=========================| 5.8 kB 00:00
php-mhash-0-4.3.10-1.rhel 100% |=========================| 5.8 kB 00:00
php-pgsql-0-4.3.10-1.rhel 100% |=========================| 6.0 kB 00:00
php-devel-0-4.3.10-1.rhel 100% |=========================| 13 kB 00:00
php-snmp-0-4.3.10-1.rhel3 100% |=========================| 5.9 kB 00:00
perl-3-5.8.5-9.rhel3.art. 100% |=========================| 76 kB 00:07
php-mcrypt-0-4.3.10-1.rhe 100% |=========================| 6.0 kB 00:00
php-imap-0-4.3.10-1.rhel3 100% |=========================| 6.0 kB 00:00
perl-suidperl-3-5.8.5-9.1 100% |=========================| 5.7 kB 00:00
Resolving dependencies
.Package Sitebuilder_psa needs php-xslt, this is not available.

what to do now? have i to stay binded to 4.3.9???

:S

Best regards,

José Luis Chafardet Grimaldi
Project Director
INSAVE C. A.

Posted: Sun Dec 19, 2004 12:52 pm
by eilko
I had the same problems. I removed the php-xlt rpm (ignoring the warnings) and installed php 4.3.10 and after that I installed again the php-xlt rpm from sitebuilder tar. Works fine now...

Posted: Mon Dec 20, 2004 3:21 pm
by JLChafardet
wich sitebuilder tar? the 1.1.0?

Posted: Mon Dec 20, 2004 3:58 pm
by eilko
yes, the 1.1.0. But it is the same as the one in the 1.0.2 or 1.0.0

Posted: Mon Dec 20, 2004 6:34 pm
by scott
Hmm, I thought I did a Provides: on php-xslt in the php-domxml rpm. I'll have to poke around the spec file again, but that function would (normally) trick the psa rpm into thinking php-xslt is there.

Posted: Wed Dec 22, 2004 7:39 pm
by JLChafardet
I think php-xslt is needed by sitebuilder for install, not only to have php xslt ready, it looks for rpm dependencies and if you dont have php-xslt no go.

Posted: Thu Dec 23, 2004 12:46 am
by scott
a Provides: statement in an rpm basically enters an alternate name for a package in the database. So a Provides: php-xslt on php-domxml would equate to php-xslt being installed. I thought I did that, but I also seem to recall pulling it out for some reason I can't remember. I did probably 40 versions of php when I was converting over to the FC2 base rpm so its kind of hard to remember (and Ive probably built 1500 rpms since then.. too much information in my noggin)

Posted: Thu Dec 23, 2004 3:32 am
by JLChafardet
lol yeah! well the fact is that it wasnt :) and it asked me to install, the sw-soft people infirst instance installed me a working copy of php-xslt as the one shipped with sitebuilder didnt worked, now i removed it, upgraded to php 4.3.10 and reinstalled xslt and works like charm.

best regards,

Posted: Thu Dec 23, 2004 3:33 am
by JLChafardet
lol yeah! well the fact is that it wasnt :) and it asked me to install, the sw-soft people infirst instance installed me a working copy of php-xslt as the one shipped with sitebuilder didnt worked, now i removed it, upgraded to php 4.3.10 and reinstalled xslt and works like charm.

best regards,