4

I am running the latest Arch Linux

I have looked at topics like these:

Those suggest editing the php.ini, adding the directories I need onto open_basedir. I have tried commenting out open_basedir entirely and this works but I am worried about the security implications.

How do I find which file I need to add to open_basedir?

Currently I have:

open_basedir = /srv/http/:/home/:/tmp/:/usr/share/pear/:/usr/share/webapps/

Edit for people looking at this: I looked at a co-workers ubuntu ini file, and he has the open_basedir expression in there -- so it must be just poorly written (i.e. does not support safe operations)

2
  • 1
    "me too", i.e. I have the same problem and the only workaround I found within reasonable time was to disable open_basedir entirely (i.e. comment it out in php.ini)
    – mnagel
    Commented Dec 10, 2015 at 21:54
  • This question is not about Arch Linux and it's valid for any other operating system in the world. I can suggest to remove the Tag #archlinux Commented Jun 26, 2023 at 13:00

1 Answer 1

1

Many users over the years tried to install Phabricator on broken popular hosting environments, so a limitation was introduced to reduce the amount of spammy bug reports from these users:

https://we.phorge.it/rP105be01d5f74f4fdff39801bd7551b758c350eef

In short, no. Open Basedir is not supported.

There is a Task about that topic, opened in 2021, and set to very minimum priority:

https://we.phorge.it/T15065

So I can only suggest to disable that limitation for the virtualhost of your Phabricator in the meanwhile. Or, join that Task and share your positive experience with that limitation enabled, and how you fixed the related problems.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.