Skip to content

Drupal's PHP demo not working without preopen root directory #118

Open
@gzurl

Description

@gzurl

Describe the bug

A WasmMapDir / / directive seems needed in mod_wasm Drupal's demo and other PHP demos.

Apparently, the PHP runtime performs some checks during the bootup that require access to the root directory. When removing this permission, PHP doesn't boot up as expected.

Reproduction steps

Run mod_wasm's Drupal demo, and remove the line WasmMapDir / /, restart Apache and try again.

Expected behavior

PHP should be able to boot up even if the root directory is not pre-open.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions