mirror of
https://git.busybox.net/buildroot.git
synced 2024-11-25 14:33:29 +08:00
Dump php to version 5.2.6 and add SimpleXML extension to config menu
This commit is contained in:
parent
65063afec9
commit
4d953ef59f
@ -29,18 +29,25 @@ config BR2_PACKAGE_PHP_EXT_SESSION
|
||||
Session support
|
||||
|
||||
config BR2_PACKAGE_PHP_EXT_OPENSSL
|
||||
bool "openssl"
|
||||
depends on BR2_PACKAGE_PHP && BR2_PACKAGE_OPENSSL
|
||||
default n
|
||||
help
|
||||
openssl support
|
||||
bool "openssl"
|
||||
depends on BR2_PACKAGE_PHP && BR2_PACKAGE_OPENSSL
|
||||
default n
|
||||
help
|
||||
openssl support
|
||||
|
||||
config BR2_PACKAGE_PHP_EXT_LIBXML2
|
||||
bool "xml2"
|
||||
depends on BR2_PACKAGE_PHP && BR2_PACKAGE_LIBXML2
|
||||
default y
|
||||
help
|
||||
xml support
|
||||
bool "xml2"
|
||||
depends on BR2_PACKAGE_PHP && BR2_PACKAGE_LIBXML2
|
||||
default y
|
||||
help
|
||||
xml support
|
||||
|
||||
config BR2_PACKAGE_PHP_EXT_SIMPLEXML
|
||||
bool "simplexml"
|
||||
depends on BR2_PACKAGE_PHP
|
||||
select BR2_PACKAGE_PHP_EXIT_LIBXML2
|
||||
help
|
||||
SimpleXML support
|
||||
|
||||
config BR2_PACKAGE_PHP_EXT_ZLIB
|
||||
bool "zlib"
|
||||
|
@ -3,7 +3,7 @@
|
||||
# php
|
||||
#
|
||||
#############################################################
|
||||
PHP_VER:=5.2.5
|
||||
PHP_VER:=5.2.6
|
||||
PHP_SOURCE:=php-$(PHP_VER).tar.bz2
|
||||
PHP_SITE:=http://us.php.net/get/${PHP_SOURCE}/from/us2.php.net/mirror
|
||||
PHP_DIR:=$(BUILD_DIR)/php-$(PHP_VER)
|
||||
@ -58,6 +58,9 @@ ifeq ($(BR2_PACKAGE_PHP_EXT_LIBXML2),y)
|
||||
--enable-xmlwriter
|
||||
PHP_DEPS+=libxml2
|
||||
endif
|
||||
ifeq ($(BR2_PACKAGE_PHP_EXT_SIMPLEXML),y)
|
||||
PHP_CONFIGURE+=--enable-simplexml
|
||||
endif
|
||||
ifeq ($(BR2_PACKAGE_PHP_EXT_ZLIB),y)
|
||||
PHP_CONFIGURE+=--with-zlib=$(STAGING_DIR)/usr
|
||||
PHP_DEPS+=zlib
|
||||
@ -105,20 +108,20 @@ endif
|
||||
|
||||
### Database extensions
|
||||
ifeq ($(BR2_PACKAGE_PHP_EXT_SQLITE),y)
|
||||
PHP_CONFIGURE+=--with-sql
|
||||
PHP_CONFIGURE+=--with-sqlite
|
||||
ifeq ($(BR2_PACKAGE_PHP_EXT_SQLITE_UTF8),y)
|
||||
PHP_CONFIGURE+=--enable-sqlite-utf8
|
||||
endif
|
||||
endif
|
||||
ifeq ($(BR2_PACKAGE_PHP_EXT_PDO),y)
|
||||
PHP_CONFIGURE+=--enable-pdo
|
||||
ifeq ($(BR2_PACKAGE_PHP_EXT_PDO_SQLITE),y)
|
||||
PHP_CONFIGURE+=--with-pdo-sqlite
|
||||
endif
|
||||
ifeq ($(BR2_PACKAGE_PHP_EXT_PDO_MYSQL),y)
|
||||
PHP_CONFIGURE+=--with-pdo-mysql
|
||||
PHP_CONFIGURE+=--with-pdo-mysql=$(STAGING_DIR)/usr
|
||||
PHP_DEPS+=mysql_client
|
||||
endif
|
||||
else
|
||||
PHP_CONFIGURE+=--without-pdo-sqlite
|
||||
endif
|
||||
|
||||
$(DL_DIR)/$(PHP_SOURCE):
|
||||
|
Loading…
Reference in New Issue
Block a user