buildrootschalter/package/php/Config.in
Jordi Llonch c54de0884f php: add FPM support
[Thomas: adjust commit title, as suggested by Gustavo.]

Signed-off-by: Jordi Llonch <jordi.llonch@rochsystems.com>
Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-07-15 21:10:55 +02:00

70 lines
1.3 KiB
Plaintext

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
source "package/php/Config.ext"
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
bool "CGI"
# CGI uses fork()
depends on BR2_USE_MMU
select BR2_PACKAGE_PHP_CGI
help
Common Gateway Interface
config BR2_PACKAGE_PHP_SAPI_CLI
bool "CLI"
select BR2_PACKAGE_PHP_CLI
help
Command Line Interface
config BR2_PACKAGE_PHP_SAPI_FPM
bool "FPM"
depends on BR2_USE_MMU
select BR2_PACKAGE_PHP_FPM
help
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
endif