Для использования этих функций не требуется проведение установки, поскольку они являются частью ядра PHP.
This dom extension was *not* enabled by default on Ubuntu 20. Composer had thrown this during phpunit installation: `must enable php dom extension`. That problem went away once I ran `sudo apt-get install php-xml`. Now everything is fine; phpunit installed fine.
warning, if you are compiling PHP with --disable-all , you need both --with-libxml *and* --enable-dom for DOMDocument & co i'm not sure --enable-dom is even documented? (even though --disable-dom is documented)
Коментарии
This dom extension was *not* enabled by default on Ubuntu 20.
Composer had thrown this during phpunit installation: `must enable php dom extension`.
That problem went away once I ran `sudo apt-get install php-xml`. Now everything is fine; phpunit installed fine.
warning, if you are compiling PHP with --disable-all , you need both --with-libxml *and* --enable-dom for DOMDocument & co
i'm not sure --enable-dom is even documented? (even though --disable-dom is documented)