source: trunk/make/php/Config.in @ 13846

Letzte Änderung dieser Datei seit 13846 war 13846, erstellt von er13 vor 17 Monaten

php:

Dateigröße: 5.4 KB
Zeile 
1config FREETZ_PACKAGE_PHP
2    bool "PHP (binary only)"
3    select FREETZ_PACKAGE_PHP_cgi
4    default n
5    help
6        PHP: Hypertext Preprocessor
7
8        PHP is a widely-used general-purpose scripting language that is especially
9        suited for Web development and can be embedded into HTML. Much of its syntax
10        is borrowed from C, Java and Perl with a couple of unique PHP-specific features
11        thrown in. The goal of the language is to allow web developers to write
12        dynamically generated pages quickly.
13
14choice
15    depends on FREETZ_PACKAGE_PHP
16    prompt "version"
17    default FREETZ_PHP_VERSION_5_5
18
19    config FREETZ_PHP_VERSION_5_4
20        bool "php 5.4.45"
21    config FREETZ_PHP_VERSION_5_5
22        bool "php 5.5.38"
23endchoice
24
25menu "Binaries"
26depends on FREETZ_PACKAGE_PHP
27
28config FREETZ_PACKAGE_PHP_cgi
29    bool "PHP CGI"
30    select FREETZ_LIB_libpcre if ! FREETZ_PACKAGE_PHP_STATIC
31    default y
32
33config FREETZ_PACKAGE_PHP_cli
34    bool "PHP CLI"
35    select FREETZ_LIB_libpcre if ! FREETZ_PACKAGE_PHP_STATIC
36    default n
37
38config FREETZ_PACKAGE_PHP_apxs2
39    bool "Apache2 module"
40    select FREETZ_LIB_libpcre
41    select FREETZ_LIB_libcurl            if FREETZ_PACKAGE_PHP_WITH_CURL
42    select FREETZ_LIB_libgd              if FREETZ_PACKAGE_PHP_WITH_GD
43    select FREETZ_LIB_libiconv           if FREETZ_PACKAGE_PHP_WITH_LIBICONV
44    select FREETZ_LIB_libsqlite3         if FREETZ_PACKAGE_PHP_WITH_SQLITE3
45    select FREETZ_LIB_libcrypto          if FREETZ_PACKAGE_PHP_WITH_SSL
46    select FREETZ_LIB_libssl             if FREETZ_PACKAGE_PHP_WITH_SSL
47    select FREETZ_OPENSSL_VERSION_PROMPT if FREETZ_PACKAGE_PHP_WITH_SSL
48    select FREETZ_LIB_libxml2            if FREETZ_PACKAGE_PHP_WITH_LIBXML
49    select FREETZ_LIB_libz               if FREETZ_PACKAGE_PHP_WITH_ZLIB
50    default n
51
52endmenu
53
54menu "PHP features"
55depends on FREETZ_PACKAGE_PHP
56
57config FREETZ_PACKAGE_PHP_WITH_CURL
58    bool "build with CURL support"
59    select FREETZ_LIB_libcurl if ! FREETZ_PACKAGE_PHP_STATIC
60    default n
61    help
62        This option enables the CURL support for PHP
63
64config FREETZ_PACKAGE_PHP_WITH_FILEINFO
65    bool "build with FILEINFO support"
66    default n
67    help
68        This option enables the FILEINFO support for PHP
69
70config FREETZ_PACKAGE_PHP_WITH_FTP
71    bool "build with FTP support"
72    default n
73    help
74        This option enables the FTP support for PHP
75
76config FREETZ_PACKAGE_PHP_WITH_GD
77    bool "build with GD support"
78    select FREETZ_LIB_libgd if ! FREETZ_PACKAGE_PHP_STATIC
79    default n
80    help
81        This option enables the GD support for PHP
82
83config FREETZ_PACKAGE_PHP_WITH_GETTEXT
84    bool "build with gettext support"
85    select FREETZ_LIB_libintl if ! FREETZ_PACKAGE_PHP_STATIC
86    default n
87    help
88        This option enables the gettext support for PHP
89
90config FREETZ_PACKAGE_PHP_WITH_ICONV
91    bool "build with ICONV support"
92    select FREETZ_PACKAGE_PHP_WITH_LIBICONV if FREETZ_TARGET_UCLIBC_0_9_28
93    default n
94    help
95        This option enables the ICONV support for PHP
96
97config FREETZ_PACKAGE_PHP_WITH_LIBICONV
98    depends on FREETZ_PACKAGE_PHP_WITH_ICONV
99    bool "prefer libiconv to libc"
100    select FREETZ_LIB_libiconv if ! FREETZ_PACKAGE_PHP_STATIC
101    default n
102    help
103        This option causes PHP to use libiconv implementation of iconv function
104        instead of the libc one. Select this option if you need more charsets
105        than supported by libc (ISO-8859-1 and UTF-8 only) or your application
106        relies on libiconv specific features like TRANSLIT, IGNORE, etc.
107
108config FREETZ_PACKAGE_PHP_WITH_JSON
109    bool "build with JSON support"
110    default n
111    help
112        This option enables the JSON support for PHP
113
114config FREETZ_PACKAGE_PHP_WITH_MEMORY_LIMIT
115    bool "build with MEMORY_LIMIT support"
116    default n
117    help
118        This option enables the MEMORY_LIMIT support for PHP
119
120config FREETZ_PACKAGE_PHP_WITH_MHASH
121    bool "build with MHASH support"
122    default n
123    help
124        This option enables the MHASH support for PHP
125
126config FREETZ_PACKAGE_PHP_WITH_PCNTL
127    bool "build with PCNTL support"
128    default n
129    help
130        This option enables the PCNTL support for PHP
131
132config FREETZ_PACKAGE_PHP_WITH_SESSION
133    bool "build with SESSION support"
134    default n
135    help
136        This option enables the SESSION support for PHP
137
138config FREETZ_PACKAGE_PHP_WITH_SOCKETS
139    bool "build with SOCKETS support"
140    default n
141    help
142        This option enables the SOCKETS support for PHP
143
144config FREETZ_PACKAGE_PHP_WITH_SQLITE3
145    bool "build with SQLite (v3) support"
146    select FREETZ_LIB_libsqlite3 if ! FREETZ_PACKAGE_PHP_STATIC
147    default n
148    help
149        This option enables the SQLite (v3) support for PHP
150
151config FREETZ_PACKAGE_PHP_WITH_SSL
152    bool "build with SSL support"
153    select FREETZ_LIB_libcrypto if ! FREETZ_PACKAGE_PHP_STATIC
154    select FREETZ_LIB_libssl if ! FREETZ_PACKAGE_PHP_STATIC
155    select FREETZ_OPENSSL_VERSION_PROMPT if FREETZ_PACKAGE_PHP_STATIC
156    default n
157    help
158        This option enables the SSL support for PHP
159
160config FREETZ_PACKAGE_PHP_WITH_SYSVIPC
161    bool "build with SYSVIPC support"
162    default n
163    help
164        This option enables the SYSVIPC support for PHP
165
166config FREETZ_PACKAGE_PHP_WITH_LIBXML
167    bool "build with XML support"
168    select FREETZ_LIB_libxml2 if ! FREETZ_PACKAGE_PHP_STATIC
169    default n
170    help
171        This option enables the XML support for PHP
172
173config FREETZ_PACKAGE_PHP_WITH_ZLIB
174    bool "build with ZLIB support"
175    select FREETZ_LIB_libz if ! FREETZ_PACKAGE_PHP_STATIC
176    default n
177    help
178        This option enables the ZLIB support for PHP
179
180config FREETZ_PACKAGE_PHP_WITH_ZIP
181    bool "build with ZIP support"
182    select FREETZ_PACKAGE_PHP_WITH_ZLIB
183    default n
184    help
185        This option enables the ZIP support for PHP
186
187endmenu
188
189config FREETZ_PACKAGE_PHP_STATIC
190    bool "Create statically linked binary"
191    depends on FREETZ_PACKAGE_PHP
192    default n
193    help
194        Causes all libraries PHP depends on to be linked in statically.
Hinweis: Hilfe zum Repository-Browser finden Sie in TracBrowser.