I get the following warning when using PHPass ( http://www.openwall.com/phpass/ ):
open_basedir restriction in effect. File(/dev/urandom) is not within the allowed path(s)
Although this is not a big problem (it will return to something else), I would not want this warning. The PHP application must run on different servers, some users will be able to add this path to the allowed open_basedir paths, but others will not have access to this configuration.
My first assumption was to check readability with is_readable() , however, I still get a warning.
Question: How to check if a specific path or file has been added to the open_basedir path?
php phpass open-basedir
TS
source share