NYCPHP Meetup

dl() and extension directive in php.ini

Hans Zaunere hans at nyphp.org
Wed Apr 30 16:42:17 EDT 2003


Hi,

I'm hearing some conflicting reports and I'd like to see other's thoughts
before I have to dig, dig, dig.

Loading an external module using dl() at runtime obviously loads the module
per request (ie, performance hit).

On the other hand, which I believe is the recommended method anyway, is using
the extension= directive in php.ini.  While this is still a dynamic module
load, it should only happen once; for instance when the Apache process
spawns.

While reading some Zend API stuff I began to doubt this, so I'm interested in
any confirmations either way.

Thanks,

H





More information about the talk mailing list