PHP execution breaks after consecutive requests
Closed this issue · 2 comments
linear commented
Steps:
- Clone: https://github.com/wasmer-examples/wordpress-wasmer-starter
- Run
wasmer run . --net
- Access http://localhost:8080/ in your browser and refresh multiple times.
- The server silently crashes (without saying anything to the user)
➜ wordpress-wasmer-starter $ wasmer run . --net
[Fri Feb 9 17:04:58 2024] PHP 7.4.31-dev Development Server (http://localhost:8080) started
[Fri Feb 9 17:04:59 2024] 127.0.0.1:63523 Accepted
[Fri Feb 9 17:04:59 2024] 127.0.0.1:63523 [200]: GET /
[Fri Feb 9 17:04:59 2024] 127.0.0.1:63523 Closing
[Fri Feb 9 17:05:00 2024] 127.0.0.1:63529 Accepted
[Fri Feb 9 17:05:00 2024] 127.0.0.1:63529 [200]: GET /
[Fri Feb 9 17:05:00 2024] 127.0.0.1:63529 Closing
[Fri Feb 9 17:05:00 2024] 127.0.0.1:63531 Accepted
➜ wordpress-wasmer-starter $
Normal Native PHP server:
php -t app -S localhost:8080
\\
theduke commented
This probably is an issue in the compiled PHP, not in the runtime.