[omd-commits] OMD Git: omd: CentOS/PHP: Increased php memory limit on CentOS platforms to 64 MB

git version control git at mathias-kettner.de
Sat Dec 3 18:45:08 CET 2011


Module:   omd
Branch:   master
Commit:   a88822042978e19d6bd3ff45d01bef1bc1e3b6b8
URL:      http://omdistro.org/projects/omd/repository/revisions/a88822042978e19d6bd3ff45d01bef1bc1e3b6b8

Author:   Lars Michelsen <lm at mathias-kettner.de>
Date:     Sat Dec  3 18:45:02 2011 +0100
Commiter: Lars Michelsen <lm at mathias-kettner.de>
Date:     Sat Dec  3 18:45:02 2011 +0100

CentOS/PHP: Increased php memory limit on CentOS platforms to 64 MB

---

 Changelog                    |    1 +
 packages/apache-omd/Makefile |    2 +-
 2 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/Changelog b/Changelog
index 54c33e2..401ee6d 100644
--- a/Changelog
+++ b/Changelog
@@ -52,6 +52,7 @@ This file documents the revision history for the Open Monitoring Distribution
           - Ship own version of mailx alias nail as bin/mail
           - Allow line continuation in nagios config with BACKSLASH LF
           - Nagios: Skip emacs backup files while loading files from nagios.d directory
+          - Increased php memory limit on CentOS platforms to 64 MB
 
 0.50     Sep 20 2011
           - Check_MK: fix problem with playing sounds
diff --git a/packages/apache-omd/Makefile b/packages/apache-omd/Makefile
index 23b3ed1..7bad66b 100644
--- a/packages/apache-omd/Makefile
+++ b/packages/apache-omd/Makefile
@@ -43,7 +43,7 @@ install: $(APACHE_MODULES_INSTALL)
 skel:
 	if [ $(CENTOS_WORKAROUND) -eq 1 ]; then \
 		cp /etc/php.ini $(SKEL)/etc/apache/php.ini; \
-		echo -e "\n\n; OMD OMD OMD OMD OMD OMD\n\n[Session]\nsession.save_path=###ROOT###/tmp/php/session\nupload_tmp_dir=###ROOT###/tmp/php/upload\nsoap.wsdl_cache_dir=###ROOT###/tmp/php/wsdl-cache\n" >> $(SKEL)/etc/apache/php.ini; \
+		echo -e "\n\n; OMD OMD OMD OMD OMD OMD\n\nmemory_limit=64M\n\n[Session]\nsession.save_path=###ROOT###/tmp/php/session\nupload_tmp_dir=###ROOT###/tmp/php/upload\nsoap.wsdl_cache_dir=###ROOT###/tmp/php/wsdl-cache\n" >> $(SKEL)/etc/apache/php.ini; \
 	fi
 
 	# Replace macros



More information about the omd-commits mailing list