Skip to content

Commit 8a3f182

Browse files
committed
Change chown to www-data
The $APACHE_* environment variables went away when this image moved to the php:apache base image. Fixes WordPress#20.
1 parent 958fe02 commit 8a3f182

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker-entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,6 @@ if (!$mysql->query('CREATE DATABASE IF NOT EXISTS `' . $mysql->real_escape_strin
114114
$mysql->close();
115115
EOPHP
116116

117-
chown -R "$APACHE_RUN_USER:$APACHE_RUN_GROUP" .
117+
chown -R www-data:www-data .
118118

119119
exec "$@"

0 commit comments

Comments
 (0)