static-php-cli
static-php-cli copied to clipboard
Build standalone PHP binary on Linux, macOS, FreeBSD, Windows, with PHP project together, with popular extensions included.
一般情况下,`php.ini`会放到`/etc`下,所以希望可以给个默认值
不管啥扩展都是报错这个,应该不是扩展的问题 Error relocating /usr/lib/libcurl.so.4: SSL_get0_group_name: symbol not found [09:25:33] [ERRO] failed http fetch Error: Process completed with exit code 1
背景:通过简单几步构建https://www.workerman.net/a/1605编译php8.2静态文件 起初是想构建的扩展如下:  重新编译这么多扩展时间较长,顾省略这里的报错 然后编译失败,尝试只编译一个扩展pgsql的报错如下 如下: 【编译到最后一步时候:】 使用CLI 编译命令生成器(https://static-php.dev/zh/guide/cli-generator.html) 在Ubuntu-20.04.1-x64系统 编译php8.2静态文件添加pgsql编译报错bug 报错如下: CMake Error at CMakeLists.txt:1 (cmake_minimum_required): CMake 3.18 or higher is required. You are running version 3.16.3 -- Configuring...
请求支持扩展 https://pecl.php.net/package/ds https://github.com/php-ds/ext-ds
Ubuntu 22.04 php8.3-dba package lists the available handlers like this: (Of course, this package installs other handlers as dependencies.) ```sh $(command -v php) -r 'print_r(dba_handlers());' ``` ```plaintext Array ( [0]...
This would be super useful to have the ability to build everything with debug symbols. This would make debugging issues such as https://github.com/php/php-src/issues/13648 easier. To implement this, we could add...
Some extensions that are planned to be supported are listed here. Here is just a collection list and contains my notes, and there is no guarantee that the extension will...
I want to do some benchmarks with compiler optimizations such as `-O2 -march=native -pipe`. Is it possible to customize these flags? If it's possible, will it apply to all static...