Jerry Ma
Jerry Ma
Oh I found it. Just because Herd is using `--no-strip`, and when no `strip`, the optimization flag will be `-g -O0` (default is `-g0 -Os`). In the main branch, I...
After a week of various attempts, I finally decided with difficulty to give up this plan: change all parameters to environment variables. Mainly because I can't figure out which ones...
@mpociot I won't change current build flags. For Laravel Herd macOS, the best way is just using `export SPC_CMD_VAR_PHP_MAKE_EXTRA_CFLAGS="-g -Os"` and `--no-strip`. (for future, add to CI's env?) This update...
WIP, but env vars for MacOSBuilder have already finished. I'm finishing up the Linux part now.
Finished, docs: https://static-php.dev/en/guide/env-vars.html
@dunglas See related issue: - https://github.com/easysoft/phpmicro/pull/18 - https://github.com/crazywhalecc/static-php-cli/issues/527 - https://github.com/crazywhalecc/static-php-cli/issues/526
缓解办法:将保存内建 PHP 的目录加入 PATH。 临时解决办法:将内建 PHP 文件移动到系统 bin 目录,将 `composer.phar` 移动到系统 bin 目录并更名为 `composer`。 永久解决办法:将此处代码更改为 `runtime/composer` 或 `runtime/php runtime/composer.phar`
It's useful to improve security, and now that the `-fPIE` flag is set, I think the only thing to consider is to keep `-Os`. But I don't have a performance...
最近我会更新一次,在 Linux 可以支持 mongodb,但 macOS 因为一些比较复杂的问题暂无法解决。
mongodb 1.19.1 now supports static build on macOS.