Re: Dynamic Loading
| From: | Sascha Schumann | Date: | Mon, 03 Jul 2000 06:55:45 +0000 |
| Subject: | Re: Dynamic Loading | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-4447@lists.php.net to get a copy of this message | ||
On Mon, 3 Jul 2000, John Keiser wrote:
> 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.
The file README.SELF-CONTAINED-EXTENSION will tell you what you
need to know.
- Sascha