On some linux systems you might be able to simply do this:
sudo apt-get install php5-xsl
or similar.
Installation
PHP 5 includes the XSL extension by default and can be enabled by adding the argument --with-xsl[=DIR] to your configure line. DIR is the libxslt installation directory.
