Skip to content

libxml and XMLReader tests fail with "Can't resolve URI" errors because external entity loading is disabled by default #22138

@RimacC2-EV

Description

@RimacC2-EV

Description

The following code:

make test (no php codes because the issue occurred when making php from source)

Resulted in this output:

php_test_results_20260524_0210.txt

But I expected this output instead:

(successful making)

(The title is generated with AI due to the lack of the skills of programming and reading or analyzing the error report file, sorry)
(Not an native English speaker, if there's anything unclear, please notify me, thanks!)

PHP Version

PHP 8.5.6 (cli) (built: May 24 2026 10:08:46) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.5.6, Copyright (c) Zend Technologies
    with Zend OPcache v8.5.6, Copyright (c), by Zend Technologies

Operating System

Arch Linux(CachyOS)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions