Menu

#4325 "/setup" scripts can't read/write symlinked files

4.1.9
wont-fix
nobody
Normal
2015-05-08
2014-03-14
Max13
No

Hi,

I've just updated my local instance from 4.0.9 to 4.1.9, and I've noticed that the "/setup" scripts can't load my symlinked config file anymore (It could in 4.0.9) showing "There are no configured servers".

Here is my directory tree:

/phpMyAdmin-4.1.9-english
|-- ...
|-- /config
|   +-- config.inc.php
|
|-- config.inc.php (symlink to /config/config.inc.php)
+-- ...

On 4.0.9, I was able to load my config file, make changes, save it and being able to use phpMyAdmin without trouble (except red message telling me it's unsafe, but I don't care, it's local).

Now on 4.1.9 it seems that PMA can't load my config. When I copy config.inc.php from /config to / it seems to work. I've done some tests, and it seems that PMA is loading config from the root directory and is saving it to the config dir, and isn't able to read/write symlinked files. While on 4.0.9 I think it loads/saves in the config dir.

Is it a bug (not to be able to read/write symlink files) or is it a feature and I will have to copy/paste my files from/back the config directory from now ?

Discussion

  • Marc Delisle

    Marc Delisle - 2015-05-08

    I am not able to make this work on 4.0.9 either. This is not a supported configuration.

     
  • Marc Delisle

    Marc Delisle - 2015-05-08
    • status: open --> wont-fix