Skip to content

Commit 0512d0c

Browse files
authored
Update run.sh
when I start the phpMyAdmin Container, I got the below error phpMyAdmin - Error Failed to load phpMyAdmin configuration (./../etc/phpmyadmin/config.inc.php:3): require(): Failed opening required '/etc/phpmyadmin/config.secret.inc.php' (include_path='.:/usr/local/lib/php') I found the access right of the config.secret.inc.php is not correct, I added the below cmd in run.sh, then build the image, It can work chmod 644 /etc/phpmyadmin/*
1 parent 17003cc commit 0512d0c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

run.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,6 @@ chown nobody:nogroup /var/run/php/
1717
touch /var/log/php-fpm.log
1818
chown nobody:nogroup /var/log/php-fpm.log
1919

20+
chmod 644 /etc/phpmyadmin/*
21+
2022
exec "$@"

0 commit comments

Comments
 (0)