2
When trying to turn the command phpunit
on the command line, I received the following error:
Class 'Domdocument' not found
This wasn’t happening before. I remember having removed and installed PHP again.
What can cause this error, since DomDocument
is a native PHP class?
Note: I am using Ubuntu operating system.
That’s right, it’s the
php-xml
that was missing :p– Wallace Maxters
:) See the tour to better understand how to thank.
– jlHertel
@jlHertel think he’s not thanking, he’s just probably stating it should be that way, but the question is more Ubuntu than PHP.
– Guilherme Nascimento