On Mon, 2013-08-19 at 19:17 -0400, J David wrote: > > To stick with your example, of CLI and mod_php -- a good choice as > it's likely the most common combo -- when linking to a common > libphp5.so, the recommended methodology would be to build in only the > functionality required by both, then load the rest as extensions from > php-cli.ini or php.ini, respectively. This seems like the way it is > generally done anyway? > > Is doing it this other way a thing that people actually do?
Ah, there's another thing to mind: Extensions can be marked as "cli extensions", if statically compiled they become only part of the CLI binary, not other SAPIs. Think readline & pcntl. johannes -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php