Config.in 1.2 KB

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