Closed tomjn closed 3 weeks ago
Hey there, thanks so much for reporting! For which PHP version? This package is incredibly simple as it just concatenates the phar
with PHP Micro CLI's self-extracting wrapper .sfx
.
There are two things that I think this could be:
.sfx
wrapper assigned to that specific PHP versionMore than likely I'd imagine it is something I goofed up 😅. Unfortunately, I don't have access to an Apple Silicon machine at the moment to test. If you're interested in helping, I'd be more than grateful.
If you'd be able to help test: From the latest build here: https://github.com/dixyes/lwmbs/actions/runs/5207423135
Artifacts
section download the applicable micro-cli
zipped artifact for your PHP versionmicro-cli.sfx
filephar
that you built and concatenate them together cat micro-cli.sfx demo.phar > demo.phar
chmod +x
the outputted phar, and it should run.
I fired up Laravel zero and created the base example CLI app, then tried to use Haulage to package it for apple silicon. I wanted to see how large the result would be, but found that after
chmod +x
'ing the output it wouldn't execute and is returning a bad error code of1
and a newline, but nothing else