Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PHP XML Extension: Not installed

Tags:

php

xml

ubuntu

mybb

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 :)

like image 332
Forrest Avatar asked Aug 05 '16 16:08

Forrest


People also ask

Where do I put PHP INI extension?

Go to your php. ini file and add the following line: extension=<extension_name>. dll. To verify that the extension was loaded properly, go to Setup | Extensions and locate the extension from the list.


1 Answers

You're close

sudo apt-get install php-xml 

Then you need to restart apache so it takes effect

sudo service apache2 restart 
like image 150
William Booth Avatar answered Oct 19 '22 12:10

William Booth