From a547e19a81e1ca84d3ae67402b6480d0df815f6c Mon Sep 17 00:00:00 2001 From: Daniel Hansson Date: Sat, 12 Oct 2019 16:46:33 +0200 Subject: [PATCH 1/2] change name and path for php-fpm pool conf --- wordpress_install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wordpress_install.sh b/wordpress_install.sh index dc4412d..381d4da 100644 --- a/wordpress_install.sh +++ b/wordpress_install.sh @@ -384,7 +384,7 @@ echo "" } >> $WPATH/.htaccess # Set up a php-fpm pool with a unixsocket -cat << POOL_CONF > "$PHP_POOL_DIR/www_wordpress.conf" +cat << POOL_CONF > "$PHP_POOL_DIR/Wordpress.conf" [www_wordpress] user = www-data group = www-data From 6592b1b092831d8089a8d57fe967ce33f01bff63 Mon Sep 17 00:00:00 2001 From: Daniel Hansson Date: Sat, 12 Oct 2019 16:48:28 +0200 Subject: [PATCH 2/2] Update lib.sh --- lib.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib.sh b/lib.sh index 905d69a..4cc0e0b 100644 --- a/lib.sh +++ b/lib.sh @@ -47,7 +47,7 @@ ROOT_PROFILE="/root/.bash_profile" PHPVER=7.2 PHP_INI=/etc/php/"$PHPVER"/fpm/php.ini PHP_POOL_DIR=/etc/php/"$PHPVER"/fpm/pool.d -PHP_FPM_SOCK=/var/run/php"$PHPVER"-fpm-wordpress.sock +PHP_FPM_SOCK=/var/run//php/php"$PHPVER"-fpm-wordpress.sock # MARIADB SHUF=$(shuf -i 25-29 -n 1)