Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
gzurl opened this issue Jul 24, 2023 · 0 comments
Open

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

gzurl opened this issue Jul 24, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@gzurl
Copy link
Contributor

gzurl commented Jul 24, 2023

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

@gzurl gzurl added the bug Something isn't working label Jul 24, 2023
@gzurl gzurl changed the title PHP not working without preopen root directory Drupal's PHP demo not working without preopen root directory Jul 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant