Class 'DOMDocument' not found (Fix for Php Server Error in Linux/Ubuntu/Debian)
HTML-код
- Опубликовано: 30 сен 2024
- If you're having the Php Server Error Class 'DOMDocument' not found, here's a fix that should work.
It simply involves installing the DOM extension for Php.
I am running this on Kali Linux but I believe the same will work for Ubuntu and Debian.
I am also trying to use this in conjunction with a Laravel project using Sail, for context.
Stack Overflow post shown:
Class 'DOMDocument' not found
stackoverflow....
Remember - it's never too late!
Cheers,
Steve
issue not rectified, tried out what you suggested, Thanks
sorry to hear that - did you find a fix for this in the end?
and what happens after you try the suggested fix?
no mam, so far what I could find out that this issue caused due to php version upgrade. It is a YII2 application and installed PHP 7.1 and tried out composer 1.+ and 2.+ but dom didn't work