From 2cdee9b21fe0ff3892b7796f3868930e94621c4e Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Tue, 29 Oct 2013 14:23:16 +0100 Subject: fix init script, use kill -9, set memory_limit to a higher value --- package/php/Makefile | 2 +- package/php/files/php.ini | 2 +- package/php/files/php.init | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'package/php') diff --git a/package/php/Makefile b/package/php/Makefile index 64bf3c013..7742b874b 100644 --- a/package/php/Makefile +++ b/package/php/Makefile @@ -5,7 +5,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:= php PKG_VERSION:= 5.4.19 -PKG_RELEASE:= 1 +PKG_RELEASE:= 2 PKG_MD5SUM:= 9e7ad2494ba3de519328f74267de8342 PKG_DESCR:= PHP language interpreter PKG_SECTION:= lang diff --git a/package/php/files/php.ini b/package/php/files/php.ini index c9b395ac1..3a5172b3c 100644 --- a/package/php/files/php.ini +++ b/package/php/files/php.ini @@ -53,7 +53,7 @@ expose_php = On max_execution_time = 30 ; Maximum execution time of each script, in seconds max_input_time = 60 ; Maximum amount of time each script may spend parsing request data -memory_limit = 8M ; Maximum amount of memory a script may consume (8MB) +memory_limit = 32M ; Maximum amount of memory a script may consume (8MB) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; diff --git a/package/php/files/php.init b/package/php/files/php.init index 210db4ad8..6d566d960 100644 --- a/package/php/files/php.init +++ b/package/php/files/php.init @@ -15,7 +15,7 @@ start) /usr/bin/php ${php_flags} & ;; stop) - kill $(pgrep -f /usr/bin/php) + for i in $(pgrep -f /usr/bin/php);do kill -9 $i;done ;; restart) sh $0 stop -- cgit v1.2.3