Fix #342 phpMyAdmin config permission error

This commit is contained in:
cytopia 2018-08-09 23:01:33 +02:00
parent 54aa508b11
commit 0e25ca5584
No known key found for this signature in database
GPG Key ID: 6D56EDB8695128A2
3 changed files with 20 additions and 0 deletions

View File

@ -15,6 +15,8 @@
* cookie. Needs to be 32 chars long. * cookie. Needs to be 32 chars long.
*/ */
$cfg['blowfish_secret'] = 'GObO60^(04#^5637%fdUGo(*6$%6#dy4'; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */ $cfg['blowfish_secret'] = 'GObO60^(04#^5637%fdUGo(*6$%6#dy4'; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */
$cfg['CheckConfigurationPermissions'] = false;
/** /**
* Servers configuration * Servers configuration

View File

@ -14,6 +14,8 @@
* Custom overwrites * Custom overwrites
*/ */
$cfg['TempDir'] = '/tmp'; $cfg['TempDir'] = '/tmp';
$cfg['CheckConfigurationPermissions'] = false;
/** /**
* This is needed for cookie based authentication to encrypt password in * This is needed for cookie based authentication to encrypt password in

View File

@ -21,3 +21,19 @@ Please see [ROADMAP](https://github.com/cytopia/devilbox/issues/23) for what is
* [ ] Better layout * [ ] Better layout
* [ ] Better logos * [ ] Better logos
* [ ] Try to remove as much vendor dependencies as possible * [ ] Try to remove as much vendor dependencies as possible
## Updating Vendors
#### phpMyAdmin
The following settings must be applied to `config.inc.php`:
```php
<?php
$cfg['TempDir'] = '/tmp';
$cfg['CheckConfigurationPermissions'] = false;
$cfg['blowfish_secret'] = 'add whatever value here';
$cfg['Servers'][$i]['host'] = 'mysql';
$cfg['Servers'][$i]['AllowNoPassword'] = true;
```