Add header from loadable module?
| From: | Stefan Olsson | Date: | Thu, 14 Oct 2004 09:35:52 +0000 |
| Subject: | Add header from loadable module? | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-13334@lists.php.net to get a copy of this message | ||
Hi,
I'm currently writing a loadable module that needs to set a few headers.
Adding #include "SAPI.h" makes everything quiet during compilation and link time
but when loading/calling the module I end up with the following error message
in Apache log:
/usr/local/apache/bin/httpd: relocation error: .//xapacache_module.so: undefined
symbol: _Z18sapi_add_header_exPcjhh
It's the "same result" if I use the newer _op interface. Any ideas?
Brgds
/Stefan
--
If you make people think they're thinking, they'll love you; but if you
really make them think they'll hate you.
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.