note 128831 added to install.pecl.pear

From: Date: Sun, 27 Aug 2023 06:22:30 +0000
Subject: note 128831 added to install.pecl.pear
Groups: php.notes 
Request: Send a blank email to php-notes+get-220793@lists.php.net to get a copy of this message
Options to pass to configure (with -D or --configureoptions=) need to be specified this way in a Dockerfile RUN command: RUN pecl install -D 'with-example-dir="/dir" enable-example-thing="yes"' package or RUN pecl install --configureoptions='with-example-dir="/dir" enable-example-thing="yes"' package Otherwise, docker build might quote the command in a way that pecl doesn't parse correctly, and the build will fail with an error like this one: PHP Fatal error: Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, null given in /usr/local/lib/php/PEAR/Builder.php:397 ---- Server IP: 45.112.84.4 Probable Submitter: 45.91.157.134 (proxied: 76.217.153.119) ---- Manual Page -- https://php.net/manual/en/install.pecl.pear.php Edit -- https://main.php.net/note/edit/128831 Del: integrated -- https://main.php.net/note/delete/128831/integrated Del: useless -- https://main.php.net/note/delete/128831/useless Del: bad code -- https://main.php.net/note/delete/128831/bad+code Del: spam -- https://main.php.net/note/delete/128831/spam Del: non-english -- https://main.php.net/note/delete/128831/non-english Del: in docs -- https://main.php.net/note/delete/128831/in+docs Del: other reasons-- https://main.php.net/note/delete/128831 Reject -- https://main.php.net/note/reject/128831 Search -- https://main.php.net/manage/user-notes.php

« previous php.notes (#220793) next »