Andrej van der Zee wrote:
Hi William,

LoadFile


Saving on ink aren't you ;) Thanks for the advise, I will give it a go soon.

Just one question you might be able to answer. From the documentation
it looks like LoadFile is used to add additional code. In my case, I
need to override existing functionality. For example, if mod_php is
already linked in with the MySQL client library, I want my own
modified client library to be used instead, like LD_PRELOAD does for
binaries. From the documentation it is not clear, but can I do this
with LoadFie? Any hints/tips?

When mod_php is loaded into httpd, it's mysql dependencies/symbols will get resolved against the mysql client you have already LoadFile'd into httpd.

man dlopen and friends for more info.


Thanks alot!
Andrej



Reply via email to