diff --git a/deps-packaging/php/cfbuild-php.spec b/deps-packaging/php/cfbuild-php.spec index 6fba08bb7..8a5c5f0b1 100644 --- a/deps-packaging/php/cfbuild-php.spec +++ b/deps-packaging/php/cfbuild-php.spec @@ -111,6 +111,7 @@ make %install rm -rf ${RPM_BUILD_ROOT} mkdir -p ${RPM_BUILD_ROOT}%{prefix}/httpd/conf +mkdir -p ${RPM_BUILD_ROOT}%{PREFIX}/httpd/php/etc cp %{prefix}/httpd/conf/httpd.conf ${RPM_BUILD_ROOT}%{prefix}/httpd/conf cp ${RPM_BUILD_ROOT}/../../SOURCES/php-fpm.conf ${RPM_BUILD_ROOT}%{prefix}/httpd/php/etc diff --git a/deps-packaging/php/debian/rules b/deps-packaging/php/debian/rules index aa454077b..22a305053 100755 --- a/deps-packaging/php/debian/rules +++ b/deps-packaging/php/debian/rules @@ -93,6 +93,7 @@ install: build dh_installdirs mkdir -p $(CURDIR)/debian/tmp$(PREFIX)/httpd/conf + mkdir -p $(CURDIR)/debian/tmp$(PREFIX)/httpd/php/etc cp $(PREFIX)/httpd/conf/httpd.conf $(CURDIR)/debian/tmp$(PREFIX)/httpd/conf/httpd.conf cp $(CURDIR)/php-fpm.conf $(CURDIR)/debian/tmp$(PREFIX)/httpd/php/etc/