Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Simple Deploy- and Management
package.lang.php.module.pdo
Commits
b6e93ad4
Commit
b6e93ad4
authored
Aug 02, 2021
by
Pietsch, Martin
Browse files
completed documentation
parent
fdc27003
Changes
1
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
b6e93ad4
## Description
This role installs, enables and configures the PHP module
`
<module>`
.
This role installs, enables and configures the PHP module
`
pdo`
. It is the base of all PDO roles
.
## Requirements
### Variables
*
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"
``
`
## Processes
None
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment