2007-08-07 19:47:03 +02:00
|
|
|
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
|
|
|
|
|
2010-05-09 16:19:08 +02:00
|
|
|
if BR2_PACKAGE_PHP
|
|
|
|
|
2007-08-07 19:47:03 +02:00
|
|
|
config BR2_PACKAGE_PHP_CLI
|
2013-11-11 17:23:23 +01:00
|
|
|
bool
|
2010-05-09 16:19:08 +02:00
|
|
|
|
|
|
|
config BR2_PACKAGE_PHP_CGI
|
2013-11-11 17:23:23 +01:00
|
|
|
bool
|
2010-05-09 16:19:08 +02:00
|
|
|
|
2014-07-15 20:07:42 +02:00
|
|
|
config BR2_PACKAGE_PHP_FPM
|
2014-10-02 22:04:51 +02:00
|
|
|
bool
|
2014-07-15 20:07:42 +02:00
|
|
|
|
2010-05-09 16:19:08 +02:00
|
|
|
choice
|
2013-11-11 17:23:23 +01:00
|
|
|
prompt "Interface"
|
|
|
|
default BR2_PACKAGE_PHP_SAPI_CGI
|
|
|
|
help
|
|
|
|
Select the PHP interface(s).
|
2010-05-09 16:19:08 +02:00
|
|
|
|
2012-05-21 03:17:54 +02:00
|
|
|
config BR2_PACKAGE_PHP_SAPI_CGI
|
|
|
|
bool "CGI"
|
2012-10-30 03:20:34 +01:00
|
|
|
# CGI uses fork()
|
|
|
|
depends on BR2_USE_MMU
|
2012-05-21 03:17:54 +02:00
|
|
|
select BR2_PACKAGE_PHP_CGI
|
|
|
|
help
|
|
|
|
Common Gateway Interface
|
|
|
|
|
2010-05-09 16:19:08 +02:00
|
|
|
config BR2_PACKAGE_PHP_SAPI_CLI
|
2013-11-11 17:23:23 +01:00
|
|
|
bool "CLI"
|
2010-05-09 16:19:08 +02:00
|
|
|
select BR2_PACKAGE_PHP_CLI
|
2013-11-11 17:23:23 +01:00
|
|
|
help
|
|
|
|
Command Line Interface
|
2010-05-09 16:19:08 +02:00
|
|
|
|
2014-07-15 20:07:42 +02:00
|
|
|
config BR2_PACKAGE_PHP_SAPI_FPM
|
|
|
|
bool "FPM"
|
|
|
|
depends on BR2_USE_MMU
|
|
|
|
select BR2_PACKAGE_PHP_FPM
|
|
|
|
help
|
|
|
|
PHP-FPM (FastCGI Process Manager)
|
|
|
|
|
2010-05-09 16:19:08 +02:00
|
|
|
config BR2_PACKAGE_PHP_SAPI_CLI_CGI
|
2013-11-11 17:23:23 +01:00
|
|
|
bool "CGI and CLI"
|
2012-10-30 03:20:34 +01:00
|
|
|
# CGI uses fork()
|
|
|
|
depends on BR2_USE_MMU
|
2010-05-09 16:19:08 +02:00
|
|
|
select BR2_PACKAGE_PHP_CLI
|
|
|
|
select BR2_PACKAGE_PHP_CGI
|
|
|
|
help
|
2012-05-21 03:17:54 +02:00
|
|
|
Command line and Common gateway interfaces
|
2010-05-09 16:19:08 +02:00
|
|
|
|
2014-07-15 20:07:42 +02:00
|
|
|
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)
|
|
|
|
|
2010-05-09 16:19:08 +02:00
|
|
|
endchoice
|
2007-08-07 19:47:03 +02:00
|
|
|
|
2016-07-04 11:24:26 +02:00
|
|
|
source "package/php/Config.ext"
|
|
|
|
|
2008-03-25 09:49:38 +01:00
|
|
|
endif
|