|
@@ -1,5 +1,8 @@
|
|
config BR2_PACKAGE_PHP
|
|
config BR2_PACKAGE_PHP
|
|
bool "php"
|
|
bool "php"
|
|
|
|
+ select BR2_PACKAGE_PHP_SAPI_CGI if \
|
|
|
|
+ !BR2_PACKAGE_PHP_SAPI_CLI && \
|
|
|
|
+ !BR2_PACKAGE_PHP_SAPI_FPM
|
|
help
|
|
help
|
|
PHP is a widely-used general-purpose scripting
|
|
PHP is a widely-used general-purpose scripting
|
|
language that is especially suited for Web development
|
|
language that is especially suited for Web development
|
|
@@ -9,61 +12,24 @@ config BR2_PACKAGE_PHP
|
|
|
|
|
|
if BR2_PACKAGE_PHP
|
|
if BR2_PACKAGE_PHP
|
|
|
|
|
|
-config BR2_PACKAGE_PHP_CLI
|
|
|
|
- bool
|
|
|
|
-
|
|
|
|
-config BR2_PACKAGE_PHP_CGI
|
|
|
|
- bool
|
|
|
|
-
|
|
|
|
-config BR2_PACKAGE_PHP_FPM
|
|
|
|
- bool
|
|
|
|
-
|
|
|
|
-choice
|
|
|
|
- prompt "Interface"
|
|
|
|
- default BR2_PACKAGE_PHP_SAPI_CGI
|
|
|
|
- help
|
|
|
|
- Select the PHP interface(s).
|
|
|
|
-
|
|
|
|
config BR2_PACKAGE_PHP_SAPI_CGI
|
|
config BR2_PACKAGE_PHP_SAPI_CGI
|
|
- bool "CGI"
|
|
|
|
|
|
+ bool "CGI interface"
|
|
# CGI uses fork()
|
|
# CGI uses fork()
|
|
depends on BR2_USE_MMU
|
|
depends on BR2_USE_MMU
|
|
- select BR2_PACKAGE_PHP_CGI
|
|
|
|
help
|
|
help
|
|
Common Gateway Interface
|
|
Common Gateway Interface
|
|
|
|
|
|
config BR2_PACKAGE_PHP_SAPI_CLI
|
|
config BR2_PACKAGE_PHP_SAPI_CLI
|
|
- bool "CLI"
|
|
|
|
- select BR2_PACKAGE_PHP_CLI
|
|
|
|
|
|
+ bool "CLI interface"
|
|
help
|
|
help
|
|
Command Line Interface
|
|
Command Line Interface
|
|
|
|
|
|
config BR2_PACKAGE_PHP_SAPI_FPM
|
|
config BR2_PACKAGE_PHP_SAPI_FPM
|
|
- bool "FPM"
|
|
|
|
|
|
+ bool "FPM interface"
|
|
depends on BR2_USE_MMU
|
|
depends on BR2_USE_MMU
|
|
- select BR2_PACKAGE_PHP_FPM
|
|
|
|
help
|
|
help
|
|
PHP-FPM (FastCGI Process Manager)
|
|
PHP-FPM (FastCGI Process Manager)
|
|
|
|
|
|
-config BR2_PACKAGE_PHP_SAPI_CLI_CGI
|
|
|
|
- bool "CGI and CLI"
|
|
|
|
- # CGI uses fork()
|
|
|
|
- depends on BR2_USE_MMU
|
|
|
|
- select BR2_PACKAGE_PHP_CLI
|
|
|
|
- select BR2_PACKAGE_PHP_CGI
|
|
|
|
- help
|
|
|
|
- Command line and Common gateway interfaces
|
|
|
|
-
|
|
|
|
-config BR2_PACKAGE_PHP_SAPI_CLI_FPM
|
|
|
|
- bool "FPM and CLI"
|
|
|
|
- depends on BR2_USE_MMU
|
|
|
|
- select BR2_PACKAGE_PHP_CLI
|
|
|
|
- select BR2_PACKAGE_PHP_FPM
|
|
|
|
- help
|
|
|
|
- Command line and PHP-FPM (FastCGI Process Manager)
|
|
|
|
-
|
|
|
|
-endchoice
|
|
|
|
-
|
|
|
|
source "package/php/Config.ext"
|
|
source "package/php/Config.ext"
|
|
|
|
|
|
endif
|
|
endif
|