I can't upload a file with MediaWiki. I get an error message:
PHP Fatal error: Class 'XMLReader' not found in ....
I could upload files previously but I upgraded the operating system and reinstalled PHP. I don't remember how I check which version of MediaWiki I'm using.
I checked and libXML is enabled.
I'm using PHP Version 5.6.40-14+ubuntu18.04.1+deb.sury.org+1
|libXML Compiled Version||2.9.9|
|libXML Loaded Version||20904|