]> rtime.felk.cvut.cz Git - coffee/buildroot.git/blob - package/php/Config.in
0fb80063af3fee45b07183e8f546670e2b4e4644
[coffee/buildroot.git] / package / php / Config.in
1 config BR2_PACKAGE_PHP
2         bool "php"
3         select BR2_PACKAGE_PHP_SAPI_CGI if \
4                !BR2_PACKAGE_PHP_SAPI_APACHE && \
5                !BR2_PACKAGE_PHP_SAPI_CLI && \
6                !BR2_PACKAGE_PHP_SAPI_FPM &&  \
7                BR2_USE_MMU
8         select BR2_PACKAGE_PHP_SAPI_CLI if !BR2_USE_MMU
9         help
10           PHP  is a widely-used general-purpose scripting
11           language that is especially suited for Web development
12           and can be embedded into HTML.
13
14           http://www.php.net
15
16 if BR2_PACKAGE_PHP
17
18 config BR2_PACKAGE_PHP_SAPI_APACHE
19         bool "Apache interface"
20         depends on BR2_PACKAGE_APACHE
21         help
22           Apache module
23
24 config BR2_PACKAGE_PHP_SAPI_CGI
25         bool "CGI interface"
26         # CGI uses fork()
27         depends on BR2_USE_MMU
28         help
29           Common Gateway Interface
30
31 config BR2_PACKAGE_PHP_SAPI_CLI
32         bool "CLI interface"
33         help
34           Command Line Interface
35
36 config BR2_PACKAGE_PHP_SAPI_FPM
37         bool "FPM interface"
38         depends on BR2_USE_MMU
39         # "Sparc v8 and predecessors are not and will not be supported"
40         depends on !BR2_sparc
41         help
42           PHP-FPM (FastCGI Process Manager)
43
44 source "package/php/Config.ext"
45
46 endif