打包之后swoole event-loop无法使用是什么原因?

Open
#41 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
30/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
php
Domain
cli

Research direction

Start by reproducing the packaged startup with PHP 8.2 and compare it with the un-packaged console launch. Check whether the packaged environment loads the Swoole extension and whether the missing class shown in the error is available. Done means the event loop starts without the class-not-found error.

Written by the indexing model from the issue text.

Description

Image
打印了环境拓展是包含swoole的
但是启动的时候直接报错乱码

Image
最后提示类不存在。
有没有解决办法
php版本:php8.2

Dominant language
PHP
Stars
25
Forks
18
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from webman-php/console

All issues in webman-php/console

Similar issues

More PHP issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.