LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-11-2008, 07:03 AM   #1
xeross
Member
 
Registered: Apr 2008
Posts: 48

Rep: Reputation: 15
Question PHP what configure options for xslt_process etc.


Hey,

I am trying to get xslt working on php and i tried the switches in the manual
Quote:
--enable-xslt --with-xslt-sablot
But on the end of the configure it sais they are unknown or invalid configure options.
I also tried
Quote:
--with-xsl
that compiles fine but doesnt enable the functions.
So how can i enable xslt functions in php

Thanks for your time, Xeross
 
Old 09-11-2008, 09:33 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 12,663

Rep: Reputation: 1818Reputation: 1818Reputation: 1818Reputation: 1818Reputation: 1818Reputation: 1818Reputation: 1818Reputation: 1818Reputation: 1818Reputation: 1818Reputation: 1818
Quote:
I am trying to get xslt working on php and i tried the switches in the manual
--enable-xslt --with-xslt-sablot
But on the end of the configure it sais they are unknown or invalid configure options.
That was for php4. For php5 you should use --with-xsl You can also specify the libxslt directory:
Code:
--with-xsl=/usr
Mind that libxslt >= 1.1.0 is required.

Regards
 
Old 09-11-2008, 05:03 PM   #3
xeross
Member
 
Registered: Apr 2008
Posts: 48

Original Poster
Rep: Reputation: 15
Wouldnt configure give an error if xsl couldnt be found, cus it didnt give one.
also how can i view the xsl version
 
Old 09-12-2008, 02:27 AM   #4
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 12,663

Rep: Reputation: 1818Reputation: 1818Reputation: 1818Reputation: 1818Reputation: 1818Reputation: 1818Reputation: 1818Reputation: 1818Reputation: 1818Reputation: 1818Reputation: 1818
Quote:
Wouldnt configure give an error if xsl couldnt be found, cus it didnt give one.
Yes it should give an error.
Quote:
also how can i view the xsl version
You can use your package manager. If you're using Slackware a quick way is:
Code:
find /var/log/packages/ -name "libxsl*"
But I doubt that this is the case, since version 1.1.0 is pretty old.
Can you post your ./configure script here?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache & PHP configure options m2azer Linux - Newbie 1 02-22-2007 09:52 AM
My Apache and PHP configure options - Did I miss anything? Basel Linux - Software 2 05-19-2006 04:36 AM
How to add options in php.in after installation of PHP? touqeeransar Linux - Software 1 11-30-2005 04:52 AM
php xslt_process atomicx Programming 0 06-24-2005 02:40 PM
./configure - which options? Zingaro2002 Linux - General 4 01-24-2003 01:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:06 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration