32faa322fe155c9c50f4be7809dfcf5d21fcb399
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / php / Config.in
1 config BR2_PACKAGE_PHP
2         bool "php"
3         help
4           PHP  is a widely-used general-purpose scripting
5           language that is especially suited for Web development
6           and can be embedded into HTML.
7
8           http://www.php.net
9
10 if BR2_PACKAGE_PHP
11
12 source "package/php/Config.ext"
13
14 config BR2_PACKAGE_PHP_CLI
15         bool
16
17 config BR2_PACKAGE_PHP_CGI
18         bool
19
20 config BR2_PACKAGE_PHP_FPM
21         bool
22
23 choice
24         prompt "Interface"
25         default BR2_PACKAGE_PHP_SAPI_CGI
26         help
27           Select the PHP interface(s).
28
29 config BR2_PACKAGE_PHP_SAPI_CGI
30         bool "CGI"
31         # CGI uses fork()
32         depends on BR2_USE_MMU
33         select BR2_PACKAGE_PHP_CGI
34         help
35           Common Gateway Interface
36
37 config BR2_PACKAGE_PHP_SAPI_CLI
38         bool "CLI"
39         select BR2_PACKAGE_PHP_CLI
40         help
41           Command Line Interface
42
43 config BR2_PACKAGE_PHP_SAPI_FPM
44         bool "FPM"
45         depends on BR2_USE_MMU
46         select BR2_PACKAGE_PHP_FPM
47         help
48           PHP-FPM (FastCGI Process Manager)
49
50 config BR2_PACKAGE_PHP_SAPI_CLI_CGI
51         bool "CGI and CLI"
52         # CGI uses fork()
53         depends on BR2_USE_MMU
54         select BR2_PACKAGE_PHP_CLI
55         select BR2_PACKAGE_PHP_CGI
56         help
57           Command line and Common gateway interfaces
58
59 config BR2_PACKAGE_PHP_SAPI_CLI_FPM
60         bool "FPM and CLI"
61         depends on BR2_USE_MMU
62         select BR2_PACKAGE_PHP_CLI
63         select BR2_PACKAGE_PHP_FPM
64         help
65           Command line and PHP-FPM (FastCGI Process Manager)
66
67 endchoice
68
69 endif