安装

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 30-Mar-2017 03: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 02:26
On some linux systems you might be able to simply do this:

sudo apt-get install php5-xsl

or similar.