Closed bikong0411 closed 7 years ago
The issue is because SELinux is preventing read access to the file you are trying to access,
use restorecon /home/user/webroot/site/application/model/v2/index.php
to restore access to the file
Hope this helps
Use --tmp-dir
to a path that SELinux does not block access to.
Feel free to reopen if the issue still persists
I had the same problem, I tried to run
docker run --t -v .:/project php
when I tried to do
/project:$ php file.php
I got this error.
Apparently, you can't use bound volumes from docker that easily. So I copied the volume inside the container, and used a copy.
docker run --t -v .:/project php
/project:$ cd ..
/:$ cp -r /project /project2
/:$ cd /project2
/project2: $ php file.php
and it worked.
hello, when i use cachetools reset opcache in php7 environoment ,sometimes i got a php-error:
i use codeigniter web framework, can you help me solve this problem?
opcache last restart time:
| Last restart time | Tue, 25 Oct 2016 16:20:45 +0000 |
opcache setting: