2007-08-07 19:47:03 +02:00
|
|
|
config BR2_PACKAGE_PHP
|
|
|
|
bool "php"
|
2018-04-01 07:08:37 +02:00
|
|
|
# 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
|
2016-09-12 23:31:07 +02:00
|
|
|
select BR2_PACKAGE_PHP_SAPI_CGI if \
|
2016-12-11 23:29:16 +01:00
|
|
|
!BR2_PACKAGE_PHP_SAPI_APACHE && \
|
2016-09-12 23:31:07 +02:00
|
|
|
!BR2_PACKAGE_PHP_SAPI_CLI && \
|
2016-10-25 12:32:46 +02:00
|
|
|
!BR2_PACKAGE_PHP_SAPI_FPM && \
|
|
|
|
BR2_USE_MMU
|
|
|
|
select BR2_PACKAGE_PHP_SAPI_CLI if !BR2_USE_MMU
|
2007-08-07 19:47:03 +02:00
|
|
|
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
|
|
|
|
|
2016-12-11 23:29:16 +01:00
|
|
|
config BR2_PACKAGE_PHP_SAPI_APACHE
|
|
|
|
bool "Apache interface"
|
|
|
|
depends on BR2_PACKAGE_APACHE
|
|
|
|
help
|
|
|
|
Apache module
|
|
|
|
|
2012-05-21 03:17:54 +02:00
|
|
|
config BR2_PACKAGE_PHP_SAPI_CGI
|
2016-09-12 23:31:07 +02:00
|
|
|
bool "CGI interface"
|
2012-10-30 03:20:34 +01:00
|
|
|
# CGI uses fork()
|
|
|
|
depends on BR2_USE_MMU
|
2012-05-21 03:17:54 +02:00
|
|
|
help
|
|
|
|
Common Gateway Interface
|
|
|
|
|
2010-05-09 16:19:08 +02:00
|
|
|
config BR2_PACKAGE_PHP_SAPI_CLI
|
2016-09-12 23:31:07 +02:00
|
|
|
bool "CLI interface"
|
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
|
2016-09-12 23:31:07 +02:00
|
|
|
bool "FPM interface"
|
2014-07-15 20:07:42 +02:00
|
|
|
depends on BR2_USE_MMU
|
2016-12-07 22:08:09 +01:00
|
|
|
# "Sparc v8 and predecessors are not and will not be supported"
|
|
|
|
depends on !BR2_sparc
|
2014-07-15 20:07:42 +02:00
|
|
|
help
|
|
|
|
PHP-FPM (FastCGI Process Manager)
|
|
|
|
|
2016-07-04 11:24:26 +02:00
|
|
|
source "package/php/Config.ext"
|
|
|
|
|
2008-03-25 09:49:38 +01:00
|
|
|
endif
|