Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:66955 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 73656 invoked from network); 4 Apr 2013 17:31:04 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Apr 2013 17:31:04 -0000 Authentication-Results: pb1.pair.com header.from=johannes@schlueters.de; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=johannes@schlueters.de; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain schlueters.de from 217.114.211.66 cause and error) X-PHP-List-Original-Sender: johannes@schlueters.de X-Host-Fingerprint: 217.114.211.66 config.schlueters.de Received: from [217.114.211.66] ([217.114.211.66:49053] helo=config.schlueters.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D9/E7-35962-7D8BD515 for ; Thu, 04 Apr 2013 12:31:04 -0500 Received: from transformer.fritz.box (ppp-93-104-21-76.dynamic.mnet-online.de [93.104.21.76]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (Client did not present a certificate) by config.schlueters.de (Postfix) with ESMTPSA id 5A9DD65A97; Thu, 4 Apr 2013 19:31:00 +0200 (CEST) User-Agent: K-9 Mail for Android In-Reply-To: References: <515DA4DA.2060300@php.net> <1921fdc8-6aa8-4377-adca-38368386676c@email.android.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----PXAJW0ZUFON91250UHFF5TKLXBM4N2" Date: Thu, 04 Apr 2013 19:30:55 +0200 To: Joe Watkins ,internals@lists.php.net Message-ID: <2c75b559-d8bd-42a0-aafe-11b770e16c1f@email.android.com> Subject: Re: [PHP-DEV] Re: Adding a way to retreive compile options at runtime From: johannes@schlueters.de (=?ISO-8859-1?Q?Johannes_Schl=FCter?=) ------PXAJW0ZUFON91250UHFF5TKLXBM4N2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Joe Watkins wrote: >Many extensions do not provide constants or functions to detect the way >they are configured, this may or may not expose those options, which is >better than not being able to expose those options by any reasonable >means. Then those extensions should expose the required information. These are bugs then. >More importantly, it does not only contain information about >extensions, >or which extensions are loaded and how ( I am aware of the problems of >using this kind of information as authoritative, I still say something >is better than nothing, see every 404 page in all modern browsers, why >not provide suggestions, even if they are wrong ). > >Path information I figure could be useful while setting up software, so The paths set during configure time don't have to match those where things are installed. Especially admins might prefer to use symlinked paths for configuration and users might be misled. >could many other configure time options, for example if more than one >SAPI was built at configure time, you might advise the use of the most >suitable SAPI for your software, SAPIs might be built individually. Having them enabled during configure time doesn't mean they are enabled or accessible by the user. > you might generate an ini file and >tell >the user where to put it (scandir), you might have the abnormal path to >php-config or other things distributed with php and installed in a >non-standard path (/opt/php-nts in example output). configure options often won't tell- >There's a bunch of useful stuff in the configure command ... not just >extensions loaded ... Yes and a lot of wrong information. johannes ------PXAJW0ZUFON91250UHFF5TKLXBM4N2--