Re: Re: The future of PHP - accessory libraries
| From: | Heiko Maiwald | Date: | Tue, 28 Aug 2001 21:13:32 +0000 |
| Subject: | Re: Re: The future of PHP - accessory libraries | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-64877@lists.php.net to get a copy of this message | ||
Rasmus Lerdorf wrote:
> > That's not allowing me to simply dl() an SO file, because I don't have the
> > SO file to start with - that's what I was trying to get at. If I have
> > to reconfigure
> > everything, there's not much point, I don't think. Unless I'm missing
> > something
> > obvious. I'd like to be able to simply have an SO file I can dl()
> > without recompiling.
> > Or are you saying that that configure statement WILL create an SO file
> > that can
> > be dl()ed later, without recompiling PHP?
>
> Exactly. When you do ./configure --with-foo=shared; make
> then modules/foo.so will appear magically and you can dl() that or load it
> using "extension=foo.so" in your php.ini. You don't have to recompile
> PHP.
>
> -Rasmus
I am afraid that is only theory. I tried that for the snmp module and all I get
is a linker error about unreferenced symbols, when I try to load it.
Heiko