phpmicro icon indicating copy to clipboard operation
phpmicro copied to clipboard

micro sfx SAPI for php

Results 14 phpmicro issues
Sort by recently updated
recently updated
newest added

### 描述 (Description) 你好,我的php项目已经打包成了phar文件,但是运行的时候需要php test.phar start这样起服务,这样运行服务是正常的。我直接copy /b micro.sfx + test.phar test.exe,然后运行test.exe不行,需要怎么做才能把这个启动命令也打到二进制文件呢?我想要的结果是,直接运行test.exe就相当于执行php test.phar start这个命令。谢谢 ### 期望 (Expectation) 我想要的结果是,直接运行test.exe就相当于执行php test.phar start -d 这个命令,在后台运行。谢谢 ### 结果 (Result) 目前是没啥反应,立马退出了。 ### 软件版本 (Software version) _No...

enhancement

Hey, looking to use this alongside a PHAR bundle produced with the [Box](https://github.com/box-project/box) library. I downloaded the latest build from the workflow artifacts. Upon concatenating the 2 files together, PHP...

Hey! I've made an executable that does some API calls. When an endpoint is called, an error is thrown. ``` cURL error 60: SSL certificate problem: unable to get local...

根据文档给出的规则,自定义ini生成后,和micro,ini,phar一起合并后,无法正常运行 框架:hyperf 2.2 micro:8.0.23 错误信息 ```bash t���CH��H��u�)L��I�$�H�x�L������tX��� I���:L���I��H�������L���6�CH��(L��[]A\A]A^A_�H����t$ H�t$ �o���H���UH�H��@��H�@�H����L���H��]������ATI��H��H��uH��H�x�L�������H��H�t�EH�tL��H������H��L��A\�AVAUATI��USH��uH��H�x�L�������H��H���EH��H��������H9�wH�

我使用魔法头让其加载扩展都被提示:不支持加载动态库🥲 现在是鱼与熊掌不可兼得 用micro 就无法使用一些第三方的so扩展

Both look great! ![image](https://github.com/easysoft/phpmicro/assets/952007/a2684c12-cd45-4c61-93d6-0aad1c3ec344)

![image](https://github.com/easysoft/phpmicro/assets/15373061/df8124e3-8d61-468b-ba04-c53cee0edceb) 编译7.4和8.1版本 都发生这个错误

使用构建环境是 macOS Ventura arm64,构建命令: ```bash ./configure --prefix= --with-valgrind=no --enable-shared=no --enable-static=yes CFLAGS='--target=arm64-apple-darwin -Werror=unknown-warning-option' --disable-all --disable-cgi --disable-phpdbg --enable-cli --enable-fpm --enable-micro --enable-bcmath --with-bz2="/Users/jerry/project/git-project/static-php-cli/buildroot" --enable-calendar --enable-ctype --with-curl --enable-dom --with-libxml="/Users/jerry/project/git-project/static-php-cli/buildroot" --enable-exif --enable-fileinfo --enable-filter --enable-ftp --with-zlib...

[root@VM-12-15-centos php]#git clone https://github.com/easysoft/phpmicro.git sapi/micro patch -p1 < sapi/micro/patches/disable_huge_page.patch can't find file to patch at input line 3 Perhaps you used the wrong -p or --strip option? The text leading...