Upgrade to libwnck-3.14.0
[hvlinux.git] / stage5 / pkg / php
index 9944ca0..083a13f 100644 (file)
@@ -12,9 +12,13 @@ hvconfig_pre()
     #   If not specified, php installs some man pages under /usr/php
     #   (phpize.1, php.1 and php-config.1)
     CONFIGURE_OPTS+=" \
-        --with-apxs2 \
-        --with-config-file-path=/etc \
+        --localstatedir=/var \
+        --datadir=/usr/share/php \
         --mandir=/usr/share/man \
+        --with-config-file-path=/etc \
+        --enable-fpm \
+        --with-fpm-user=${HTTPD_USER} \
+        --with-fpm-group=${HTTPD_USER} \
         --with-zlib \
         --enable-bcmath \
         --with-bz2 \
@@ -26,6 +30,7 @@ hvconfig_pre()
         --with-gettext \
         --enable-mbstring \
         --with-readline \
+        --with-apxs2 \
         --with-mysql=/usr \
         --with-openssl=/usr \
         --with-gd \
@@ -44,7 +49,7 @@ hvbuild_post()
     if [ -f /etc/php.ini ]; then
         cp /etc/php.ini /etc/php.ini.old
     fi
-    cp ${LFS_TMP}/${PACKAGE}/php.ini-production /etc/php.ini
+    cp ${SRC_DIR}/php.ini-production /etc/php.ini
 
     if [ "x${USE_HTTPD}" = "xyes" ]; then
         # To enable PHP support in the Apache web server, a new AddType