Discussion:
[PHP-INSTALL] Static Build?
Derric Atzrott
2012-08-02 16:23:25 UTC
Permalink
I've been trying to statically compile mod_php into Apache 2. I noticed
pretty

quickly that this is completely unsupported. All the documentation tells me
to

instead just compile mod_php as a DSO and have Apache load that instead.



I'm curious as to why statically compiling PHP into Apache 2 isn't
supported.

What was the reasoning behind this decision? Lack of time or volunteers? Or

perhaps the community just felt like it was the best direction to go?



For those who are curious: I'm trying to setup a fairly secure Apache build
with

PHP. I plan to compile Apache statically with only the modules I need for
this

server and then place it in a chroot jail. The server is going to have

confidential client data on it, so I plan to assume that every possible
avenue

of attack (that I can think of and reasonably mitigate) will be exploited
and

needs planned for and around.



If I am wrong and compiling PHP into Apache 2 statically is supported, I
would

love for someone to teach me.



Thank you,

Derric Atzrott

Computer Specialist

Alizee Pathology

Loading...