modphp: enable bz2, zip and mbstring
authorEric Bénard <eric@eukrea.com>
Sun, 25 Nov 2012 17:25:07 +0000 (18:25 +0100)
committerPatrick Ohly <patrick.ohly@intel.com>
Fri, 9 Jan 2015 16:24:48 +0000 (08:24 -0800)
- bz2 and zip remove warnings in phpmyadmin
- mbstring is usefull for multibyte strings

(From meta-openembedded rev: 9439d8132a0f936dfb7cefb73fa0a1c582826e4b)

Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
meta-openembedded/meta-webserver/recipes-php/modphp/modphp5.inc
meta-openembedded/meta-webserver/recipes-php/modphp/modphp_5.3.19.bb

index 1db85bf..3302936 100644 (file)
@@ -1,7 +1,7 @@
 SECTION = "console/network"
 DESCRIPTION = "A server-side, HTML-embedded scripting language. This package provides the apache php module."
 LICENSE = "PHP-3.0"
-DEPENDS = "apache2-native apache2 zlib"
+DEPENDS = "apache2-native apache2 zlib bzip2"
 
 SRC_URI = "http://www.php.net/distributions/php-${PV}.tar.bz2 \
            file://configure.patch \
@@ -36,6 +36,9 @@ EXTRA_OECONF = "--with-apxs2=${STAGING_BINDIR_CROSS}/apxs \
                 --disable-rpath \
                 --libdir=${libdir}/php5 \
                 --with-zlib --with-zlib-dir=${STAGING_DIR_TARGET}${exec_prefix} \
+                --with-bz2=${STAGING_DIR_TARGET}${exec_prefix} \
+                --enable-zip \
+                --enable-mbstring \
                 --with-config-file-path=${sysconfdir}/php/apache2-php5"
 
 PACKAGECONFIG ??= ""
index 56599d6..ecc6e86 100644 (file)
@@ -1,5 +1,5 @@
 include modphp5.inc
-PR = "r0"
+PR = "r1"
 
 SRC_URI[md5sum] = "e1d2a3ec7849d4b3032bd1abf1916aa4"
 SRC_URI[sha256sum] = "814ce55b950158c4ddadbcd0b2d7d8cb4b570de4a29b9db021020594e2469fd6"