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