You are not logged in.
Hello,
I am using Nginx + PHP-FPM bundle for PHP development, recently I wanted to install phpMyAdmin for MySQL administration.
I added the virtual host for phpMyAdmin to the Nginx configuration but it didn't work. After several minutes of researching the log and configuration files I figured out that the problem is the open_basedir directive in /etc/php.ini configuration file:
; open_basedir, if set, limits all file operations to the defined directory
; and below. This directive makes most sense if used in a per-directory
; or per-virtualhost web server configuration file. This directive is
; *NOT* affected by whether Safe Mode is turned On or Off.
; http://php.net/open-basedir
open_basedir = /srv/http/:/home/:/tmp/:/usr/share/pear/The thing is that the "phpmyadmin" package installs itself to the /usr/share/webapps/phpMyAdmin directory, which is not mentioned in the "open_basedir".
Please patch it, to be something like this:
open_basedir = /srv/http/:/home/:/tmp/:/usr/share/pear/:/usr/share/webapps/Thanks.
Added:
I think this was not the correct subforum for this issue, sorry, can't fix it.
Last edited by arch_archer (2011-03-02 20:30:01)
Offline
Added:
I think this was not the correct subforum for this issue, sorry, can't fix it.
No-where in the forums is the right place for this. Bugs belong in the Bug Tracker. You're unlikely to get any response to the issue here.
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
No-where in the forums is the right place for this. Bugs belong in the Bug Tracker. You're unlikely to get any response to the issue here.
OK, thank you.
Added:
Here: https://bugs.archlinux.org/task/23108
Last edited by arch_archer (2011-03-02 22:24:40)
Offline