fix wordpress install script max php memory
This commit is contained in:
parent
305c1a3780
commit
a7fe224b1a
2 changed files with 4 additions and 2 deletions
|
@ -432,7 +432,7 @@ max_input_time = 60
|
|||
|
||||
; Maximum amount of memory a script may consume
|
||||
; https://php.net/memory-limit
|
||||
memory_limit = 128M
|
||||
memory_limit = 2G
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
; Error handling and logging ;
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
if [ ! -e '/var/www/wordpress/wp-config.php' ]; then
|
||||
wp core download --path=/var/www/wordpress
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue