• Hi — After updating to PHP 8.1 we see this error:

    The plugin: Notification cannot be activated.
    – Missing PHP extension: xml

    However the xml extension is installed correctly and we can activate the plugin, but the error remains and the plugin no longer works.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Kuba Mikita

    (@kubitomakita)

    Hi, yeah, the plugin even if activated won’t boot when the requirements hasn’t been met.

    How do you know the XML extension is active? Can you see that in the phpinfo?

    Thread Starter rmmcclay

    (@rmmcclay)

    Hi Kuba -- Running the server on AWS / EC2 Instance of Linux, php -m outputs this: 
    
    107 bash [root - Tokyo:/]-> php -m
    [PHP Modules]
    bz2
    calendar
    Core
    ctype
    curl
    date
    dom
    exif
    fileinfo
    filter
    ftp
    gd
    gettext
    hash
    iconv
    json
    libxml
    mbstring
    mysqli
    mysqlnd
    openssl
    pcntl
    pcre
    PDO
    pdo_mysql
    pdo_sqlite
    Phar
    readline
    Reflection
    session
    SimpleXML
    sockets
    SPL
    sqlite3
    standard
    tokenizer
    xml
    xmlreader
    xmlwriter
    xsl
    Zend OPcache
    zip
    zlib

    Anything else I might need to install? The php -m command is a quick and simple way to list all installed PHP extensions on a Linux machine. This method also proves useful when we need to check which PHP extensions are currently loaded. Here, -m represents the modules and it directs PHP to list all enabled PHP extensions or modules.

    109 bash [root – Tokyo:/]-> php -v
    PHP 8.1.23 (cli) (built: Sep 15 2023 21:56:29) (NTS)

    • This reply was modified 2 years, 3 months ago by rmmcclay.
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Error: Missing PHP extension: xml’ is closed to new replies.