Skip to content

Conversation

@baotongshi
Copy link
Contributor

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/*

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/*
@baotongshi baotongshi changed the title Update run.sh modify the /etc/phpmyadmin/* file's access right Aug 30, 2018
@nijel nijel merged commit f01edde into phpmyadmin:master Sep 1, 2018
@nijel
Copy link
Contributor

nijel commented Sep 1, 2018

Merged, thanks for your contribution!

@nijel nijel self-assigned this Sep 1, 2018
@mlopezcoria
Copy link

I had the same issue with phpmyadmin docker image v5.2.1 'Failed opening required /etc/phpmyadmin/config.secret.inc.php.
I solved it by creating 'by hand' as root this file:
touch /etc/phpmyadmin/config.secret.inc.php

@williamdes
Copy link
Member

I had the same issue with phpmyadmin docker image v5.2.1 'Failed opening required /etc/phpmyadmin/config.secret.inc.php. I solved it by creating 'by hand' as root this file: touch /etc/phpmyadmin/config.secret.inc.php

Please open a new issue with your docker-compose file, it's most probably an issue with permissions of the file you mounted

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants