Permission denied file_get_contents |
Hi,
I have a WebSocket service on my server And I try to use that with file_get_contents But when I run it, occur the error permission denied You can see here http://185.211.58.96/welcome/test What is the problem?
Check the folder and file permissions on your server. Also try starting ob_start() first some times that helps.
What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
The problem was solved with below command in Centos 7:
setsebool -P httpd_can_network_connect on
Thanks, glad you got it working.
What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
|
Welcome Guest, Not a member yet? Register Sign In |