1
- # Make OpenSSL trust us
1
+ ; Make OpenSSL trust us
2
2
openssl.cafile =${SSL_CERT_FILE}
3
- # Make cURL trust us
3
+ ; Make cURL trust us
4
4
curl.cainfo =${SSL_CERT_FILE}
5
- # Prepend a script that enables the proxy
5
+ ; Prepend a script that enables the proxy
6
6
auto_prepend_file =${HTTP_TOOLKIT_OVERRIDE_PATH}/php/prepend.php
7
7
8
- # Intercepting PHP using this file via PHP_INI_SCAN_DIR isn't a perfect solution. It's better
9
- # to use the 'php' wrapper (overrides/path/php) which sets this configuration, because when
10
- # PHP_INI_SCAN_DIR is left blank it defaults to a system config directory, and overriding this
11
- # means that is not loaded.
12
- # Unfortunately, it's not always possible to inject the 'php' wrapper where we need it, due to
13
- # how PHP is often launched (managed by another process, not launched & injectable by HTTP Toolkit).
14
- # This is a fallback solution for that case that seems to work well in practice.
8
+ ; Intercepting PHP using this file via PHP_INI_SCAN_DIR isn't a perfect solution. It's better
9
+ ; to use the 'php' wrapper (overrides/path/php) which sets this configuration, because when
10
+ ; PHP_INI_SCAN_DIR is left blank it defaults to a system config directory, and overriding this
11
+ ; means that is not loaded.
12
+ ; Unfortunately, it's not always possible to inject the 'php' wrapper where we need it, due to
13
+ ; how PHP is often launched (managed by another process, not launched & injectable by HTTP Toolkit).
14
+ ; This is a fallback solution for that case that seems to work well in practice.
15
15
16
- # Where this doesn't work, you may be able to replace the relevant env vars above and place this
17
- # file directly into your PHP_INI_SCAN_DIR directory (run php --ini to find this).
16
+ ; Where this doesn't work, you may be able to replace the relevant env vars above and place this
17
+ ; file directly into your PHP_INI_SCAN_DIR directory (run php --ini to find this).
18
18
19
- # (In future, we could consider more complicated fixes: e.g. a prepend script that launches a PHP
20
- # subprocess which runs with the default configuration, just explicitly overridden by CLI args.
21
- # That would have some performance implications, but probably nothing notable in dev. Not worthwhile
22
- # for now unless this causes serious problems though)
19
+ ; (In future, we could consider more complicated fixes: e.g. a prepend script that launches a PHP
20
+ ; subprocess which runs with the default configuration, just explicitly overridden by CLI args.
21
+ ; That would have some performance implications, but probably nothing notable in dev. Not worthwhile
22
+ ; for now unless this causes serious problems though)
0 commit comments