menu "php.............................. PHP Hypertext preprocessor"

config ADK_COMPILE_PHP
	prompt "php.............................. PHP Hypertext preprocessor"
	bool
	default n
	 
choice
prompt "PHP Mode"
default ADK_PACKAGE_PHP_FASTCGI
depends on ADK_COMPILE_PHP

config ADK_PACKAGE_PHP_FASTCGI
	prompt "PHP built for FastCGI"
	bool 
	select ADK_PACKAGE_LIBOPENSSL
	select ADK_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/

endchoice

config ADK_PACKAGE_PHP_MOD_CURL
	prompt "php-mod-curl..................... cURL module"
	tristate 
	default n
	depends ADK_COMPILE_PHP
	select ADK_PACKAGE_LIBCURL

config ADK_PACKAGE_PHP_MOD_FTP
	prompt "php-mod-ftp...................... FTP module"
	tristate 
	default n
	depends ADK_COMPILE_PHP

config ADK_PACKAGE_PHP_MOD_GD
	prompt "php-mod-gd....................... GD graphics library module"
	tristate 
	default n
	depends ADK_COMPILE_PHP
	select ADK_PACKAGE_LIBGD
	select ADK_PACKAGE_LIBPNG

config ADK_PACKAGE_PHP_MOD_GMP
	prompt "php-mod-gmp...................... GMP module"
	tristate 
	default n
	depends ADK_COMPILE_PHP
	select ADK_PACKAGE_LIBGMP

config ADK_PACKAGE_PHP_MOD_LDAP
	prompt "php-mod-ldap..................... LDAP module"
	tristate 
	default n
	depends ADK_COMPILE_PHP
	select ADK_PACKAGE_LIBOPENLDAP

config ADK_PACKAGE_PHP_MOD_MYSQL
	prompt "php-mod-mysql.................... MySQL module"
	tristate 
	default n
	depends ADK_CXX
	depends ADK_COMPILE_PHP
	select ADK_PACKAGE_LIBMYSQLCLIENT

config ADK_PACKAGE_PHP_MOD_OPENSSL
	prompt "php-mod-openssl.................. OpenSSL module"
	tristate 
	default n
	depends ADK_COMPILE_PHP
	select ADK_PACKAGE_LIBOPENSSL

config ADK_PACKAGE_PHP_MOD_PCRE
	prompt "php-mod-pcre..................... PCRE module"
	tristate 
	default n
	depends ADK_COMPILE_PHP
	select ADK_PACKAGE_LIBPCRE

config ADK_PACKAGE_PHP_MOD_PGSQL
	prompt "php-mod-pgsql.................... PostgreSQL module"
	tristate 
	default n
	depends ADK_COMPILE_PHP
	select ADK_PACKAGE_LIBPQ

config ADK_PACKAGE_PHP_MOD_SESSION
	prompt "php-mod-session.................. Sessions module"
	tristate 
	default n
	depends ADK_COMPILE_PHP

config ADK_PACKAGE_PHP_MOD_SQLITE
	prompt "php-mod-sqlite................... SQLite module"
	tristate 
	default n
	depends ADK_COMPILE_PHP
	select ADK_PACKAGE_LIBSQLITE

config ADK_PACKAGE_PHP_MOD_SOCKETS
	prompt "php-mod-sockets.................. Sockets module"
	tristate 
	default n
	depends ADK_COMPILE_PHP

config ADK_PACKAGE_PHP_MOD_XML
	prompt "php-mod-xml...................... XML module"
	tristate 
	default n
	depends ADK_COMPILE_PHP
	select ADK_PACKAGE_LIBEXPAT

endmenu
