-
-
Notifications
You must be signed in to change notification settings - Fork 174
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
能增加 gmp 扩展吗 #23
Comments
@TNT-ma 刚才我查看了一下,确实没有配置GMP扩展 查看过程如下: wget https://dl.zhamao.xin/php-bin/file/php-8.1.8-static-bin-x86_64.tar.gz
tar -zxvf php-8.1.8-static-bin-x86_64.tar.gz
mv php php-8.1.8
./php-8.1.8 --ri gmp
暂时可以去下载这个(这个包含了gmp扩展) https://github.com/swoole/swoole-src/releases 或者 https://www.swoole.com/download |
近期会尝试。 |
这个是什么,我还没看懂,我需要 sfx 方便打包 这是一个二进制似乎是PHP文件吧 |
@TNT-ma https://github.com/crazywhalecc/static-php-cli/blob/master/README.md 【打包成一个文件,相当于:PHP运行时和源代码一起分发】 里面的关键点: micro 将 PHP 源码和 PHP 二进制构建为一个文件分发! (意思: micro 默认包含了PHP运行时) 现在自己更换PHP运行时,你就不认识了吗? 重点:
最好是还是这样把应用程序打包成 一个 phar文件,运行程序是 选择指定版本的PHP运行时 |
如果我自己docker 编译能自己加gmp扩展吗?需要怎么做? |
1 similar comment
如果我自己docker 编译能自己加gmp扩展吗?需要怎么做? |
|
生成的文件其实是: PHP 运行时+用户应用程序 |
已在重构版增加。 |
web3 上诸多项目都需要用到gmp扩展函数
能增加一下吗
The text was updated successfully, but these errors were encountered: