mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 14:16:31 +00:00
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>
This commit is contained in:
parent
c9b4b57f84
commit
c54de0884f
@ -17,6 +17,9 @@ config BR2_PACKAGE_PHP_CLI
|
|||||||
config BR2_PACKAGE_PHP_CGI
|
config BR2_PACKAGE_PHP_CGI
|
||||||
bool
|
bool
|
||||||
|
|
||||||
|
config BR2_PACKAGE_PHP_FPM
|
||||||
|
bool
|
||||||
|
|
||||||
choice
|
choice
|
||||||
prompt "Interface"
|
prompt "Interface"
|
||||||
default BR2_PACKAGE_PHP_SAPI_CGI
|
default BR2_PACKAGE_PHP_SAPI_CGI
|
||||||
@ -37,6 +40,13 @@ config BR2_PACKAGE_PHP_SAPI_CLI
|
|||||||
help
|
help
|
||||||
Command Line Interface
|
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
|
config BR2_PACKAGE_PHP_SAPI_CLI_CGI
|
||||||
bool "CGI and CLI"
|
bool "CGI and CLI"
|
||||||
# CGI uses fork()
|
# CGI uses fork()
|
||||||
@ -46,6 +56,14 @@ config BR2_PACKAGE_PHP_SAPI_CLI_CGI
|
|||||||
help
|
help
|
||||||
Command line and Common gateway interfaces
|
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
|
endchoice
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
@ -47,6 +47,7 @@ endif
|
|||||||
|
|
||||||
PHP_CONF_OPT += $(if $(BR2_PACKAGE_PHP_CLI),,--disable-cli)
|
PHP_CONF_OPT += $(if $(BR2_PACKAGE_PHP_CLI),,--disable-cli)
|
||||||
PHP_CONF_OPT += $(if $(BR2_PACKAGE_PHP_CGI),,--disable-cgi)
|
PHP_CONF_OPT += $(if $(BR2_PACKAGE_PHP_CGI),,--disable-cgi)
|
||||||
|
PHP_CONF_OPT += $(if $(BR2_PACKAGE_PHP_FPM),--enable-fpm,--disable-fpm)
|
||||||
|
|
||||||
### Extensions
|
### Extensions
|
||||||
PHP_CONF_OPT += $(if $(BR2_PACKAGE_PHP_EXT_SOCKETS),--enable-sockets) \
|
PHP_CONF_OPT += $(if $(BR2_PACKAGE_PHP_EXT_SOCKETS),--enable-sockets) \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user