Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:121984 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 51107 invoked from network); 11 Dec 2023 09:59:04 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 11 Dec 2023 09:59:04 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 29F8718005E for ; Mon, 11 Dec 2023 01:59:19 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=0.6 required=5.0 tests=BAYES_00,DMARC_MISSING, SPF_HELO_PASS,SPF_NEUTRAL,URIBL_BLACK autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from xdebug.org (xdebug.org [82.113.146.227]) by php-smtp4.php.net (Postfix) with ESMTP for ; Mon, 11 Dec 2023 01:59:18 -0800 (PST) Received: from localhost (localhost [IPv6:::1]) by xdebug.org (Postfix) with ESMTPS id 6CCB210C24D; Mon, 11 Dec 2023 09:59:02 +0000 (GMT) Date: Mon, 11 Dec 2023 09:59:02 +0000 (GMT) To: Remi Collet cc: internals@lists.php.net In-Reply-To: <067ed507-33f8-422b-8bb0-60b72c44e519@php.net> Message-ID: <571f4fe6-93cf-156b-da3b-36bc54bd81ed@php.net> References: <8d4bcca5-a2ce-5ee1-1aed-02076539433a@php.net> <067ed507-33f8-422b-8bb0-60b72c44e519@php.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="8323329-1152454385-1702288742=:6327" Subject: Re: [PHP-DEV] New "PECL" From: derick@php.net (Derick Rethans) --8323329-1152454385-1702288742=:6327 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE On Thu, 7 Dec 2023, Remi Collet wrote: > Le 05/12/2023 =C3=A0 14:45, Derick Rethans a =C3=A9crit=C2=A0: > > https://docs.google.com/document/d/1_N0E9xo3jn9aKrIZHIbTYaY5lXw71BpSO6-= it4cRpDo > >=20 > > In this first stage, we would like to invite you in commenting on the > > document (either inline, or here). >=20 > As inline requires a Google account... >=20 > > priority (optional): The installation "priority". >=20 > 1/ I don't like this name which is ambiguous >=20 > higher value seems to give higher priority > which lower are loaded first >=20 > This prefix, used in various linux distro, > is really a "load order", needed when using --enable-rtld-now >=20 > So I proprose "load order" instead We can quibble over the name :-) I picked something short. Debian calls it=20 'priority' too in their ini files. For example: =09; configuration for php common module =09; priority=3D20 =09extension=3Dcalendar.so > 2/ values >=20 > Default value can be 40 or max(requirement) + 10 >=20 > In Fedora where we use this for years we have > (IIRC debian have different practice) >=20 > 0-19 for zend_extension > =0910 for opcache > =0915 for xdebug That's not really a good default. At least Xdebug should be=20 near the end of the loading order. > 20-39 for php-src extension > =0920 for most > =0930 if requirement (ex: pdo drivers) > 40-99 for other (pecl...) > =0940 for igbinary, msgpack > =0950 for redis which use igbinary, msgpack I am happy to pick a different default. I had picked what Debian seemed=20 to have (20). I don't think it matters much though, as distribitions can decide to=20 change them in their binary packages regardless. cheers, Derick --8323329-1152454385-1702288742=:6327--