Skip to content

phpmyadmin error - 'Wrong permissions on configuration file, should not be world writable!' #342

@richardcantwell

Description

@richardcantwell

ISSUE TYPE

  • Bug Report

OS / ENVIRONMENT

  1. Host operating system: Windows 10
  2. Native Docker or Docker Toolbox: Native
  3. Docker version: 18.06.0-ce-win72 (19098)
  4. Docker Compose version: 1.22.0
  5. What containers are running: devilbox_mysql_1, devilbox_httpd_1, devilbox_php_1, devilbox_bind_1
  6. Container versions:

SUMMARY

Fresh install then when i go to http://127.0.0.1:8080/vendor/phpmyadmin-4.8/index.php from the Intranet tab (http://127.0.0.1:8080), i get 'Wrong permissions on configuration file, should not be world writable!'

STEPS TO REPRODUCE

EXPECTED BEHAVIOUR

PHPMyadmin to show login screen

ACTUAL BEHAVIOUR

'Wrong permissions on configuration file, should not be world writable!'

OTHER INFORMATION

No - straight forward 5 minute install.

on some forums i see some people suggested adding a setting in '/var/www/default/htdocs/vendor/phpmyadmin-4.8' of ...

$cfg['CheckConfigurationPermissions'] = false;

I tried to do this by sudo logging into my PHP container ..

sudo su -
cd /var/www/default/htdocs/vendor/phpmyadmin-4.8
chmod 755 config.inc.php
vi config.inc.php

.... but all this directory is 'read only' .. so i couldn't test whether this works.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions