Dynamic Loading
| From: | John Keiser | Date: | Mon, 03 Jul 2000 06:54:53 +0000 |
| Subject: | Dynamic Loading | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-4446@lists.php.net to get a copy of this message | ||
Hello all,
I am trying to create a simple library and get it to link dynamically with
PHP4 using ld(). I think I can figure out based on the ext_skel script how
to create a PHP extension, but what I really want to do is create a .so
outside the PHP tree (compiled against PHP4 of course) and have PHP4 load it
with ld(). How can I do this?
I have PHP4.0.1pl2 and Apache 1.3.12 with mod_perl 1.24 installed. PHP4 is
linked dynamically with Apache.
Thanks,
--John Keiser