webman: Webman fail with php8.1

Hi, as the ppa:ondrej/php include now php8.1-rc5, I’m testing the frameworks for the benchmark.

Workerman is working OK, but Webman is failing. The worst thing, it’s that don’t show any error in the first run, only: Verifying test query for webman caused an exception: ('Connection aborted.', BadStatusLine('No status line received - the server has closed the connection',)) that come from the test.

In the second run, give me the same error and webman: worker[webman:43] exit with status 139. That look like a segmentation fault.

But will be good if webman try to return a better error. PHP8.1 final will be released 25th from this month.

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 26 (8 by maintainers)

Most upvoted comments

Without opcache is working. With opcache and without jit fail.

And in the actual run kumbia-workeman, that pass the verify, had failed in all the tests: [kumbiaphp-workerman] failed: json db query fortune update plaintext In local, run the benchmark without any error.

In about 2 days we could check which fw passed, and watch the logs. We need to isolate this bug.

PD: php 8.1 is really fast. Cakephp and laravel with fastcgi are about 100% faster in all tests.

Curiously kumbia with nginx fail for preg_match() but not with workerman that is also using preg_match() exactly egual. Yes, exist a problem with preg_*, but other frameworks show the error, but not Webman.

I find out the key, when php8.1-dev installed the preg_* has no errors that why webman or workerman not show preg_* errors.