3

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)

Community
  • 1
  • 1
vitiral
  • 7,266
  • 5
  • 24
  • 40
  • "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 Dec 10 '15 at 21:54

0 Answers0