README.md 900 Bytes
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 `pdo`. It is the base of all PDO roles.
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
26
27
28
29
* php_mod_pdo_config_file
  * description:
    * This option specifies the PDO config file for a database driver.
  * default: ""

* php_mod_pdo_dns_aliases
  * description:
    * This option contains a list of dictionaries with PDO aliases.
    * Each dictionary has the entries `name` and `value`.
    * The `name` entry specifies the DNS alias name.
    * The `value entry specifies the value for the corresponding DNS alias name. 
  * default: []
  * example:
```
  php_mod_pdo_dns_aliases:
    - name: mydb1
      value: "mysql:dbname=testdb1;host=localhost"
 
    - name: mydb2
      value: "mysql:dbname=testdb2;host=localhost"
```
Pietsch, Martin's avatar
Pietsch, Martin committed
30
31
32
33
34
35
36
37
38
39
## Processes

None

## License

BSD-3-Clause

## Contributors 

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