Fatal error: Class ‘XSLTProcessor’ not found

When i was working on the xsl i got the following error “Fatal error: Class ‘XSLTProcessor’ not found”.So after some google search i found some solution.which need to install the xsl extension.

For Unix Users

Follow the below steps to install the xsl extension:

1) From terminal run the command sudo apt-get install php5-xsl.
2) Install it and then restart your server.I am using Apache (sudo /etc/init.d/apache2 restart)

then it is solved.

For Unix Windows Users

1) You can find the line extension=php_xsl.dll in your php.ini file on the Windows and just remove “;” from the beginning of line.
2) Then restart your server.I am using Apache (sudo /etc/init.d/apache2 restart)

Advertisements
Leave a comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: