[Lunar-commits] <moonbase> php5: add mod_php option and fix php.ini install

Michael 'v4hn' Goerner v4hn at lunar-linux.org
Tue May 15 14:35:35 CEST 2012


commit e4ac2e8bba7d8628bbb813304d498bcc704e4d2e
Author: Richard Nespithal <richard at nespithal.com>
Date:   Tue May 15 14:35:35 2012 +0200

    php5: add mod_php option and fix php.ini install
---
 compilers/php5/DEPENDS      |    5 +++++
 compilers/php5/POST_INSTALL |    2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/compilers/php5/DEPENDS b/compilers/php5/DEPENDS
index 8c1b374..ae19179 100644
--- a/compilers/php5/DEPENDS
+++ b/compilers/php5/DEPENDS
@@ -1,6 +1,11 @@
 depends readline
 depends libxml2
 
+optional_depends "httpd" \
+		 "--with-apxs2 --disable-cli" \
+		 "" \
+		 "build httpd handler module"
+
 optional_depends "lighttpd" \
                  "--enable-fastcgi" \
                  "" \
diff --git a/compilers/php5/POST_INSTALL b/compilers/php5/POST_INSTALL
index ac7ac3d..c9fcafa 100644
--- a/compilers/php5/POST_INSTALL
+++ b/compilers/php5/POST_INSTALL
@@ -13,7 +13,7 @@ EOF
 fi
 
 if [ ! -e /etc/php.ini ] ; then
-  cp $SOURCE_DIRECTORY/php.ini-dist /etc/php.ini
+  cp $SOURCE_DIRECTORY/php.ini-production /etc/php.ini
 fi
 
 case  $REGGLOBALS  in


More information about the Lunar-commits mailing list