Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #19214
| From | Arno Welzel <usenet@arnowelzel.de> |
|---|---|
| Newsgroups | comp.lang.php |
| Subject | Re: [docker-compose] append directory to PHP_INI_SCAN_DIR environment variable |
| Date | 2022-12-23 18:51 +0100 |
| Message-ID | <k0m849Fl0k6U2@mid.individual.net> (permalink) |
| References | <to4lo3$sk2$1@gioia.aioe.org> <k0m7unFl0k6U1@mid.individual.net> |
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
Back to comp.lang.php | Previous | Next — Previous in thread | Find similar | Unroll thread
[docker-compose] append directory to PHP_INI_SCAN_DIR environment variable Custom Log <custom@log.abc> - 2022-12-23 17:41 +0100
Re: [docker-compose] append directory to PHP_INI_SCAN_DIR environment variable Arno Welzel <usenet@arnowelzel.de> - 2022-12-23 18:48 +0100
Re: [docker-compose] append directory to PHP_INI_SCAN_DIR environment variable Arno Welzel <usenet@arnowelzel.de> - 2022-12-23 18:51 +0100
csiph-web