README.md 1.07 KB
Newer Older
Pietsch, Martin's avatar
Pietsch, Martin committed
1
2
## Description

Pietsch, Martin's avatar
Pietsch, Martin committed
3
This role installs, enables and configures the PHP module `phar`.
Pietsch, Martin's avatar
Pietsch, Martin committed
4
5
6
7
8

## Requirements

### Variables

Pietsch, Martin's avatar
Pietsch, Martin committed
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
* php_mod_phar_readonly
  * description:
    * This option disables creation or modification of Phar archives using the phar stream or Phar object's write support.
  * choices: [false, true]
  * default: true

* php_mod_phar_require_hash: true
  * description:
    * This option will force all opened Phar archives to contain some kind of signature (currently MD5, SHA1, SHA256, SHA512 and OpenSSL are supported), and will refuse to process any Phar archive that does not contain a signature. 
  * choices: [false, true]
  * default: true

* php_mod_phar_cache_list: ""
  * description:
    * This options allows mapping phar archives to be pre-parsed at web server startup, providing a performance improvement that brings running files out of a phar archive very close to the speed of running those files from a traditional disk-based installation. 
  * default: ""

Pietsch, Martin's avatar
Pietsch, Martin committed
26
27
28
29
30
31
32
33
34
35
## Processes

None

## License

BSD-3-Clause

## Contributors 

36
- Martin Pietsch \<martin.pietsch@tu-dresden.de\>