added php.ini

This commit is contained in:
Olaf Rempel 2006-11-05 17:38:21 +01:00
parent f85ff93311
commit 9ee82b3c5f
1 changed files with 7 additions and 1 deletions

View File

@ -144,6 +144,7 @@ $(_BUILD_APACHE2_BACKEND_PHP)/.configured: $(SOURCE_PHP4)/.unpacked $(_BUILD_APA
$(SOURCE_PHP4)/configure \
--prefix=$(DESTDIR)/apache2-backend-php/ \
--with-apxs2=$(DESTDIR)/apache2-backend/bin/apxs \
--with-config-file-path=/etc/apache2-be/
--disable-cli \
--disable-cgi \
--with-layout=GNU \
@ -165,9 +166,13 @@ $(_BUILD_APACHE2_BACKEND_PHP)/.compiled: $(_BUILD_APACHE2_BACKEND_PHP)/.configur
$(_BUILD_APACHE2_BACKEND_PHP)/.installed: $(_BUILD_APACHE2_BACKEND_PHP)/.compiled
make -C $(_BUILD_APACHE2_BACKEND_PHP) install
# copy default php.ini
cp $(_BUILD_APACHE2_BACKEND_PHP)/php.ini-dist /etc/apache2-be/php.ini
# set extension-dir
sed -i /etc/apache2-be/php.ini \
-e 's:^extension_dir.*$:extension_dir = /opt/apache2-backend-php/lib/php/20020429/:'
touch $@
$(SOURCE_EACCELERATOR)/.configured: $(SOURCE_EACCELERATOR)/.unpacked $(_BUILD_APACHE2_BACKEND_PHP)/.installed
( cd $(SOURCE_EACCELERATOR); \
$(DESTDIR)/apache2-backend-php/bin/phpize; \
@ -183,6 +188,7 @@ $(SOURCE_EACCELERATOR)/.compiled: $(SOURCE_EACCELERATOR)/.configured
$(SOURCE_EACCELERATOR)/.installed: $(SOURCE_EACCELERATOR)/.compiled
make -C $(SOURCE_EACCELERATOR) install
cp $(SOURCE_EACCELERATOR)/eaccelerator.ini /etc/apache2-be/
touch $@
apache2-be-clean: