Itay Moav -Malimovka
Itay Moav -Malimovka

Reputation: 53597

What to install to make XSLTProcessor work?

I am using PHP Version 5.3.2-1ubuntu4.11
LibXML is enabled:

dom
DOM/XML     enabled
DOM/XML API Version     20031129
libxml Version  2.7.6
HTML Support    enabled
XPath Support   enabled
XPointer Support    enabled
Schema Support  enabled
RelaxNG Support     enabled 

But, when I write: $XP = new XSLTProcessor; The parser has no idea what I am talking about. I use autoload...can't find a file to include. What am I missing?

Upvotes: 1

Views: 4662

Answers (1)

Mark Baker
Mark Baker

Reputation: 212402

--with-xsl[=DIR]

where DIR is the libxslt installation directory

when you do a manual ./configure, make, make install of PHP from source

or

sudo apt-get install php5-xsl

might work

Upvotes: 4

Related Questions