Config.in 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. config BR2_PACKAGE_PHP
  2. bool "php"
  3. select BR2_PACKAGE_PHP_SAPI_CGI if \
  4. !BR2_PACKAGE_PHP_SAPI_APACHE && \
  5. !BR2_PACKAGE_PHP_SAPI_CLI && \
  6. !BR2_PACKAGE_PHP_SAPI_FPM && \
  7. BR2_USE_MMU
  8. select BR2_PACKAGE_PHP_SAPI_CLI if !BR2_USE_MMU
  9. help
  10. PHP is a widely-used general-purpose scripting
  11. language that is especially suited for Web development
  12. and can be embedded into HTML.
  13. http://www.php.net
  14. if BR2_PACKAGE_PHP
  15. config BR2_PACKAGE_PHP_SAPI_APACHE
  16. bool "Apache interface"
  17. depends on BR2_PACKAGE_APACHE
  18. help
  19. Apache module
  20. config BR2_PACKAGE_PHP_SAPI_CGI
  21. bool "CGI interface"
  22. # CGI uses fork()
  23. depends on BR2_USE_MMU
  24. help
  25. Common Gateway Interface
  26. config BR2_PACKAGE_PHP_SAPI_CLI
  27. bool "CLI interface"
  28. help
  29. Command Line Interface
  30. config BR2_PACKAGE_PHP_SAPI_FPM
  31. bool "FPM interface"
  32. depends on BR2_USE_MMU
  33. # "Sparc v8 and predecessors are not and will not be supported"
  34. depends on !BR2_sparc
  35. help
  36. PHP-FPM (FastCGI Process Manager)
  37. source "package/php/Config.ext"
  38. endif