Enabling XSLT in PHP 7?

Hi folks. I’m not sure how to make the XSLTProcessor class in PHP available for use. I had a peek in YaST for a PHP XSLT module and a small number of results came up, but I didn’t see any mention of any of them being modules for PHP 7. An internet search I tried brought up someone saying that many distros have XSLT pupport compliled in, but disabled by default. So I did a search in /ect/php7/apache2/php.ini for XSLT and nothing came up, but dropping the “T” took me to line 949 where it had

;extension=xsl

so I removed the comment and restarted Apache, but that didn’t seem to help. I used to just make sure the required libraries were installed and then just compile from source, but I’m trying to get used to doing things the “easy” way, and stick to standardised methods of maintaining the system with things like the YaST package manager and other pre-made tools.

It took me a while to figure out that I still had to install the MySQLi module seperately because it wasn’t pulled in by the LAMP pattern, but I got there in the end. So when PHP started issuing similar complaints about being unable to find the XSLTProcessor class, I just looked in YaST, but didn’t find anything that looked like it quite fit the bill. So rather than waste time possibly installing software that’s useless to me and forgetting what I’ve been fiddling with, I thought it best to come straight here and ask what I should be doing.

Is the supporting software installed and I just need to enable it by changing something in PHP’s configuration, or should I be installing something from YaST?

Actually, never mind. I just had the idea of searching for “PHP7-” in YaST and checking through the results one by one. Turns out it was “php7-XSL” that I needed to install, and that’s why “php7-XSLT” brought up nothing useful.