LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   PHP what configure options for xslt_process etc. (https://www.linuxquestions.org/questions/linux-server-73/php-what-configure-options-for-xslt_process-etc-669188/)

xeross 09-11-2008 07:03 AM

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

bathory 09-11-2008 09:33 AM

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

xeross 09-11-2008 05:03 PM

Wouldnt configure give an error if xsl couldnt be found, cus it didnt give one.
also how can i view the xsl version

bathory 09-12-2008 02:27 AM

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?


All times are GMT -5. The time now is 05:44 AM.