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

Комментарии • 4

  • @gurubillishrinivasareddy4540
    @gurubillishrinivasareddy4540 9 месяцев назад +1

    issue not rectified, tried out what you suggested, Thanks

    • @latedeveloper7836
      @latedeveloper7836  9 месяцев назад

      sorry to hear that - did you find a fix for this in the end?

    • @latedeveloper7836
      @latedeveloper7836  9 месяцев назад

      and what happens after you try the suggested fix?

    • @gurubillishrinivasareddy4540
      @gurubillishrinivasareddy4540 9 месяцев назад

      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