PHP with XSLT enabled

Support/Development for PHP
JLChafardet
Forum User
Forum User
Posts: 46
Joined: Tue Dec 14, 2004 11:03 am

PHP with XSLT enabled

Unread post 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,
kilgore
Forum User
Forum User
Posts: 53
Joined: Sat Dec 04, 2004 4:37 am

Unread post by kilgore »

yum install php-xslt (or something like that) nop ?
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post 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.
JLChafardet
Forum User
Forum User
Posts: 46
Joined: Tue Dec 14, 2004 11:03 am

thanks both for the replyes

Unread post 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.
mscott
New Forum User
New Forum User
Posts: 1
Joined: Wed Dec 15, 2004 9:32 am
Location: Edinburgh, UK

Unread post 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
JLChafardet
Forum User
Forum User
Posts: 46
Joined: Tue Dec 14, 2004 11:03 am

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

Unread post 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.
eilko

Unread post 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...
JLChafardet
Forum User
Forum User
Posts: 46
Joined: Tue Dec 14, 2004 11:03 am

Unread post by JLChafardet »

wich sitebuilder tar? the 1.1.0?
eilko

Unread post by eilko »

yes, the 1.1.0. But it is the same as the one in the 1.0.2 or 1.0.0
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post 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.
JLChafardet
Forum User
Forum User
Posts: 46
Joined: Tue Dec 14, 2004 11:03 am

Unread post 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.
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post 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)
JLChafardet
Forum User
Forum User
Posts: 46
Joined: Tue Dec 14, 2004 11:03 am

Unread post 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,
JLChafardet
Forum User
Forum User
Posts: 46
Joined: Tue Dec 14, 2004 11:03 am

Unread post 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,
Post Reply