Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:56651 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 22805 invoked from network); 28 Nov 2011 15:02:50 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 28 Nov 2011 15:02:50 -0000 Authentication-Results: pb1.pair.com header.from=derick@php.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=derick@php.net; spf=unknown; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 82.113.146.227 as permitted sender) X-PHP-List-Original-Sender: derick@php.net X-Host-Fingerprint: 82.113.146.227 xdebug.org Linux 2.6 Received: from [82.113.146.227] ([82.113.146.227:58992] helo=xdebug.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 95/60-20380-992A3DE4 for ; Mon, 28 Nov 2011 10:02:49 -0500 Received: from localhost (xdebug.org [127.0.0.1]) by xdebug.org (Postfix) with ESMTPS id A23B3DE13E; Mon, 28 Nov 2011 15:02:46 +0000 (GMT) Date: Mon, 28 Nov 2011 15:02:46 +0000 (GMT) X-X-Sender: derick@whisky.home.derickrethans.nl To: =?UTF-8?Q?Johannes_Schl=C3=BCter?= cc: Ferenc Kovacs , Richard Quadling , PHP Developers Mailing List In-Reply-To: <1322492308.2710.1301.camel@guybrush> Message-ID: References: <1322492308.2710.1301.camel@guybrush> User-Agent: Alpine 2.02 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="8323329-825138324-1322492566=:15415" Subject: Re: [PHP-DEV] run-tests.php and dynamic extension dependencies From: derick@php.net (Derick Rethans) --8323329-825138324-1322492566=:15415 Content-Type: TEXT/PLAIN; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE On Mon, 28 Nov 2011, Johannes Schl=C3=BCter wrote: > On Mon, 2011-11-28 at 15:18 +0100, Ferenc Kovacs wrote: > > + foreach ($extensions as $req_ext) { > > + $loaded =3D `$php -n -r 'echo (int) extension_loaded("$req_ext");'`; > > + if ($loaded =3D=3D '0') {=20 >=20 > 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=3D lines in it, they're stripped out. >=20 > ./configure --enable-igbinary=3Dshared --enable-new-fancy-extension= =3Dshared >=20 > should add both to the tmp-php.ini. But that is not doing anything from the phpized directory... where you'd=20 just run ./configure. Derick --=20 http://derickrethans.nl | http://xdebug.org Like Xdebug? Consider a donation: http://xdebug.org/donate.php twitter: @derickr and @xdebug --8323329-825138324-1322492566=:15415--