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
|
; Maximum amount of memory a script may consume
|
||||||
; https://php.net/memory-limit
|
; https://php.net/memory-limit
|
||||||
memory_limit = 128M
|
memory_limit = 2G
|
||||||
|
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
; Error handling and logging ;
|
; Error handling and logging ;
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
if [ ! -e '/var/www/wordpress/wp-config.php' ]; then
|
if [ ! -e '/var/www/wordpress/wp-config.php' ]; then
|
||||||
wp core download --path=/var/www/wordpress
|
wp core download --path=/var/www/wordpress
|
||||||
|
|
||||||
|
@ -18,4 +20,4 @@ if [ ! -e '/var/www/wordpress/wp-config.php' ]; then
|
||||||
wp user create bob bob@example.org
|
wp user create bob bob@example.org
|
||||||
fi
|
fi
|
||||||
|
|
||||||
exec php-fpm84 --nodaemonize
|
exec php-fpm84 --nodaemonize
|
||||||
|
|
Loading…
Add table
Reference in a new issue