-
Notifications
You must be signed in to change notification settings - Fork 35
/
Copy pathtoolkit.ini
143 lines (117 loc) · 6.13 KB
/
toolkit.ini
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
; toolkit.ini for Zend/PHP Toolkit and Compatibility Wrapper (CW)
; with default values appropriate for Zend Server 9
;comment
[system]
; set library where XMLSERVICE objects live
XMLServiceLib = "QXMLSERV" ; Library for XMLSERVICE shipped by IBM
;XMLServiceLib = "ZENDPHP7" ; production Zend Server 9.x
; Location of ZSXMLSRV "helper" service program. Overrides ToolkitServiceSet's ZSTOOLKITLIB constant
HelperLib = "ZENDPHP7" ; library of ZS "helper" service program. ZENDSVR, ZENDSVR6, or ZENDPHP7
; debug sets PHP toolkit's debug mode on or off (true/false).
; Default log file: /usr/local/zendphp7/var/log/tkit_debug.log
; This log will grow large, so leave this false when you do not need to log everything.
debug = false
debugLogFile = "/usr/local/zendphp7/var/log/tkit_debug.log"
; Enable internal, low-level XMLSERVICE trace into table XMLSERVLOG/LOG
; (New in PHP tkit 1.3.1, requiring XMLSERVICE 1.7.1)
; default is false
trace = false
; encoding (ISO-8859-1 is default. For some languages, such as Japanese, UTF-8 seems better.)
encoding = "ISO-8859-1"
;encoding = "UTF-8"
; Advanced CCSID options. Use all three options together.
; Details under the heading "CCSID user override - xmlservice options (hex/before/after)":
; http://www.youngiprofessionals.com/wiki/index.php/XMLSERVICE/XMLSERVICECCSID
;ccsidBefore = "819/37"
;ccsidAfter = "37/819"
;useHex = true
; paseCcsid controls CCSID for <sh> type of functions such as WRKACTJOB ('system' command in PASE)
; Default is 819. Another practical value is 1208 (UTF-8).
;paseCcsid = 819
; Optionally provide submit options here
; Format: JOBDLIB/JOBD/JOBNAME. If not specified, will be ZENDSVR6/ZSVR_JOBD/XTOOLKIT
;sbmjob_params = "ZENDSVR6/ZSVR_JOBD/XTOOLKIT"
; Or specify another sbmjob combination, such as QSYS/QSRVJOB/XTOOLKIT,
; if ZENDSVR6 library isn't present on the system or LPAR.
;sbmjob_params = "QSYS/QSRVJOB/XTOOLKIT"
; If you plan to connect to v5r4 IBM i systems from this toolkit installation, set v5r4=true.
; The toolkit will then optimize program calls for v5r4 (important when calling non-ILE programs on v5r4).
; This setting is equivalent to the following PHP code: $conn->setToolkitServiceParams(array('v5r4'=>true));
; The default is false.
v5r4 = false
; Data Structure integrity
; Whether to retain the tree-like hierarchy of data structures (dataStructureIntegrity = true)
; or to ignore DSes, flattening out all data elements to a single level (dataStructureIntegrity = false)
; Starting in Zend Server 6, the default here is true.
; For backward compatibility with pre-1.4.0 behavior, change one or both to false.
dataStructureIntegrity = true
; Array Integrity
; Allow true array parameters with better functionality.
; For backward compatibility with pre-1.4.0, set to false.
arrayIntegrity = true
; CW only: stateless mode is default for i5_connect (though automatically overridden if private conns are used)
stateless = true
[transport]
; transport type allows configuration of transport from this INI.
;transportType = "ibm_db2" ; ibm_db2 is default. Other choices: "odbc", "http", "https"
; for http transport only
;httpTransportUrl = "https://example.com/cgi-bin/xmlcgi.pgm"
;sslCaFile = "/path/to/cert.pem"
;serverName = "example.com"
; default plug size, which is the expected output size. 4K, 32K, 512K (default), 65K, 512K, 1M, 5M, 10M, 15M
; can also change in code with $conn->setOptions(array('plugSize' => '4K')); or desired size
;plugSize = "512K"
; Override the binary called in the local and SSH transports.
; Useful for shimming the binary, or running it elsewhere.
;xmlserviceCliPath = "/QOpenSys/pkgs/bin/xmlservice-cli"
[log]
; Both CW and regular toolkit: warnings and errors will be written to the logfile (CW and regular toolkit).
logfile = "/usr/local/zendphp7/var/log/toolkit.log"
; CW only: If logCwConnect = true then CW connection events will be written to the logfile.
; This log will grow large, so set logCwConnects=false in production.
; Certain warnings and errors will be written regardless.
logCwConnect = false
; CW only: map hosts from ip/host to database names
[hosts]
; map ip/host names to database names (WRKDBRDIRE)
; because old toolkit used ip/host name; Zend's toolkit uses database name.
; Two common keys are set by default. In CW, specify 'localhost' as host name if running on local IBM i.
localhost = "*LOCAL"
127.0.0.1 = "*LOCAL"
; examples of other mappings
;1.2.3.4 = DB1
;myhost = MAINDB
;example.com = LPARDB
[testing]
; parse_only means do not run your program. Only parse the XML and return debug info. Useful for testing dim/dou/counters
; This setting is equivalent to the following PHP code: $conn->setToolkitServiceParams(array('parseOnly'=>true));
; The default is false.
;parse_only = false
; parse_debug_level determines the amount of parsing detail to be logged in debug log (1-9: 1=none, 9=all)
; This setting is equivalent to the following PHP code: $conn->setToolkitServiceParams(array('parseDebugLevel'=>1)); // any number 1-9
; The default is null.
;parse_debug_level = 1
[cw]
; if want to close db connection on i5_close();
fullDbClose = false
; CW Demo configuration (may be deprecated in a future release)
[demo]
demo_library=CWDEMO
; For CW demo script, optional settings: initlibl, ccsid, jobname, idle_timeout, transport_type
; These affect the demo script only.
; May be helpful to specify QGPL if not ordinarily present because it's required in liblist to enable spool file access (Qshell's catsplf command used by the CW).
;initlibl = "QGPL"
;ccsid = 37
;jobname = PHPJOBX
;idle_timeout = 30
;transport_type = "odbc" ; ibm_db2 is default. Other choice is "odbc"
; for demo, use a persistent connection (true or false)
persistent = true
; for demo, whether to use a private connection (true or false)
private = false
; for demo script, if specified private above, this is the conn# to use.
; A value of 0 means the toolkit should generate the number.
; Recommendation: use 0 the first time to allow the toolkit to generate a number,
; then edit the INI file to specify the generated number, then run demo again.
; Private connections are slow the first time, then fast afterard.
private_num = 0