You are not logged in.

#1 2011-03-02 20:16:59

arch_archer
Member
Registered: 2010-05-19
Posts: 19

PHP's php.ini open_basedir

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

#2 2011-03-02 22:04:53

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,237
Website

Re: PHP's php.ini open_basedir

arch_archer wrote:

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.

Offline

#3 2011-03-02 22:18:50

arch_archer
Member
Registered: 2010-05-19
Posts: 19

Re: PHP's php.ini open_basedir

fukawi2 wrote:

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

Board footer

Powered by FluxBB