Quantcast
Channel: PHP Warning: Unknown: failed to open stream - Stack Overflow
Viewing all articles
Browse latest Browse all 19

Answer by carlwang for PHP Warning: Unknown: failed to open stream

$
0
0

It is a SELinux blocking issue, Linux prevented httpd access. Here is the solution:

# restorecon '/var/www/html/wiki/index.php'# restorecon -R '/var/www/html/wiki/index.php'# /sbin/restorecon '/var/www/html/wiki/index.php'

Viewing all articles
Browse latest Browse all 19

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>