Answer the question
In order to leave comments, you need to log in
How can PHP be compiled to be system independent?
Hello everyone, there was such a question, is it possible to compile PHP7 so that it searches for system libraries somewhere in /opt/php/syslibs ... So that when you transfer the compiled version from one server to another, it does not say that you have it here such and such is not installed or that you have a different version ...
In general, I want a completely portable package, of course you can use the same docker, but I have more sports interest ... Here, on the same Windows, I unpacked the ZIP archive and run it, and in linux, when moving from one computer to another, everything crashes ...
Answer the question
In order to leave comments, you need to log in
And in Linux, when you transfer from one computer to another, everything falls ...
Static compilation will help you. Then there will be no dependence on system libraries at all.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question