Fatal error: Class 'XSLTProcessor' not found

user478636 picture user478636 · Oct 28, 2011 · Viewed 39.7k times · Source

I'm using XAMPP Server 1.7.7

While opening the php file, i receive the error

Fatal error: Class 'XSLTProcessor' not found

Answer

Berry Langerak picture Berry Langerak · Oct 28, 2011

Install the XSL extension to get that class. This might be as easy as uncommenting (remove the starting ';') on the line that reads extension=php_xsl.dll in php.ini on Windows, or apt-get install php5-xsl on most Linux-based systems. For custom builds of PHP, use configure option --with-xsl (requires package libxslt1-dev).