May 23, 2013, 23:24:01
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Search
Login
Register
URD Forum
>
General Category
>
Technical Problems
>
open_basedir
Pages: [
1
]
« previous
next »
Print
Author
Topic: open_basedir (Read 14 times)
kram
Posts: 2
open_basedir
«
on:
May 15, 2013, 19:14:59 »
from php.ini:
open_basedir = /srv/http/:/home/:/tmp/:/usr/share/pear/:/usr/share/webapps/:/usr/share/php/:/dev/:
my URD is in /srv/http/urd
during URD startup:
If the open_basedir variable is set in /etc/php/php.ini URD might not work properly.
I dont get it? Can I have a more detailed error/warning? Does open_basedir need to be set in another config file? Where? Does it need to point to /srv/http/urd?
using arch linux
Thanks
Logged
spearhead
Administrator
Posts: 1038
Re: open_basedir
«
Reply #1 on:
May 15, 2013, 19:34:23 »
I never use open_basedir. However from the php documentation I gather you'd also need to include the download directory in the open_basedir statement.
Logged
kram
Posts: 2
Re: open_basedir
«
Reply #2 on:
May 15, 2013, 20:27:04 »
Thanks for the quick reply!
I am fine with not using open_basedir, but just in case I need to get it working, is there a step in the setup that allows me to point to the download dir or will I have to manually edit a .conf file?
Also then will there be a status screen that can tell me if the open_basedir is working after that setting and the permissions have been adjusted?
Logged
spearhead
Administrator
Posts: 1038
Re: open_basedir
«
Reply #3 on:
May 15, 2013, 22:07:20 »
In the installation the download dir is one of the options you'd have to fill in. Or you can set it afterwards under admin/confic/URD Daemon. This however will not change the open_basedir settings of php in any way. You'd have to fix the open_basedir settings manually by editting the php.ini file. The installer only checks if this value is blank (which means no restrictions) for the moment. The URD daemon will check at startup if it has access to all the directories it needs and if not, stops with an error (log file is in /tmp/urdd.log).
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> General Discussion
=> Recruitment
=> Technical Problems
=> Features
Loading...