安装

PHP 5 includes the XSL extension by default and can be enabled by adding the argument --with-xsl[=DIR] to your configure line (DIR being the libxslt installation directory).

User Contributed Notes

manuel dot jebauer at gmx dot de 31-Mar-2017 12:57
sudo apt-get install php5-xsl
sudo /etc/init.d/apache restart
worked for me on Linux Mint 17.3 to intall XSL.
Michael 11-Jun-2009 11:26
On some linux systems you might be able to simply do this:

sudo apt-get install php5-xsl

or similar.