X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage5%2Fpkg%2Fphp;h=083a13fe7d2840d8097f83fcd6c3349c0505ca57;hb=3a7d016a0246156de63a6f98bbf5be2e95230060;hp=60ed4408d4cb7b9f942a602df4b6e2673349a3b8;hpb=5f9f6fcac1961f4f1022a0f88600278ced439e1f;p=hvlinux.git diff --git a/stage5/pkg/php b/stage5/pkg/php index 60ed440..083a13f 100644 --- a/stage5/pkg/php +++ b/stage5/pkg/php @@ -7,11 +7,18 @@ hvconfig_pre() # your system). # Build directory doesn't work: - # gcc: Zend/zend_language_scanner.c: No such file or directory - CONFIGURE_OPTS=" \ - ${CONFIGURE_OPTS} \ - --with-apxs2 \ + # gcc: Zend/zend_language_scanner.c: No such file or directory + # --mandir: + # If not specified, php installs some man pages under /usr/php + # (phpize.1, php.1 and php-config.1) + 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 \ @@ -23,6 +30,7 @@ hvconfig_pre() --with-gettext \ --enable-mbstring \ --with-readline \ + --with-apxs2 \ --with-mysql=/usr \ --with-openssl=/usr \ --with-gd \ @@ -41,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