How to compile php binary #762
Unanswered
ghostcompilers
asked this question in
Q&A
Replies: 1 comment
|
Yes, but there is no single PHP binary that works for every OS and architecture. You need to build PHP separately for each target. For Linux/macOS, PHP can be compiled from source with the If your goal is to support PHP 7.2 up to the latest version, the easiest approach is usually to automate separate builds with CI, for example GitHub Actions, instead of trying to cross-compile everything from one machine. Also note that older PHP versions such as 7.2 may not build cleanly on modern systems without patches or older toolchains. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I wanted to know that i search at multiple locations but i can't find any solution regarding the PHP binary compile can anyone help me in that like i wanted to compile the php from 7.2 to current version for multi os like Mac, Win, Linux with arm and x64 architecture
All reactions