Jerry Ma

Results 141 comments of Jerry Ma

Try this? https://hyperf.wiki/3.1/#/en/phar?id=precautions I briefly tried hyperf-skeleton locally and seemed to encounter the same error, but it turned out to be a problem with the pid file path, which should...

The memory limit issue you mentioned is spc bug (the micro and phar file is too large), and I will fix it later. And I'm searching and testing hyperf packaging...

I tried hyperf locally, checked the source code, and also tried to package a pure swoole application. Only the hyperf package had this problem. Maybe the problem is caused by...

@wheakerd In theory, static-php does not have any special handling for PHARs when building micro SAPI. The only possible problem is reading the PHAR itself from the code in the...

@wheakerd I just tested the latest Swoole, PHP and Hyperf frameworks. The problem can be solved after closing `SWOOLE_HOOK_FILE`, but there is still a problem if it is included. It...

Update some details: Before the class not found error occurs, the length of the obtained byt or text seems to be a fixed 411 bytes.

@wheakerd Because when packaged into binary, the binary file itself is both a PHP interpreter and a phar package. For the OS, it is an executable file, and for the...

workaround of this issue: ```php // add to startup php file ! defined('SWOOLE_HOOK_FLAGS') && define('SWOOLE_HOOK_FLAGS', SWOOLE_HOOK_ALL & ~SWOOLE_HOOK_FILE); ```

https://github.com/crazywhalecc/static-php-cli/blob/dd647c53ec26687f7ef3b9f832768fc48312d5df/src/SPC/builder/unix/library/gmp.php#L16C1-L29C6 @dunglas @XternalSoft Perhaps the `--disable-assembly` option should be added here when building static-php, but I am not sure whether this patch can solve this problem, and the unknown impact...

这里看确实可以直接用api id做key,但是上下应该是设置了自旋锁的,不应该出现抢占情况。你在实际运行时可以找到它是哪个地方返回的 false 吗?