• [docker-compose] append directory to PHP_INI_SCAN_DIR environment varia

    From Custom Log@21:1/5 to All on Fri Dec 23 17:41:39 2022
    $ cat docker-compose.yml
    services:
    web:
    image: php:apache
    environment:
    - PHP_INI_SCAN_DIR=$HOME/etc/php:$ORIGINAL

    $ docker-compose up -d
    WARNING: The ORIGINAL variable is not set. Defaulting to a blank string.

    How do I recover the original (current) $PHP_INI_SCAN_DIR?
    In other words, instead of $ORIGINAL what should I place?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Arno Welzel@21:1/5 to All on Fri Dec 23 18:48:08 2022
    Custom Log, 2022-12-23 17:41:

    $ cat docker-compose.yml
    services:
    web:
    image: php:apache
    environment:
    - PHP_INI_SCAN_DIR=$HOME/etc/php:$ORIGINAL

    $ docker-compose up -d
    WARNING: The ORIGINAL variable is not set. Defaulting to a blank string.

    How do I recover the original (current) $PHP_INI_SCAN_DIR?

    There is no "original" value for that. This variable is usually not set.


    --
    Arno Welzel
    https://arnowelzel.de

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Arno Welzel@21:1/5 to All on Fri Dec 23 18:51:06 2022
    Arno Welzel, 2022-12-23 18:48:

    Custom Log, 2022-12-23 17:41:

    $ cat docker-compose.yml
    services:
    web:
    image: php:apache
    environment:
    - PHP_INI_SCAN_DIR=$HOME/etc/php:$ORIGINAL

    $ docker-compose up -d
    WARNING: The ORIGINAL variable is not set. Defaulting to a blank string.

    How do I recover the original (current) $PHP_INI_SCAN_DIR?

    There is no "original" value for that. This variable is usually not set.

    In addition: if the variable *is* set, then you just use it:

    - PHP_INI_SCAN_DIR=$HOME/etc/php:$PHP_INI_SCAN_DIR


    --
    Arno Welzel
    https://arnowelzel.de

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)