On Mon, 2011-11-28 at 15:02 +0000, Derick Rethans wrote: > On Mon, 28 Nov 2011, Johannes Schlüter wrote: > > > On Mon, 2011-11-28 at 15:18 +0100, Ferenc Kovacs wrote: > > > + foreach ($extensions as $req_ext) { > > > + $loaded = `$php -n -r 'echo (int) extension_loaded("$req_ext");'`; > > > + if ($loaded == '0') { > > > > This should use the tmp-php.ini as that might already load the required > > extension if it was built in the same built. A configure line like > > the tmp-php.ini has no extension= lines in it, they're stripped out.
Ah indeed, it adds -d extension=... directives, I thought they would be added on to the ini file. My mistake. > > ./configure --enable-igbinary=shared --enable-new-fancy-extension=shared > > > > should add both to the tmp-php.ini. > > But that is not doing anything from the phpized directory... where you'd > just run ./configure. People might, for whatever reason, built the extension as part of the PHP build. For instance one might think about using this feature with PDO drivers. And build PDO shared (not saying that makes sense, but it is a supported thing) johannes -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php