-
-
Notifications
You must be signed in to change notification settings - Fork 94
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
PHP 7.4.23 fails to compile on Apple M1 #94
Comments
One more thing to add is that searching for error, yields results that people are having warnings, but I'm getting a fatal error. |
More testing and PHP 8.0.10 also fails with the same error. |
FWIW, I'm bumping up against the same thing (v7.4.27). |
7.4.28 using
is not working failing with
I am on Mac 2021 silicion arm64 as well |
Hi,
Any idea would be great. Thanks! |
I get the same error:
|
Also facing exactly the same Error! |
As it seems people are facing this more and more, it’s good to know that you can install PHP 7.4 using brew: It may help someone. |
I also face this problem with |
Hello here, please take a look at #120 and let me know if it fixes the issue for you. Just add |
@andreacasarin I tried using your branch with that env var, I am still getting the same error :( |
in this blog post: https://developpaper.com/mac-silicon-m1-compilation-and-installation-of-php8-swoole4-6-arm64/ It looks like they edited the php installation files to set |
i was finally able to get php installed using my fix in #123 |
if you're still struggling, check this article, especially the part where the variables are set |
I'm trying to compile like this:
I'm also having the same issue as this, but I'm ignoring it for now. I don't need Postgres support.
Compilation fails with the following error:
Clearly, I can't set
pcre.jit=0
because I don't have PHP installed yet, and I don't know whatgrant PHP permission to allocate executable memory
means.I tried adding
PHP_CONFIGURE_OPTIONS="--with-pcre-jit"
to compile command, to no avail.I'm not sure what is causing it, I'm just hoping someone else also encountered this issue.
I've found issues searching for this error, but it seems people are having it while running some code. See also this bug, but I don't know if it applies to me.
The text was updated successfully, but these errors were encountered: