Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:121985 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 58130 invoked from network); 11 Dec 2023 12:16:56 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 11 Dec 2023 12:16:56 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id D6A4E180003 for ; Mon, 11 Dec 2023 04:17:10 -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.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE, SPF_PASS,URIBL_BLACK autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from mail-oo1-f44.google.com (mail-oo1-f44.google.com [209.85.161.44]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Mon, 11 Dec 2023 04:17:10 -0800 (PST) Received: by mail-oo1-f44.google.com with SMTP id 006d021491bc7-59064bca27dso2527661eaf.0 for ; Mon, 11 Dec 2023 04:16:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702297013; x=1702901813; darn=lists.php.net; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=NWtvg/2JI3X0MdSe48/8+WshLJ0IvbTREn37MDzhCEU=; b=mUpvjaLUz9KSpKvI2Fh7OT3RpoIM09nGE8jWT8/z/6zTcJDTumqcJ4VPyCxledN0nI 1zGJe7OQ9Hgb8M4ciHXfpa9MFkhwlVFGkanKZePKL4huBfl+dJ9Am8D5ASlDZT/wr+5n ICG4rWTDS8FHJ+fuaEZFv0uFDBA76TDSByJGUrSuziA3v0J/fw8yRR4LMlTfHoCcojBg 3IoZ8Cv+z8ZPnn5CVOpIR5vFs+3G7rMzPnad2ecIxfDS+dK7VZ3VXX16H4r52EmTITsc x/IjsBCIrBx1wYfYqXhkigx2Tk9EA56e6wU/cQwQ0alGH+R+1h7Nu/qsVLHDmJADff5T NFlA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702297013; x=1702901813; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=NWtvg/2JI3X0MdSe48/8+WshLJ0IvbTREn37MDzhCEU=; b=PbvleMOqQ18GRvXy4nycgNuVdVI5N4OdR1Lj2vxtFVzwyuNnAjsemCgMxCPPu5Ae5E xpSYXbYuw4DHBUlTv7Un3OSxvCaznexHA/tg219SLIPu35+Y1ivgQvlrlBZd5pYQPP3A xf/SepOav0UollatjUvq6ILzRwvER+njYGax4MEzBGcxcrKuoOFZPmbA8FDTOi0sfMdR T2b1AE59iPYd7kVvDx6b6W3HDpoH3dL750BClycWWXUukHW8Gkkk5jwSaoBKDUDckgqw 2dsX4MARILfNvWdSgSYBY6uBgPoL4wlptFgTQ2LvInvJQtpiHd3MFZgbFXvhhQRF574P dXOg== X-Gm-Message-State: AOJu0Yzv8HWKKsRRE9wgVF6yqxgYyP6tnZEGlOB1pGrjkJ7WGc+xs/C6 wX8bDG9UV5MHJduS5tTKN88ZxHr3ZfU7/iH0weEr84raUsLKtA== X-Google-Smtp-Source: AGHT+IFtYkx4y6wn2cgSBnw69YDHXiZ3kFdvQujAQybYJ1I6bh8li8pooZ0B89450rwU49eGonbsmEOMTsPcCEdXYxs= X-Received: by 2002:a05:6820:162c:b0:58a:128:8ff0 with SMTP id bb44-20020a056820162c00b0058a01288ff0mr3876004oob.5.1702297013402; Mon, 11 Dec 2023 04:16:53 -0800 (PST) MIME-Version: 1.0 References: <8d4bcca5-a2ce-5ee1-1aed-02076539433a@php.net> <067ed507-33f8-422b-8bb0-60b72c44e519@php.net> <571f4fe6-93cf-156b-da3b-36bc54bd81ed@php.net> In-Reply-To: <571f4fe6-93cf-156b-da3b-36bc54bd81ed@php.net> Date: Mon, 11 Dec 2023 13:16:42 +0100 Message-ID: To: Derick Rethans Cc: Remi Collet , internals@lists.php.net Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] New "PECL" From: landers.robert@gmail.com (Robert Landers) On Mon, Dec 11, 2023 at 10:59=E2=80=AFAM Derick Rethans wr= ote: > > On Thu, 7 Dec 2023, Remi Collet wrote: > > > Le 05/12/2023 =C3=A0 14:45, Derick Rethans a =C3=A9crit : > > > https://docs.google.com/document/d/1_N0E9xo3jn9aKrIZHIbTYaY5lXw71BpSO= 6-it4cRpDo > > > > > > In this first stage, we would like to invite you in commenting on the > > > document (either inline, or here). > > > > As inline requires a Google account... > > > > > priority (optional): The installation "priority". > > > > 1/ I don't like this name which is ambiguous > > > > higher value seems to give higher priority > > which lower are loaded first > > > > This prefix, used in various linux distro, > > is really a "load order", needed when using --enable-rtld-now > > > > So I proprose "load order" instead > > We can quibble over the name :-) > > I picked something short. Debian calls it > 'priority' too in their ini files. For example: > > ; configuration for php common module > ; priority=3D20 > extension=3Dcalendar.so > > > 2/ values > > > > Default value can be 40 or max(requirement) + 10 > > > > In Fedora where we use this for years we have > > (IIRC debian have different practice) > > > > 0-19 for zend_extension > > 10 for opcache > > 15 for xdebug > > That's not really a good default. At least Xdebug should be > near the end of the loading order. > > > 20-39 for php-src extension > > 20 for most > > 30 if requirement (ex: pdo drivers) > > 40-99 for other (pecl...) > > 40 for igbinary, msgpack > > 50 for redis which use igbinary, msgpack > > I am happy to pick a different default. I had picked what Debian seemed > to have (20). > > I don't think it matters much though, as distribitions can decide to > change them in their binary packages regardless. > > cheers, > Derick > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: https://www.php.net/unsub.php Hello, I don't know if you've seen this prior art: https://github.com/mlocati/docker-php-extension-installer It's extremely convenient for Docker images, and usually has the ability to apply appropriate patches (such as the memcached + PHP 8.1-ish issue a couple of years ago) to get things to install. It would be amazing if the new pecl could be as easy to use as this wrapper/tool. Robert Landers Software Engineer Utrecht NL