summaryrefslogtreecommitdiffstats
path: root/package/php/Config.in
blob: 23d86e48e7801d6d85d5a1be0d0da0f40b7ba8ff (plain)
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
config BR2_PACKAGE_PHP
	bool "php"
	help
	  PHP  is a widely-used general-purpose scripting
	  language that is especially suited for Web development
	  and can be embedded into HTML.

	  http://www.php.net

if BR2_PACKAGE_PHP

config BR2_PACKAGE_PHP_CLI
       bool

config BR2_PACKAGE_PHP_CGI
       bool

choice
        prompt "PHP interface"
        default BR2_PACKAGE_PHP_SAPI_CGI
        help
          Select the PHP interface(s).

config BR2_PACKAGE_PHP_SAPI_CLI
        bool "cli interface"
	select BR2_PACKAGE_PHP_CLI
        help
          Command line interface for PHP.

config BR2_PACKAGE_PHP_SAPI_CGI
        bool "cgi interface"
        select BR2_PACKAGE_PHP_CGI
        help
          CGI interface for PHP.

config BR2_PACKAGE_PHP_SAPI_CLI_CGI
        bool "cli and cgi interfaces"
	select BR2_PACKAGE_PHP_CLI
	select BR2_PACKAGE_PHP_CGI
	help
	  Command line and CGI interfaces for PHP.

endchoice

config BR2_PACKAGE_PHP_FASTCGI
        bool "fastcgi"
        depends on BR2_PACKAGE_PHP_CGI
        default y
        help
          fast cgi interface for php

source "package/php/Config.ext"
endif