Jerry Ma

Results 141 comments of Jerry Ma

什么操作系统/架构?另外如果可以的话最好附上最小复现的 phar 和完整的编译命令。

`require` 一行使用绝对路径呢?`require __DIR__ . "/vendor/autoload.php"`? 一般情况下 phar 运行找不到类都是相对路径或绝对路径找错了导致的。

隔壁问题也有类似的问题,那个是打包 hyperf。很可能是打包方法的问题,如果可以的话就用 static-php-cli 自己的 box.json 改一改试一下(box 最新版),spc 自身打包也会验证,都是没问题的。

看了下可能是 swoole 的 bug,换成 swow 或其他就没问题了,但目前我和 micro 作者都还没找到 swoole 上面哪里出了问题。

这个问题很奇怪,我用我自己开发的基于 Swoole 的框架打包成二进制就可以运行,但 Hyperf 就不行。初步怀疑是 Hyperf 打包有点什么问题,或者 Swoole 的 Hook 在 phpmicro 与 Phar 的 Hook 中有 Bug。

@praswicaksono Thank you for the information. I have tested that removing the file hook is indeed possible, but this problem still exists in the latest swoole.

This library [libui](https://github.com/andlabs/libui) has not been updated for a long time, I guess it may not be easy to add. Mostly it lacks PHP8 support and I don't know if...

I've only managed to get ardillo support done on macOS, albeit statically compiled, but I'm not sure what the minimum compatible system version is for it. #318

After 2.1.0 (released 3 weeks ago), we have `static-php-cli.version` PHP info injection. Just use `php -i | grep static-php-cli` to see which version. But based on your description, Herd is...