Browse Source

fix init script, use kill -9, set memory_limit to a higher value

Waldemar Brodkorb 11 years ago
parent
commit
2cdee9b21f
3 changed files with 3 additions and 3 deletions
  1. 1 1
      package/php/Makefile
  2. 1 1
      package/php/files/php.ini
  3. 1 1
      package/php/files/php.init

+ 1 - 1
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

+ 1 - 1
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)
 
 
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

+ 1 - 1
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