Andrea: Yes, you are correct, that should work. I wasn't debating that.
If you installed phpmyadmin from the repositories, phpmyadmin calls php
files from /etc/phpmyadmin and /var/lib/phpmyadmin also, as well as
/usr/share/phpmyadmin. phpmyadmin will work without adding those 2
directories into open_basedir, but it breaks some functionality of
phpmyadmin (notice some warning messages at the bottom of the phpmyadmin
index page?). You can check those 2 directories to verify there's php
files inside of them. :)

I also added the note that my test wasn't exactly like yours (and
therefore your issue could still be a bug) because I wasn't using mine
as a prefix (as your issue stated you were doing), even though I removed
the trailing slashes. ;)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/701765

Title:
  open_basedir breaks by restricting paths to files that should be
  allowed; Unknown: Failed opening required
  '/usr/share/phpmyadmin/index.php' (include_path='.') in Unknown on
  line 0

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to