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.
>
> ./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.
Derick
--
http://derickrethans.nl | http://xdebug.org
Like Xdebug? Consider a donation: http://xdebug.org/donate.php
twitter: @derickr and @xdebug
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php