title: Fatal error: Class 'XSLTProcessor' not found - but is installed
body: <p>When try to do the following</p>
  
  <pre><code>$xsl = new XSLTProcessor();
  </code></pre>
  
  <p>I am getting this error</p>
  
  <blockquote>
    <p>Fatal error: Class 'XSLTProcessor' not found in</p>
  </blockquote>
  
  <p>I've seen <a href="https://stackoverflow.com/questions/7930726/fatal-error-class-xsltprocessor-not-found">this question about this exact same error</a> (and <a href="https://stackoverflow.com/questions/9038262/class-xsltprocessor-not-found">this one</a>) but I think this is different. Am I right in saying (I've tested it and appear to be) that because the extension details are shown in phpinfo() it is indeed installed correctly?</p>
  
  <p><a href="https://i.stack.imgur.com/ceYKP.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ceYKP.png" alt="enter image description here"></a>
  <a href="https://i.stack.imgur.com/VUFOU.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/VUFOU.png" alt="enter image description here"></a>
  <a href="https://i.stack.imgur.com/879BF.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/879BF.png" alt="enter image description here"></a></p>
  
  <p>Is that the case, or would it always show in phpinfo() regardless of it being installed successfully? And do you know what might be causing the error if it is successfully installed?</p>
  
  <p>I've tried several versions of PHP and for what it is worth I am hosted on Azure and have <a href="https://azure.microsoft.com/en-us/documentation/articles/web-sites-php-configure/#how-to-enable-extensions-in-the-default-php-runtime" rel="nofollow noreferrer">followed and checked the instructions here</a> which further leads me to believe the extension is installed correctly.</p>