summaryrefslogtreecommitdiffstats
path: root/rules/php5.in
blob: cd191b96f204d769498ad8a6b5f6b921d6057085 (plain) (blame)
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
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
## SECTION=scripting_languages
# php5 configuration

menuconfig PHP5
	tristate
	prompt "php5                          "
	select APACHE2		if PHP5_SAPI_APXS2 || PHP5_SAPI_APXS2FILTER
	select LIBCURL		if PHP5_EXT_CURL
	select LIBXML2		if PHP5_XML_LIBXML2
	select LIBXML2_C14N	if PHP5_XML_LIBXML2
	select LIBXML2_DTD	if PHP5_XML_LIBXML2
	select LIBXML2_XINCLUDE	if PHP5_XML_LIBXML2
	select LIBXML2_READER	if PHP5_XML_LIBXML2_READER
	select LIBXML2_WRITER	if PHP5_XML_LIBXML2_WRITER
	select LIBXSLT		if PHP5_XML_LIBXML2_XSLT
	select MYSQLDB		if PHP5_EXT_MYSQL
	select PHP5_XML		if PHP5_EXT_SOAP
	select XMLRPC_C		if PHP5_XML_LIBXML2_XMLRPC
	select SQLITE		if PHP5_EXT_SQLITE3
	select ZLIB		if PHP5_EXT_ZLIB
	select OPENSSL		if PHP5_EXT_OPENSSL

if PHP5

config PHP5_INI
	bool
	prompt "install /etc/php5/php.ini"
	default y
	help
	  Installs (if present) the
	  "./projectroot/etc/php5/php.ini" file from your
	  workspace, otherwise a generic one from the ptxdist
	  directory.

# ----------------------------------------------------------------------------
# SAPI Modules
# ----------------------------------------------------------------------------

choice
	prompt "SAPI Module"
	default PHP5_SAPI_NONE

config PHP5_SAPI_AOLSERVER
	bool
	prompt "aolserver"
	depends on BROKEN
	help
	  Use AOLserver.

config PHP5_SAPI_APXS2FILTER
	bool
	depends on STAGING
	prompt "apxs2filter"
	help
	  EXPERIMENTAL: Build shared Apache 2.0 Filter module. FILE is the optional
	  pathname to the Apache apxs tool [apxs]

config PHP5_SAPI_APXS2
	bool
	depends on STAGING
	prompt "apache mod_php (apxs2)"
	help
	  Build shared Apache 2.0 Handler module.

config PHP5_SAPI_CAUDIUM
	bool
	prompt "caudium"
	depends on BROKEN
	help
	  Build PHP as a Pike module for use with Caudium.

config PHP5_SAPI_CONTINUITY
	bool
	prompt "continuity"
	depends on BROKEN
	help
	  Build PHP as Continuity Server module.

config PHP5_SAPI_EMBEDDED
	bool
	prompt "embedded"
	help
	  Enable building of embedded SAPI library.

config PHP5_SAPI_ISAPI
	bool
	prompt "isapi"
	depends on BROKEN
	help
	  Build PHP as an ISAPI module for use with Zeus

config PHP5_SAPI_MILTER
	bool
	prompt "milter"
	depends on BROKEN
	help
	  Build PHP as Milter application.

config PHP5_SAPI_NSAPI
	bool
	prompt "nsapi"
	depends on BROKEN
	help
	  Build PHP as NSAPI module for Netscape/iPlanet/SunONE.

config PHP5_SAPI_PHTTPD
	bool
	prompt "phttpd"
	depends on BROKEN
	help
	  Build PHP as phttpd module.

config PHP5_SAPI_PI3WEB
	bool
	prompt "pi3web"
	depends on BROKEN
	help
	  Build PHP as Pi3Web module

config PHP5_SAPI_ROXEN
	bool
	prompt "roxen"
	depends on BROKEN
	help
	  Build PHP as a Pike module. DIR is the base Roxen

config PHP5_SAPI_ROXEN_ZTS
	bool
	prompt "roxen-zts"
	depends on BROKEN
	help
	  Build the Roxen module using Zend Thread Safety.

config PHP5_SAPI_THTTPD
	bool
	prompt "thttpd"
	depends on BROKEN
	help
	  Build PHP as thttpd module

config PHP5_SAPI_TUX
	bool
	prompt "tux"
	depends on BROKEN
	help
	  Build PHP as a TUX module.

config PHP5_SAPI_WEBJAMES
	bool
	prompt "webjames"
	depends on BROKEN
	help
	  Build PHP as a WebJames module (RISC OS only).

config PHP5_SAPI_CGI
	bool
	prompt "cgi"
	help
	  Build CGI version of PHP.

config PHP5_SAPI_NONE
	bool
	prompt "none"
	select PHP5_SAPI_CLI

endchoice

config PHP5_SAPI_CLI
	bool
	prompt "cli"
	help
	  Build CLI (commandline interface) version of PHP

# ----------------------------------------------------------------------------
# General Settings
# ----------------------------------------------------------------------------

menuconfig PHP5_XML
	bool
	prompt "xml support                 "
	help
	  Support for XML.

if PHP5_XML

choice
	prompt "xml library"

	config PHP5_XML_LIBXML2
		bool "libxml2"
		help
		  Use libxml2 as xml backend.
endchoice

if PHP5_XML_LIBXML2

config PHP5_XML_LIBXML2_READER
	bool
	prompt "xml reader support"
	help
	  XMLReader support

config PHP5_XML_LIBXML2_WRITER
	bool
	select LIBXML2_WRITER
	prompt "xml writer support"
	help
	  XMLWriter support

config PHP5_XML_LIBXML2_DOM
	bool
	select LIBXML2_DOM
	prompt "DOM support"
	help
	  libxml2 DOM support

config PHP5_XML_LIBXML2_XSLT
	bool
	select PHP5_XML_LIBXML2_DOM
	prompt "xslt support"
	help
	  XMLWriter support

config PHP5_XML_LIBXML2_SIMPLEXML
	bool
	prompt "simple xml support"
	help
	  simple xml support

config PHP5_XML_LIBXML2_XMLRPC
	bool
	depends on STAGING
	prompt "xmlrpc support"
	help
	  xmlrpc support

endif	# PHP5_XML_LIBXML2

endif	# PHP5_XML

# ----------------------------------------------------------------------------
# Extensions
# ----------------------------------------------------------------------------

menu "Extensions                  "

config PHP5_EXT_CURL
	bool
	prompt "curl"
	help
	  Enable CURL support for PHP.

config PHP5_EXT_MYSQL
	bool
	prompt "mysql"
	help
	  Enable MySQL database support for PHP.

config PHP5_EXT_SOAP
	bool
	prompt "soap"
	select PHP5_XML
	help
	  Enable SOAP support for PHP.

config PHP5_EXT_SOCKETS
	bool
	prompt "sockets"
	help
	  Enable sockets support for PHP.

config PHP5_EXT_SQLITE3
	bool
	prompt "sqlite3"
	help
	  Enable sqlite3 support for PHP.

config PHP5_EXT_ZLIB
	bool
	prompt "zlib"
	help
	  Enable zlib support for PHP.

config PHP5_EXT_OPENSSL
	bool
	# Fails to build with OpenSSL 1.1.x
	depends on BROKEN
	prompt "openssl"
	help
	  Enable openssl support for PHP.

config PHP5_EXT_PEAR
	bool
	prompt "pear [BROKEN]"
	depends on BROKEN
	help
	  pear

endmenu

endif