NYCPHP Meetup

[nycphp-talk] Adding to PHP API

Sterling Hughes sterling at bumblebury.com
Mon Apr 14 18:04:31 EDT 2003


On Mon, 2003-04-14 at 19:13, Adam Maccabee Trachtenberg wrote:
> On Mon, 14 Apr 2003, Hans Zaunere wrote:
> 
> > --- Jim Musil <jmusil at villagevoice.com> wrote:
> > 
> > > Once they are plugged-in do I have to recompile PHP?
> > 
> > Negative.  You generally compile them as shared objects, then can dl() them.
> 
> You are better off not using dl() if possible. It's slower than using
> an .ini entry.
> 
> http://aspn.activestate.com/ASPN/Mail/Message/php-Dev/715567
> 

Yeah - but dl is useful for development.  To be honest (I and most core
devs I know), just recompile php as a cli when debugging.  Using dl() is
an afterthought, since you rarely have to do a make clean anyway, it
takes just as much time, and usually requires less futzing (all your
object files are assured to reference the same symbols.)

-Sterling

> -adam
-- 
"A business that makes nothing but money is a poor kind of business." 
    - Henry Ford




More information about the talk mailing list