PHP XML Extension: Not installed

Forrest picture Forrest · Aug 5, 2016 · Viewed 143.4k times · Source

So i'm currently installing mybb and went through a very long tutorial on how to do it. The problem is when I get to the requirements check this shows up

enter image description here

How does one go about fixing this? I read that I may need to do

sudo apt-get install php-xml

I have done this and everything went ok but still doesn't change it to installed.

FYI: I have only been using this OS for a few days so please go nice on me :)

Answer

William Booth picture William Booth · Mar 9, 2017

You're close

sudo apt-get install php-xml

Then you need to restart apache so it takes effect

sudo service apache2 restart