X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;ds=sidebyside;f=stage5%2Fpkg%2Fphp;h=083a13fe7d2840d8097f83fcd6c3349c0505ca57;hb=3a7d016a0246156de63a6f98bbf5be2e95230060;hp=9944ca0d6561538573a0ba98679b82aa0d7f5dae;hpb=7537c1f2f4728f09caee2c99f91c31ac426ed132;p=hvlinux.git diff --git a/stage5/pkg/php b/stage5/pkg/php index 9944ca0..083a13f 100644 --- a/stage5/pkg/php +++ b/stage5/pkg/php @@ -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