Topic on Project:Support desk

Jump to navigation Jump to search

I can't upload a file with MediaWiki

2
79.180.220.57 (talkcontribs)

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 support active
libXML Compiled Version 2.9.9
libXML Loaded Version 20904
libXML streams enabled
79.180.220.57 (talkcontribs)

Update:


It works after running "sudo apt install php5.6-xml".