1menu "Extensions" 2 3config BR2_PACKAGE_PHP_EXT_CALENDAR 4 bool "Calendar" 5 help 6 Calendar and event support 7 8config BR2_PACKAGE_PHP_EXT_FILEINFO 9 bool "Fileinfo" 10 help 11 File Information support 12 13comment "OPcache needs a toolchain w/ dynamic library" 14 depends on BR2_STATIC_LIBS 15 16config BR2_PACKAGE_PHP_EXT_OPCACHE 17 bool "OPcache" 18 depends on !BR2_STATIC_LIBS 19 help 20 Enable the Zend OPcache accelerator. 21 22comment "Readline needs a toolchain w/ dynamic library" 23 depends on BR2_STATIC_LIBS 24 25config BR2_PACKAGE_PHP_EXT_READLINE 26 bool "Readline" 27 depends on !BR2_STATIC_LIBS 28 select BR2_PACKAGE_NCURSES 29 select BR2_PACKAGE_READLINE 30 help 31 Readline support 32 33config BR2_PACKAGE_PHP_EXT_SESSION 34 bool "Session" 35 default y 36 help 37 Session support 38 39comment "Compression extensions" 40 41config BR2_PACKAGE_PHP_EXT_BZIP2 42 bool "bzip2" 43 select BR2_PACKAGE_BZIP2 44 help 45 bzip2 read/write support 46 47config BR2_PACKAGE_PHP_EXT_PHAR 48 bool "phar" 49 help 50 PHP Archive support 51 52comment "zip needs a toolchain w/ dynamic library" 53 depends on BR2_STATIC_LIBS 54 55config BR2_PACKAGE_PHP_EXT_ZIP 56 bool "zip" 57 depends on !BR2_STATIC_LIBS # libzip 58 select BR2_PACKAGE_ZLIB 59 select BR2_PACKAGE_LIBZIP 60 help 61 Zip read/write support 62 63config BR2_PACKAGE_PHP_EXT_ZLIB 64 bool "zlib" 65 default y 66 select BR2_PACKAGE_ZLIB 67 help 68 zlib support 69 70comment "Cryptography extensions" 71 72comment "libargon2 needs a toolchain w/ dynamic library" 73 depends on BR2_USE_MMU 74 depends on BR2_STATIC_LIBS 75 76config BR2_PACKAGE_PHP_EXT_LIBARGON2 77 bool "libargon2" 78 depends on BR2_USE_MMU # libargon2 79 depends on !BR2_STATIC_LIBS # libargon2 80 select BR2_PACKAGE_LIBARGON2 81 help 82 libargon2 support 83 84config BR2_PACKAGE_PHP_EXT_LIBSODIUM 85 bool "libsodium" 86 select BR2_PACKAGE_LIBSODIUM 87 help 88 libsodium support 89 90config BR2_PACKAGE_PHP_EXT_OPENSSL 91 bool "openssl" 92 select BR2_PACKAGE_OPENSSL 93 select BR2_PACKAGE_LIBOPENSSL_ENABLE_DES if BR2_PACKAGE_LIBOPENSSL 94 select BR2_PACKAGE_LIBOPENSSL_ENABLE_MD4 if BR2_PACKAGE_LIBOPENSSL 95 select BR2_PACKAGE_LIBOPENSSL_ENABLE_RC4 if BR2_PACKAGE_LIBOPENSSL 96 select BR2_PACKAGE_LIBOPENSSL_ENABLE_RMD160 if BR2_PACKAGE_LIBOPENSSL 97 help 98 openssl support 99 100comment "Database extensions" 101 102config BR2_PACKAGE_PHP_EXT_DBA 103 bool "DBA" 104 help 105 Database Abstraction Layer 106 107if BR2_PACKAGE_PHP_EXT_DBA 108 109config BR2_PACKAGE_PHP_EXT_DBA_CDB 110 bool "cdb" 111 help 112 CDB handler 113 114config BR2_PACKAGE_PHP_EXT_DBA_DB4 115 bool "db4/5" 116 select BR2_PACKAGE_BERKELEYDB 117 help 118 BerkeleyDB version 4/5 handler 119 120config BR2_PACKAGE_PHP_EXT_DBA_FLAT 121 bool "flat" 122 default y 123 help 124 Flat file handler 125 126config BR2_PACKAGE_PHP_EXT_DBA_INI 127 bool "ini" 128 default y 129 help 130 INI file handler 131 132endif 133 134config BR2_PACKAGE_PHP_EXT_MYSQLI 135 bool "Mysqli" 136 help 137 MySQL Improved extension support 138 139config BR2_PACKAGE_PHP_EXT_PGSQL 140 bool "PostgreSQL" 141 depends on BR2_USE_MMU # postgresql 142 depends on !BR2_STATIC_LIBS 143 depends on BR2_USE_WCHAR # postgresql 144 select BR2_PACKAGE_POSTGRESQL 145 help 146 PostgreSQL support 147 148comment "PostgreSQL extension needs a toolchain w/ dynamic library, wchar" 149 depends on BR2_USE_MMU 150 depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR 151 152config BR2_PACKAGE_PHP_EXT_SQLITE 153 bool "SQLite3" 154 select BR2_PACKAGE_SQLITE 155 help 156 SQLite3 support 157 158config BR2_PACKAGE_PHP_EXT_PDO 159 bool "PDO" 160 help 161 PHP Data Objects support 162 163if BR2_PACKAGE_PHP_EXT_PDO 164 165config BR2_PACKAGE_PHP_EXT_PDO_MYSQL 166 bool "MySQL" 167 help 168 PDO driver for MySQL 169 170config BR2_PACKAGE_PHP_EXT_PDO_POSTGRESQL 171 bool "PostgreSQL" 172 depends on BR2_USE_MMU # postgresql 173 depends on !BR2_STATIC_LIBS 174 depends on BR2_USE_WCHAR # postgresql 175 select BR2_PACKAGE_POSTGRESQL 176 help 177 PDO driver for PostgreSQL 178 179comment "PostgreSQL drivers need a toolchain w/ wchar, dynamic library" 180 depends on BR2_USE_MMU 181 depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR 182 183config BR2_PACKAGE_PHP_EXT_PDO_SQLITE 184 bool "SQLite3" 185 select BR2_PACKAGE_SQLITE 186 help 187 SQLite3 driver for PDO 188 189config BR2_PACKAGE_PHP_EXT_PDO_UNIXODBC 190 bool "unixODBC" 191 depends on !BR2_STATIC_LIBS # unixodbc 192 select BR2_PACKAGE_UNIXODBC 193 help 194 unixODBC driver for PDO 195 196comment "unixodbc driver needs a toolchain w/ dynamic library" 197 depends on BR2_STATIC_LIBS 198 199endif 200 201comment "Human language and character encoding support" 202 203config BR2_PACKAGE_PHP_EXT_GETTEXT 204 bool "Gettext" 205 depends on BR2_SYSTEM_ENABLE_NLS 206 help 207 Gettext support 208 209comment "Gettext support needs NLS enabled" 210 depends on !BR2_SYSTEM_ENABLE_NLS 211 212config BR2_PACKAGE_PHP_EXT_ICONV 213 bool "iconv" 214 select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE 215 help 216 iconv character set conversion support 217 218config BR2_PACKAGE_PHP_EXT_INTL 219 bool "intl" 220 depends on BR2_HOST_GCC_AT_LEAST_4_9 # icu 221 depends on BR2_INSTALL_LIBSTDCPP 222 depends on BR2_USE_WCHAR 223 depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # icu 224 depends on !BR2_BINFMT_FLAT # icu 225 depends on BR2_TOOLCHAIN_HAS_THREADS # icu 226 depends on !BR2_STATIC_LIBS 227 select BR2_PACKAGE_ICU 228 help 229 Internationalization support 230 231comment "intl support needs a toolchain w/ C++, wchar, threads, dynamic library, gcc >= 4.9, host gcc >= 4.9" 232 depends on !BR2_BINFMT_FLAT 233 depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \ 234 !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || \ 235 !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \ 236 !BR2_HOST_GCC_AT_LEAST_4_9 237 238config BR2_PACKAGE_PHP_EXT_MBSTRING 239 bool "mbstring" 240 select BR2_PACKAGE_ONIGURUMA 241 help 242 multibyte string support 243 244comment "Image processing" 245 246config BR2_PACKAGE_PHP_EXT_EXIF 247 bool "EXIF" 248 help 249 EXIF support 250 251config BR2_PACKAGE_PHP_EXT_GD 252 bool "GD" 253 select BR2_PACKAGE_FREETYPE 254 select BR2_PACKAGE_JPEG 255 select BR2_PACKAGE_LIBPNG 256 select BR2_PACKAGE_ZLIB 257 help 258 GD support 259 260comment "Mathematical extensions" 261 262config BR2_PACKAGE_PHP_EXT_BCMATH 263 bool "BC math" 264 help 265 BCMath arbitrary precision mathematics support 266 267config BR2_PACKAGE_PHP_EXT_GMP 268 bool "GMP" 269 select BR2_PACKAGE_GMP 270 help 271 GNU Multiple Precision support 272 273comment "Other basic extensions" 274 275config BR2_PACKAGE_PHP_EXT_TOKENIZER 276 bool "Tokenizer" 277 help 278 Tokenizer functions support 279 280comment "Other services" 281 282config BR2_PACKAGE_PHP_EXT_CURL 283 bool "cURL" 284 select BR2_PACKAGE_LIBCURL 285 help 286 cURL for URL streams 287 288config BR2_PACKAGE_PHP_EXT_FTP 289 bool "FTP" 290 help 291 FTP support 292 293config BR2_PACKAGE_PHP_EXT_SNMP 294 bool "SNMP" 295 depends on BR2_USE_MMU # netsnmp fork() 296 select BR2_PACKAGE_NETSNMP 297 select BR2_PACKAGE_NETSNMP_ENABLE_MIBS 298 help 299 SNMP support 300 301config BR2_PACKAGE_PHP_EXT_SOCKETS 302 bool "sockets" 303 help 304 Sockets support 305 306comment "Process Control" 307 308config BR2_PACKAGE_PHP_EXT_PCNTL 309 bool "PCNTL" 310 depends on BR2_USE_MMU # fork() 311 help 312 Process control support 313 314config BR2_PACKAGE_PHP_EXT_POSIX 315 bool "Posix" 316 default y 317 help 318 POSIX.1 (IEEE 1003.1) function support 319 320config BR2_PACKAGE_PHP_EXT_SHMOP 321 bool "shmop" 322 help 323 Shared memory support 324 325config BR2_PACKAGE_PHP_EXT_SYSVMSG 326 bool "sysvmsg" 327 help 328 System V message queue support 329 330config BR2_PACKAGE_PHP_EXT_SYSVSEM 331 bool "sysvsem" 332 help 333 System V semaphore support 334 335config BR2_PACKAGE_PHP_EXT_SYSVSHM 336 bool "sysvshm" 337 help 338 System V shared memory support 339 340comment "Variable and Type related" 341 342config BR2_PACKAGE_PHP_EXT_CTYPE 343 bool "Ctype" 344 help 345 Character type checking support 346 347config BR2_PACKAGE_PHP_EXT_FILTER 348 bool "Filter" 349 help 350 Input filter support 351 352comment "Web services" 353 354config BR2_PACKAGE_PHP_EXT_SOAP 355 bool "SOAP" 356 select BR2_PACKAGE_PHP_EXT_LIBXML2 357 help 358 SOAP support 359 360comment "XML manipulation" 361 362config BR2_PACKAGE_PHP_EXT_DOM 363 bool "DOM" 364 select BR2_PACKAGE_PHP_EXT_LIBXML2 365 help 366 Document Object Model support 367 368config BR2_PACKAGE_PHP_EXT_LIBXML2 369 bool "libxml" 370 select BR2_PACKAGE_LIBXML2 371 help 372 libxml2 support 373 374config BR2_PACKAGE_PHP_EXT_SIMPLEXML 375 bool "SimpleXML" 376 select BR2_PACKAGE_PHP_EXT_LIBXML2 377 help 378 SimpleXML support 379 380config BR2_PACKAGE_PHP_EXT_WDDX 381 bool "WDDX" 382 select BR2_PACKAGE_EXPAT 383 select BR2_PACKAGE_PHP_EXT_LIBXML2 384 help 385 WDDX support 386 387config BR2_PACKAGE_PHP_EXT_XML 388 bool "XML Parser" 389 select BR2_PACKAGE_PHP_EXT_LIBXML2 390 help 391 XML Parser support 392 393config BR2_PACKAGE_PHP_EXT_XMLREADER 394 bool "XMLReader" 395 select BR2_PACKAGE_PHP_EXT_LIBXML2 396 help 397 XMLReader support 398 399config BR2_PACKAGE_PHP_EXT_XMLWRITER 400 bool "XMLWriter" 401 select BR2_PACKAGE_PHP_EXT_LIBXML2 402 help 403 XMLWriter support 404 405config BR2_PACKAGE_PHP_EXT_XSL 406 bool "XSL" 407 select BR2_PACKAGE_PHP_EXT_DOM 408 select BR2_PACKAGE_PHP_EXT_LIBXML2 409 select BR2_PACKAGE_LIBXSLT 410 help 411 XSL transformation support 412 413config BR2_PACKAGE_PHP_EXT_FFI 414 bool "FFI" 415 depends on !BR2_STATIC_LIBS 416 depends on BR2_TOOLCHAIN_HAS_THREADS 417 select BR2_PACKAGE_LIBFFI 418 help 419 Foreign Function Interface support 420 421comment "PHP FFI extension needs a toolchain w/ threads, dynamic library" 422 depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS 423 424endmenu 425