PHP Velho Oeste 2024

설치

이 확장은 기본값으로 활성화됩니다. 컴파일 시에 다음 옵션으로 비활성화 할 수 있습니다: --disable-dom

add a note add a note

User Contributed Notes 2 notes

up
11
atom_box at example dot com
3 years ago
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.
up
-1
Anonymous
2 years ago
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)
To Top