You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+40-15Lines changed: 40 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,30 +5,55 @@ Puppet module for phpbrew.
5
5
6
6
## Usage
7
7
8
-
class { 'phpdecoder':
9
-
$php_version => '5.3',
10
-
$type => 'zend',
11
-
}
8
+
phpbrew::install{ '5.3.27':
9
+
$version = '',
10
+
$build_prameters = undef,
11
+
$php_inis = undef,
12
+
$install_dir = '/opt/phpbrew',
13
+
)
12
14
13
15
14
16
## Configuration
15
17
16
-
You can additional define apache modules and php conf.d directory:
18
+
You can additional define the version (if the name should be different), the build parameters, the php ini files you want to copy and the install directory:
17
19
18
-
class { 'phpdecoder':
19
-
$php_version => '5.3',
20
-
$type => 'zend',
21
-
$modules_dir => '/etc/apache2/modules/zgl/',
22
-
$php_ini_dir => '/etc/php5/apache2/conf.d/'
23
-
}
20
+
phpbrew::install{ 'php-5.3.27':
21
+
$version => '5.3.27',
22
+
$build_prameters => '+mysql',
23
+
$php_inis => [
24
+
'/etc/php5/mods-available/custom.ini'
25
+
],
26
+
$install_dir => '/opt/custom_dir',
27
+
)
24
28
29
+
Default values:
30
+
31
+
$version = '',
32
+
$build_prameters = undef
33
+
$php_inis = undef
34
+
$install_dir = '/opt/phpbrew'
35
+
36
+
37
+
## Install php extension
38
+
39
+
### Usage
40
+
41
+
define phpbrew::extension{ 'xdebug':
42
+
$php_version = '5.3.27',
43
+
)
44
+
45
+
Note the php version is required and the php version must be installed by php brew.
46
+
47
+
48
+
### Configuration
49
+
50
+
You can additional define the extension name (if the name should be different), the version (if now version is given the latest will used), the build parameters and the install directory:
0 commit comments