Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #19214
| Path | csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail |
|---|---|
| From | Arno Welzel <usenet@arnowelzel.de> |
| Newsgroups | comp.lang.php |
| Subject | Re: [docker-compose] append directory to PHP_INI_SCAN_DIR environment variable |
| Date | Fri, 23 Dec 2022 18:51:06 +0100 |
| Lines | 27 |
| Message-ID | <k0m849Fl0k6U2@mid.individual.net> (permalink) |
| References | <to4lo3$sk2$1@gioia.aioe.org> <k0m7unFl0k6U1@mid.individual.net> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=UTF-8 |
| Content-Transfer-Encoding | 7bit |
| X-Trace | individual.net w8eqzvzwtH2da0EdyPg9DANwhjmzC/9ZvlmbVViTDAiJY44by7 |
| Cancel-Lock | sha1:i7AS71ZToII59vCjEpoMe4pfsT0= |
| Content-Language | de-DE |
| In-Reply-To | <k0m7unFl0k6U1@mid.individual.net> |
| Xref | csiph.com comp.lang.php:19214 |
Show key headers only | View raw
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