1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
|
<parameters>
<!-- Application install path -->
<parameter
name="Application Path"
description="Full site path where you would like to install your application (for example, Default Web Site/piwik)."
defaultValue="Default Web Site/piwik"
tags="iisapp">
<parameterEntry
type="ProviderPath"
scope="iisapp"
match="piwik"
/>
</parameter>
<!-- Set access control list -->
<parameter
name="SetAclParameterTree"
description="Sets the ACL on the Installation tree"
defaultValue="{Application Path}"
tags="Hidden">
<parameterEntry
type="ProviderPath"
scope="setAcl"
match="piwik"
/>
</parameter>
<!-- Database server name -->
<parameter
name="DbServer"
description="This is usually localhost, 127.0.0.1, or a host name provided by the hosting provider."
defaultValue="localhost"
tags="MySQL,dbServer">
<parameterEntry
type="TextFile"
scope="install.sql"
match="PlaceholderForServer"
/>
</parameter>
<parameter
name="Automatic Database Server PHP File"
defaultValue="host = "{DbServer}""
tags="Hidden,MySQL">
<parameterEntry
type="TextFile"
scope="config\\config.ini.php"
match="host\s*=\s*"([^"]*)""
/>
</parameter>
<!-- Database name -->
<parameter
name="DbName"
description="Database Name may be a combination of lower case letters, numerals and/or underscore (_), but must start with a letter."
defaultValue="piwik"
tags="MySQL,dbName">
<parameterValidation
type="RegularExpression"
validationString="^\w{1,16}$"
/>
<parameterEntry
type="TextFile"
scope="install.sql"
match="PlaceholderForDbName"
/>
</parameter>
<parameter
name="Automatic Database Name PHP File"
defaultValue="dbname = "{DbName}""
tags="Hidden,MySQL">
<parameterEntry
type="TextFile"
scope="config\\config.ini.php"
match="dbname\s*=\s*"([^"]*)""
/>
</parameter>
<!-- Database user name -->
<parameter
name="DbUsername"
description="Username to access your database"
defaultValue="piwikuser"
tags="MySQL,DbUsername">
<parameterValidation
type="RegularExpression"
validationString="^\w{1,16}$"
/>
<parameterEntry
type="TextFile"
scope="install.sql"
match="PlaceholderForDbUsername"
/>
</parameter>
<parameter
name="Automatic Database Username PHP File"
defaultValue="username = "{DbUsername}""
tags="Hidden,MySQL">
<parameterEntry
type="TextFile"
scope="config\\config.ini.php"
match="username\s*=\s*"([^"]*)""
/>
</parameter>
<!-- Database user password -->
<parameter
name="DbPassword"
description="Minimum 4 characters and maximum 20 characters"
tags="New,Password,MySQL,DbUserPassword">
<parameterValidation
type="RegularExpression"
validationString=".{4,20}"
/>
<parameterEntry
type="TextFile"
scope="install.sql"
match="PlaceholderForDbPassword"
/>
</parameter>
<parameter
name="Automatic Database Password PHP File"
defaultValue="password = "{DbPassword}""
tags="Hidden,MySQL">
<parameterEntry
type="TextFile"
scope="config\\config.ini.php"
match="password\s*=\s*"([^"]{6,20})""
/>
</parameter>
<!-- Database admin user name -->
<parameter
name="DbAdminUsername"
description="This can be the default MySQL username root, a username provided by your hosting provider, or one that your created in setting up your database server."
defaultValue="root"
tags="MySQL,DbAdminUsername">
</parameter>
<!-- Database admin user password -->
<parameter
name="DbAdminPassword"
description="Password for the database administrator account. Required for site security. This may be predefined by your hosting provider."
tags="Password,MySQL,DbAdminPassword">
</parameter>
<!-- Execute install.sql -->
<parameter
name="Connection String"
description="Automatically sets the connection string for the connection request."
defaultValue="Server={DbServer};Database={DbName};uid={DbAdminUsername};Pwd={DbAdminPassword};"
tags="Hidden,MySQLConnectionString,Validate,MySQL">
<parameterEntry
type="ProviderPath"
scope="dbmysql"
match="install.sql$"
/>
</parameter>
<!-- Database adapter -->
<parameter
name="Automatic Database adapter"
defaultValue="adapter = "PDO_MYSQL""
tags="Hidden,MySQL,NoStore">
<parameterEntry
type="TextFile"
scope="config\\config.ini.php"
match="adapter\s*=\s*[^\r\n]*"
/>
</parameter>
</parameters>
|