f65e462da2
Continue work started by Bernd Kuhls in https://patchwork.ozlabs.org/patch/437544/ Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Fabrice Fontaine <fabrice.fontaine@orange.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
47 lines
1.0 KiB
Plaintext
47 lines
1.0 KiB
Plaintext
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
|
|
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
|