| Summary: | Phpmyadmin /etc/phpmyadmin/config.inc.php is ignored because of missing definition in vendor_config.php | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Raphael Gertz <mageia> |
| Component: | RPM Packages | Assignee: | Mageia Bug Squad <bugsquad> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | ||
| Version: | Cauldron | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | phpmyadmin-4.6.3-1.mga6.src.rpm | CVE: | |
| Status comment: | |||
Fixed in phpmyadmin-4.6.4-2.mga6. Thanks for the report. Status:
NEW =>
RESOLVED |
Description of problem: Phpmyadmin configuration in /etc/phpmyadmin/config.inc.php is ignored for example if we put AllowNoPassword to true in it or a die('should die here'); To fix bug, you need to patch the following file : /usr/share/phpmyadmin/libraries/vendor_config.php And replace this line 49 : define('CONFIG_DIR', ''); With : define('CONFIG_DIR', '/etc/phpmyadmin/'); Version-Release number of selected component (if applicable): phpmyadmin-4.6.3-1.mga6 How reproducible: Always Steps to Reproduce: 1. urpmi phpmyadmin 2. vim /etc/phpmyadmin/config.inc.php + add die('should die here'); 3. http://localhost/phpmyadmin/ don't die