hc
2023-11-06 36f0949ef9854b82a9a3154d970da4e3b8d12a61
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
config BR2_PACKAGE_PHP
   bool "php"
   select BR2_PACKAGE_PHP_SAPI_CGI if \
          !BR2_PACKAGE_PHP_SAPI_APACHE && \
          !BR2_PACKAGE_PHP_SAPI_CLI && \
          !BR2_PACKAGE_PHP_SAPI_FPM &&  \
          BR2_USE_MMU
   select BR2_PACKAGE_PHP_SAPI_CLI if !BR2_USE_MMU
   # PHP uses -export-dynamic, which breaks with elf2flt with a
   # message like "ld.real: section .junk LMA [...,...] overlaps
   # section .text LMA [...,...]"
   depends on !BR2_BINFMT_FLAT
   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_SAPI_APACHE
   bool "Apache interface"
   depends on BR2_PACKAGE_APACHE
   help
     Apache module
 
config BR2_PACKAGE_PHP_SAPI_CGI
   bool "CGI interface"
   # CGI uses fork()
   depends on BR2_USE_MMU
   help
     Common Gateway Interface
 
config BR2_PACKAGE_PHP_SAPI_CLI
   bool "CLI interface"
   help
     Command Line Interface
 
config BR2_PACKAGE_PHP_SAPI_FPM
   bool "FPM interface"
   depends on BR2_USE_MMU
   # "Sparc v8 and predecessors are not and will not be supported"
   depends on !BR2_sparc
   help
     PHP-FPM (FastCGI Process Manager)
 
source "package/php/Config.ext"
 
endif