Skip to content

Commit 217e434

Browse files
authored
change name and path for php-fpm pool conf (#57)
1 parent 9e4ed0a commit 217e434

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ ROOT_PROFILE="/root/.bash_profile"
4747
PHPVER=7.2
4848
PHP_INI=/etc/php/"$PHPVER"/fpm/php.ini
4949
PHP_POOL_DIR=/etc/php/"$PHPVER"/fpm/pool.d
50-
PHP_FPM_SOCK=/var/run/php"$PHPVER"-fpm-wordpress.sock
50+
PHP_FPM_SOCK=/var/run//php/php"$PHPVER"-fpm-wordpress.sock
5151

5252
# MARIADB
5353
SHUF=$(shuf -i 25-29 -n 1)

wordpress_install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ echo "</IfModule>"
384384
} >> $WPATH/.htaccess
385385

386386
# Set up a php-fpm pool with a unixsocket
387-
cat << POOL_CONF > "$PHP_POOL_DIR/www_wordpress.conf"
387+
cat << POOL_CONF > "$PHP_POOL_DIR/Wordpress.conf"
388388
[www_wordpress]
389389
user = www-data
390390
group = www-data

0 commit comments

Comments
 (0)