You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Load all environment variables from 'attributes.sh' using the command 'source /path/attributes.sh'
6
6
source"docker/attributes.sh"
7
7
8
-
# This condition creates the Unix socket if 'php-fpm7.sock' does not already exist.
8
+
# This condition creates the Unix socket if 'php-fpm8.sock' does not already exist.
9
9
# This fixes an issue where Nginx starts but does not serve content
10
-
if [ !-d"/run/php7" ] || [ !-S"/run/php7/php-fpm7.sock" ];then
11
-
mkdir "/run/php7"
12
-
touch "/run/php7/php-fpm7.sock"
13
-
chmod 660 "/run/php7/php-fpm7.sock"
14
-
chown nginx:nginx "/run/php7/php-fpm7.sock"
10
+
if [ !-d"/run/php8" ] || [ !-S"/run/php8/php-fpm8.sock" ];then
11
+
mkdir "/run/php8"
12
+
touch "/run/php8/php-fpm8.sock"
13
+
chmod 660 "/run/php8/php-fpm8.sock"
14
+
chown nginx:nginx "/run/php8/php-fpm8.sock"
15
15
fi
16
16
17
17
# The lines below will replace the environment variables in the templates with the corresponding variables listed above. To accomplish this, the GNU 'envsubst' package will be used
0 commit comments