config FREETZ_PACKAGE_PHP bool "PHP (binary only)" select FREETZ_PACKAGE_PHP_cgi default n help PHP: Hypertext Preprocessor PHP is a widely-used general-purpose scripting language that is especially suited for Web development and can be embedded into HTML. Much of its syntax is borrowed from C, Java and Perl with a couple of unique PHP-specific features thrown in. The goal of the language is to allow web developers to write dynamically generated pages quickly. choice depends on FREETZ_PACKAGE_PHP prompt "version" default FREETZ_PHP_VERSION_5_6 config FREETZ_PHP_VERSION_5_6 bool "php 5.6.37" endchoice menu "Binaries" depends on FREETZ_PACKAGE_PHP config FREETZ_PACKAGE_PHP_cgi bool "PHP CGI" select FREETZ_LIB_libpcre if ! FREETZ_PACKAGE_PHP_STATIC default y config FREETZ_PACKAGE_PHP_cli bool "PHP CLI" select FREETZ_LIB_libpcre if ! FREETZ_PACKAGE_PHP_STATIC default n config FREETZ_PACKAGE_PHP_apxs2 bool "Apache2 module" select FREETZ_LIB_libapr_WITH_DSO select FREETZ_LIB_libpcre select FREETZ_LIB_libcurl if FREETZ_PACKAGE_PHP_WITH_CURL select FREETZ_LIB_libgd if FREETZ_PACKAGE_PHP_WITH_GD select FREETZ_LIB_libiconv if FREETZ_PACKAGE_PHP_WITH_LIBICONV select FREETZ_LIB_libsqlite3 if FREETZ_PACKAGE_PHP_WITH_SQLITE3 select FREETZ_LIB_libcrypto if FREETZ_PACKAGE_PHP_WITH_SSL select FREETZ_LIB_libssl if FREETZ_PACKAGE_PHP_WITH_SSL select FREETZ_OPENSSL_VERSION_PROMPT if FREETZ_PACKAGE_PHP_WITH_SSL select FREETZ_LIB_libxml2 if FREETZ_PACKAGE_PHP_WITH_LIBXML select FREETZ_LIB_libz if FREETZ_PACKAGE_PHP_WITH_ZLIB default n endmenu menu "PHP features" depends on FREETZ_PACKAGE_PHP config FREETZ_PACKAGE_PHP_WITH_CURL bool "build with CURL support" select FREETZ_LIB_libcurl if ! FREETZ_PACKAGE_PHP_STATIC default n help This option enables the CURL support for PHP config FREETZ_PACKAGE_PHP_WITH_FILEINFO bool "build with FILEINFO support" default n help This option enables the FILEINFO support for PHP config FREETZ_PACKAGE_PHP_WITH_FTP bool "build with FTP support" default n help This option enables the FTP support for PHP config FREETZ_PACKAGE_PHP_WITH_GD bool "build with GD support" select FREETZ_LIB_libgd if ! FREETZ_PACKAGE_PHP_STATIC default n help This option enables the GD support for PHP config FREETZ_PACKAGE_PHP_WITH_GETTEXT bool "build with gettext support" select FREETZ_LIB_libintl if ! FREETZ_PACKAGE_PHP_STATIC default n help This option enables the gettext support for PHP config FREETZ_PACKAGE_PHP_WITH_ICONV bool "build with ICONV support" select FREETZ_PACKAGE_PHP_WITH_LIBICONV if FREETZ_TARGET_UCLIBC_0_9_28 default n help This option enables the ICONV support for PHP config FREETZ_PACKAGE_PHP_WITH_LIBICONV depends on FREETZ_PACKAGE_PHP_WITH_ICONV bool "prefer libiconv to libc" select FREETZ_LIB_libiconv if ! FREETZ_PACKAGE_PHP_STATIC default n help This option causes PHP to use libiconv implementation of iconv function instead of the libc one. Select this option if you need more charsets than supported by libc (ISO-8859-1 and UTF-8 only) or your application relies on libiconv specific features like TRANSLIT, IGNORE, etc. config FREETZ_PACKAGE_PHP_WITH_JSON bool "build with JSON support" default n help This option enables the JSON support for PHP config FREETZ_PACKAGE_PHP_WITH_MEMORY_LIMIT bool "build with MEMORY_LIMIT support" default n help This option enables the MEMORY_LIMIT support for PHP config FREETZ_PACKAGE_PHP_WITH_MHASH bool "build with MHASH support" default n help This option enables the MHASH support for PHP config FREETZ_PACKAGE_PHP_WITH_PCNTL bool "build with PCNTL support" default n help This option enables the PCNTL support for PHP config FREETZ_PACKAGE_PHP_WITH_SESSION bool "build with SESSION support" default n help This option enables the SESSION support for PHP config FREETZ_PACKAGE_PHP_WITH_SOCKETS bool "build with SOCKETS support" default n help This option enables the SOCKETS support for PHP config FREETZ_PACKAGE_PHP_WITH_SQLITE3 bool "build with SQLite (v3) support" select FREETZ_LIB_libsqlite3 if ! FREETZ_PACKAGE_PHP_STATIC default n help This option enables the SQLite (v3) support for PHP config FREETZ_PACKAGE_PHP_WITH_SSL bool "build with SSL support" select FREETZ_LIB_libcrypto if ! FREETZ_PACKAGE_PHP_STATIC select FREETZ_LIB_libssl if ! FREETZ_PACKAGE_PHP_STATIC select FREETZ_OPENSSL_VERSION_PROMPT if FREETZ_PACKAGE_PHP_STATIC default n help This option enables the SSL support for PHP config FREETZ_PACKAGE_PHP_WITH_SYSVIPC bool "build with SYSVIPC support" default n help This option enables the SYSVIPC support for PHP config FREETZ_PACKAGE_PHP_WITH_LIBXML bool "build with XML support" select FREETZ_LIB_libxml2 if ! FREETZ_PACKAGE_PHP_STATIC default n help This option enables the XML support for PHP config FREETZ_PACKAGE_PHP_WITH_ZLIB bool "build with ZLIB support" select FREETZ_LIB_libz if ! FREETZ_PACKAGE_PHP_STATIC default n help This option enables the ZLIB support for PHP config FREETZ_PACKAGE_PHP_WITH_ZIP bool "build with ZIP support" select FREETZ_PACKAGE_PHP_WITH_ZLIB default n help This option enables the ZIP support for PHP endmenu config FREETZ_PACKAGE_PHP_STATIC bool "Create statically linked binary" depends on FREETZ_PACKAGE_PHP default n help Causes all libraries PHP depends on to be linked in statically.