fix wordpress install script max php memory

This commit is contained in:
Arnaud Lier 2025-02-18 18:00:53 +01:00
parent 305c1a3780
commit a7fe224b1a
2 changed files with 4 additions and 2 deletions

View file

@ -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 ;

View file

@ -1,5 +1,7 @@
#!/bin/sh
set -e
if [ ! -e '/var/www/wordpress/wp-config.php' ]; then
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
fi
exec php-fpm84 --nodaemonize
exec php-fpm84 --nodaemonize