2024. 7. 15. 13:56

SELINUX=disabled

[Mon Jul 15 00:50:07.614952 2024] [:error] [pid 29934] [client 58.225.49.19:59579] PHP Warning:  Unknown: failed to open stream: Permission denied in Unknown on line 0
[Mon Jul 15 00:50:07.614993 2024] [:error] [pid 29934] [client 58.225.49.19:59579] PHP Fatal error:  Unknown: Failed opening required '/var/www/html/phpinfo.php' (include_path='.:/usr/share/pear:/usr/share/php') in Unk

 

 

 

chmod -R 777 <폴더>  이거 해도 계속 오류..

 

# cat /etc/selinux/config | grep disabled
#     disabled - No SELinux policy is loaded.
SELINUX=disabled

 

KBK의 도움으로 처리~ Thangks BK