Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

It is said here

PHP5 includes the XSL extension by default and it can be enabled by adding the argument --with-xsl[=DIR] to your configure line. DIR is the libxslt installation directory.

But I don't understand what configure line is about (is it php.ini ?)

share|improve this question
why not do XSL the typical way by just adding a include in the HEAD section of HTML? – djangofan Dec 4 '09 at 21:54
I'm following a tut on symfony and it requires that I do so. – asksuperuser Dec 5 '09 at 11:43

It needs to be compiled in when PHP5 is compiled, but it probably is. Adobe has a good article on enabling it (which doesn't apply if you're using a hosted account) and testing for it here: Configuring and Testing PHP Servers for XSL Support as part of their Dreamweaver support

share|improve this answer
+1 because this covers most of the install methods. For linux you should try apt-get install libxml libxslt or yum install libxml libxslt which is easier than the compile from source method mentioned by Adobe. – ricbax Dec 4 '09 at 21:53
The Adobe link is broken now :-( – Dominic Sayers Mar 10 '11 at 18:07

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.