Faced a very strange PHP behavior (although it may not be the case).
The script does not see (or does not have access) to files and directories located outside the directory in which the script itself is located. This behavior is observed only on the server, on lokalke everything works as it should.
The rights to the catalogs exhibited to allow everything and everyone , but it did not help.
I sin on some PHP or Apache settings, but I don’t know what to look for.
Tell me where to dig?
Server - Debian 8
PHP version 5.6.24.