X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage5%2Fpkg%2Fphp;h=083a13fe7d2840d8097f83fcd6c3349c0505ca57;hb=4e78d26dd7f5e46a21cdc916e031f1b4a68578c0;hp=0c0fed3fcb0d409d0a2f8f6ec53e663593862ec1;hpb=4d9d4f3152a7f6d6937542899ed6ec726bca5802;p=hvlinux.git diff --git a/stage5/pkg/php b/stage5/pkg/php index 0c0fed3..083a13f 100644 --- a/stage5/pkg/php +++ b/stage5/pkg/php @@ -11,11 +11,14 @@ hvconfig_pre() # --mandir: # If not specified, php installs some man pages under /usr/php # (phpize.1, php.1 and php-config.1) - CONFIGURE_OPTS=" \ - ${CONFIGURE_OPTS} \ - --with-apxs2 \ - --with-config-file-path=/etc \ + CONFIGURE_OPTS+=" \ + --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 \ @@ -27,6 +30,7 @@ hvconfig_pre() --with-gettext \ --enable-mbstring \ --with-readline \ + --with-apxs2 \ --with-mysql=/usr \ --with-openssl=/usr \ --with-gd \ @@ -45,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