We are moving our forum in GitHub Discussions. For questions about Phalcon v3/v4 you can visit here and for Phalcon v5 here.

Is it possible to build phalcon.so and then to use it on many machines?

We are building deb packages for our project, with self-installation script, and we don't want really to compile .so file for phalcon for every machine (it's quite hard to keep all phalcon source in every package, etc).

So, is it possible to compile phalcon extension once and then use it with tested applications in deb packages on different machines, that are running under debian? Would there be any restrictions? (I mean architecture, x32, x64, etc)?


Normally, the same .so must run without problem in another machine with the same OS (libc), same PHP version, same architecture by just copying the file to right location