menu "php5.............................. PHP5 Hypertext preprocessor"

config BR2_COMPILE_PHP5
	tristate
	default n
	depends BR2_PACKAGE_PHP5_CLI || BR2_PACKAGE_PHP5_CGI || BR2_PACKAGE_PHP5_FASTCGI
	 
comment "Server API ---"

config BR2_PACKAGE_PHP5_CLI
	prompt "php5-cli.......................... PHP5 CLI (Command Line Interface)"
	tristate 
	default m if CONFIG_DEVEL
	select BR2_COMPILE_PHP5
	select BR2_PACKAGE_LIBOPENSSL
	select BR2_PACKAGE_ZLIB
	help
	 PHP is a widely-used general-purpose scripting language that is especially 
	 suited for Web development and can be embedded into HTML.
	 
	 http://www.php.net/

config BR2_PACKAGE_PHP5_CGI
	prompt "php5-cgi.......................... PHP5 built for CGI"
	tristate 
	default m if CONFIG_DEVEL
	select BR2_COMPILE_PHP5
	select BR2_PACKAGE_LIBOPENSSL
	select BR2_PACKAGE_ZLIB
	help
	 PHP is a widely-used general-purpose scripting language that is especially 
	 suited for Web development and can be embedded into HTML.
	 
	 http://www.php.net/

config BR2_PACKAGE_PHP5_FASTCGI
	prompt "php5-fastcgi...................... PHP5 built for FastCGI"
	tristate 
	default m if CONFIG_DEVEL
	select BR2_COMPILE_PHP5
	select BR2_PACKAGE_LIBOPENSSL
	select BR2_PACKAGE_ZLIB
	help
	 PHP is a widely-used general-purpose scripting language that is especially 
	 suited for Web development and can be embedded into HTML.
	 
	 http://www.php.net/

comment "Extensions ---"

config BR2_PACKAGE_PHP5_MOD_CURL
	prompt "php5-mod-curl..................... cURL module"
	tristate 
	default m if CONFIG_DEVEL
	depends BR2_COMPILE_PHP5
	select BR2_PACKAGE_LIBCURL

config BR2_PACKAGE_PHP5_MOD_FTP
	prompt "php5-mod-ftp...................... FTP module"
	tristate 
	default m if CONFIG_DEVEL
	depends BR2_COMPILE_PHP5

config BR2_PACKAGE_PHP5_MOD_GD
	prompt "php5-mod-gd....................... GD graphics library module"
	tristate 
	default m if CONFIG_DEVEL
	depends BR2_COMPILE_PHP5
	select BR2_PACKAGE_LIBGD
	select BR2_PACKAGE_LIBPNG

config BR2_PACKAGE_PHP5_MOD_GMP
	prompt "php5-mod-gmp...................... GMP module"
	tristate 
	default m if CONFIG_DEVEL
	depends BR2_COMPILE_PHP5
	select BR2_PACKAGE_LIBGMP

config BR2_PACKAGE_PHP5_MOD_LDAP
	prompt "php5-mod-ldap..................... LDAP module"
	tristate 
	default m if CONFIG_DEVEL
	depends BR2_COMPILE_PHP5
	select BR2_PACKAGE_LIBOPENLDAP

config BR2_PACKAGE_PHP5_MOD_MYSQL
	prompt "php5-mod-mysql.................... MySQL module"
	tristate 
	default m if CONFIG_DEVEL
	depends BR2_COMPILE_PHP5
	select BR2_PACKAGE_LIBMYSQLCLIENT

config BR2_PACKAGE_PHP5_MOD_OPENSSL
	prompt "php5-mod-openssl.................. OpenSSL module"
	tristate 
	default m if CONFIG_DEVEL
	depends BR2_COMPILE_PHP5
	select BR2_PACKAGE_LIBOPENSSL

config BR2_PACKAGE_PHP5_MOD_PCRE
	prompt "php5-mod-pcre..................... PCRE module"
	tristate 
	default m if CONFIG_DEVEL
	depends BR2_COMPILE_PHP5
	select BR2_PACKAGE_LIBPCRE

config BR2_PACKAGE_PHP5_MOD_PGSQL
	prompt "php5-mod-pgsql.................... PostgreSQL module"
	tristate 
	default m if CONFIG_DEVEL
	depends BR2_COMPILE_PHP5
	select BR2_PACKAGE_LIBPQ

config BR2_PACKAGE_PHP5_MOD_SESSION
	prompt "php5-mod-session.................. Sessions module"
	tristate 
	default m if CONFIG_DEVEL
	depends BR2_COMPILE_PHP5

config BR2_PACKAGE_PHP5_MOD_SQLITE
	prompt "php5-mod-sqlite................... SQLite module"
	tristate 
	default m if CONFIG_DEVEL
	depends BR2_COMPILE_PHP5
	select BR2_PACKAGE_LIBSQLITE2

config BR2_PACKAGE_PHP5_MOD_SOCKETS
	prompt "php5-mod-sockets.................. Sockets module"
	tristate 
	default m if CONFIG_DEVEL
	depends BR2_COMPILE_PHP5

config BR2_PACKAGE_PHP5_MOD_XML
	prompt "php5-mod-xml...................... XML module"
	tristate 
	default m if CONFIG_DEVEL
	depends BR2_COMPILE_PHP5
	select BR2_PACKAGE_LIBEXPAT

endmenu
