vendredi 25 octobre 2019

How do you configure php build to use shared objects?

I am trying to build php 7.2.23 from source. I have the extensions configured I believe how I want them. However, the output is not giving me a shared object. It appears to be creating a single executable for the CLI and a single shared object for the apache module that gets loaded by httpd.

I cannot figure out the configure options to get it to build the .so files for the extensions. I have done --with-feature=shared,/dir/to/headers. But the only one this seems to have worked for is bz2. I have --with-bz2=shared,/usr/include. But every other one, it says it cannot find the header files. What am I doing wrong? How do I get the php binaries to split out the shared extensions?




Aucun commentaire:

Enregistrer un commentaire