Welcome Guest, Not a member yet? Register   Sign In
Permission denied file_get_contents
#1

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?
Reply
#2

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 )
Reply
#3

(This post was last modified: 12-14-2021, 06:04 AM by omid_student.)

The problem was solved with below command in Centos 7:
setsebool -P httpd_can_network_connect on
Reply
#4

Thanks, glad you got it working.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply
#5

(12-15-2021, 01:32 AM)InsiteFX Wrote: Thanks, glad you got it working.

Thanks
Reply




Theme © iAndrew 2016 - Forum software by © MyBB